A patch for mips/elf/stabs
H . J . Lu
hjl@lucon.org
Thu Jun 7 09:55:00 GMT 2001
I checked in the following patch. "extern" is used to control gp
relocations.
H.J.
----
2001-06-07 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (mips_pseudo_table): Add "extern" if
MIPS_STABS_ELF is defined.
Index: config/tc-mips.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mips.c,v
retrieving revision 1.42
diff -u -p -r1.42 tc-mips.c
--- tc-mips.c 2001/05/23 17:26:38 1.42
+++ tc-mips.c 2001/06/07 16:49:29
@@ -793,6 +793,11 @@ static const pseudo_typeS mips_pseudo_ta
{"stabn", s_mips_stab, 'n'},
{"text", s_change_sec, 't'},
{"word", s_cons, 2},
+
+#ifdef MIPS_STABS_ELF
+ { "extern", ecoff_directive_extern, 0},
+#endif
+
{ NULL, NULL, 0 },
};
More information about the Binutils
mailing list