Clean up handling of -EB/-EL
Richard Earnshaw
rearnsha@arm.com
Mon Jan 14 08:58:00 GMT 2002
The testsuite uses -EL on several dump tests, but this option is not
supported for targets which are not bi-endian (eg a.out): this is the only
reason why these tests fail.
By making the assembler accept -EL for a little-endian only assembler (and
similarly for -EB on big-endian), we can improve the testsuite coverage
and also make the command line option handling more uniform across the
builds.
R.
* tc-arm.c (md_longopts): On targets that aren't bi-endian, support
the -EL/-EB option that matches the target's endianness.
(md_parse_option): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-endian.patch
Type: text/x-patch
Size: 1395 bytes
Desc: gas-endian.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20020114/b0f0b303/attachment.bin>
More information about the Binutils
mailing list