This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
s390 gas bug.
- From: Martin Schwidefsky <schwidefsky at de dot ibm dot com>
- To: binutils at sources dot redhat dot com
- Date: Fri, 18 Oct 2002 10:00:49 +0200
- Subject: s390 gas bug.
- Organization: IBM Deutschland GmbH
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;