[PATCH] Support .origin and .repeat in MIPS gas
Thiemo Seufer
ths@networkno.de
Thu Jun 8 21:46:00 GMT 2006
Hello All,
I applied the appended patch, which improves compatibility with
code written for SGI IRIX.
Thiemo
2006-06-08 Nigel Stephens <nigel@mips.com>
* config/tc-mips.c (mips_pseudo_table): Add "origin" and "repeat"
aliases for better compatibility with SGI tools.
Index: gas/config/tc-mips.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mips.c,v
retrieving revision 1.337
diff -u -p -r1.337 tc-mips.c
--- gas/config/tc-mips.c 19 May 2006 13:03:05 -0000 1.337
+++ gas/config/tc-mips.c 22 May 2006 10:16:28 -0000
@@ -1086,6 +1113,8 @@ static const pseudo_typeS mips_pseudo_ta
{"half", s_cons, 1},
{"dword", s_cons, 3},
{"weakext", s_mips_weakext, 0},
+ {"origin", s_org, 0},
+ {"repeat", s_rept, 0},
/* These pseudo-ops are defined in read.c, but must be overridden
here for one reason or another. */
More information about the Binutils
mailing list