small gas patch

Eric Christopher echristo@redhat.com
Fri Sep 14 13:17:00 GMT 2001


gp32 and gp64 should not set the output arch. :)

2001-09-14  Eric Christopher  <echristo@redhat.com>

	* config/tc-mips.c (md_parse_option): Remove setting mips_64 via
	-mgp32/mgp64.

-- 
Look out behind you!

Index: config/tc-mips.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mips.c,v
retrieving revision 1.75
diff -u -p -w -r1.75 tc-mips.c
--- tc-mips.c	2001/09/12 21:19:37	1.75
+++ tc-mips.c	2001/09/14 20:16:41
@@ -9251,7 +9251,6 @@ md_parse_option (c, arg)
 
     case OPTION_GP32:
       mips_gp32 = 1;
-      mips_64 = 0;
 
       /* We deliberately don't allow "-gp32" to set the MIPS_32BITMODE
 	 flag in object files because to do so would make it
@@ -9269,7 +9268,6 @@ md_parse_option (c, arg)
 
     case OPTION_GP64:
       mips_gp32 = 0;
-      mips_64 = 1;
 #if 0
       mips_32bitmode = 0;
 #endif



More information about the Binutils mailing list