This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

s390 gas bug.


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]