[PATCH]: HAve SH GAS support -EL switch
Nick Clifton
nickc@redhat.com
Fri Jul 21 09:45:00 GMT 2006
Hi Guys,
I am checking in the small patch below to add the -EL switch to the
SH assembler. The generic parts of the linker testsuite use this
switch (instead of -little) when checking a little endian SH
multilib and it was resulting in several "unresolved testcase"
results.
Cheers
Nick
gas/ChangeLog
2006-07-21 Nick Clifton <nickc@redhat.com>
* config/tc-sh.c (md_longopts): Add -EL and -EB for use by the
linker testsuite.
Index: gas/config/tc-sh.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-sh.c,v
retrieving revision 1.118
diff -c -3 -p -r1.118 tc-sh.c
*** gas/config/tc-sh.c 12 Jul 2006 09:02:00 -0000 1.118
--- gas/config/tc-sh.c 21 Jul 2006 09:44:10 -0000
*************** struct option md_longopts[] =
*** 3063,3068 ****
--- 3063,3072 ----
{"relax", no_argument, NULL, OPTION_RELAX},
{"big", no_argument, NULL, OPTION_BIG},
{"little", no_argument, NULL, OPTION_LITTLE},
+ /* The next two switches are here because the
+ generic parts of the linker testsuite uses them. */
+ {"EB", no_argument, NULL, OPTION_BIG},
+ {"EL", no_argument, NULL, OPTION_LITTLE},
{"small", no_argument, NULL, OPTION_SMALL},
{"dsp", no_argument, NULL, OPTION_DSP},
{"isa", required_argument, NULL, OPTION_ISA},
More information about the Binutils
mailing list