Skip to contentSkip to conversation

Obvious patch for mips64

PATCH Keith M Wesolowski 2 participants 2 messages Apr 29, 2001 MIPS

lore
Share & tools
lore
#0 lore raw

I need the following trivial patch to build 64-bit binaries with gas.

Index: tc-mips.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mips.c,v
retrieving revision 1.39

config/tc-mips.c +3 -1
diff -u -r1.39 tc-mips.c
@@ -9140,7 +9140,9 @@
 	list = bfd_target_list ();
 	for (l = list; *l != NULL; l++)
 	  if (strcmp (*l, "elf64-bigmips") == 0
-	      || strcmp (*l, "elf64-littlemips") == 0)
+	      || strcmp (*l, "elf64-littlemips") == 0
+	      || strcmp (*l, "elf64-tradbigmips") == 0
+	      || strcmp (*l, "elf64-tradlittlemips") == 0)
 	    break;
 	if (*l == NULL)
 	  as_fatal (_("No compiled in support for 64 bit object file format"));
Signature · 4 lines
Keith M Wesolowski <[email protected]> http://foobazco.org/~wesolows
------(( Project Foobazco Coordinator and Network Administrator ))------
	"Nothing motivates a man more than to see his boss put
	 in an honest day's work." -- The fortune file
#1 lore raw
Quoted 2 lines · Keith M Wesolowski

I need the following trivial patch to build 64-bit binaries with gas.

I checked it in. Please provide ChangeLog entry next time.

BTW, please test it on MIPS to make sure nothing is broken.

Thanks.

H.J.