public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: binutils@sources.redhat.com
Subject: s390 gas bug.
Date: Fri, 18 Oct 2002 01:02:00 -0000	[thread overview]
Message-ID: <200210181000.49418.schwidefsky@de.ibm.com> (raw)

Hi
I just checked in a small bug fix for the s390 assembler. The biarch switch
-m31 sets s390_arch_size to 31 instead of 32. This caused the relocation
for _GLOBAL_OFFSET_TABLE_ to go wrong for biarch compiles.

blue skies,
  Martin.


2002-10-18  Urlich Weigand  <uweigand@de.ibm.com>

	* config/tc-s390.c (md_parse_option): Set s390_arch_size to 32
	for option -m31.


Index: tc-s390.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-s390.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- tc-s390.c	5 Sep 2002 00:01:18 -0000	1.21
+++ tc-s390.c	18 Oct 2002 07:30:06 -0000	1.22
@@ -375,7 +375,7 @@
 	warn_areg_zero = TRUE;
 
       else if (arg != NULL && strcmp (arg, "31") == 0)
-	s390_arch_size = 31;
+	s390_arch_size = 32;
 
       else if (arg != NULL && strcmp (arg, "64") == 0)
 	s390_arch_size = 64;

             reply	other threads:[~2002-10-18  8:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-18  1:02 Martin Schwidefsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-10-31 10:57 Martin Schwidefsky
2001-10-04  6:21 Martin Schwidefsky
2001-10-04  4:35 Martin Schwidefsky
2001-10-04  6:04 ` Alan Modra
2001-10-14  2:48   ` Andreas Jaeger
2001-10-02  6:58 Martin Schwidefsky
2001-10-02  7:34 ` Alan Modra
2001-10-02  5:15 Jakub Jelinek
2001-10-02  6:38 ` Nick Clifton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200210181000.49418.schwidefsky@de.ibm.com \
    --to=schwidefsky@de.ibm.com \
    --cc=binutils@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).