This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
A patch for mips/elf/stabs
- To: binutils at sourceware dot cygnus dot com
- Subject: A patch for mips/elf/stabs
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Thu, 7 Jun 2001 09:55:22 -0700
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 },
};