This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Support .origin and .repeat in MIPS gas
- From: Thiemo Seufer <ths at networkno dot de>
- To: binutils at sourceware dot org
- Date: Thu, 8 Jun 2006 16:29:22 +0100
- Subject: [PATCH] Support .origin and .repeat in MIPS gas
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. */