Support MIPS elfoabi target
Thiemo Seufer
ths@networkno.de
Thu May 8 07:13:00 GMT 2008
Fu, Chao-Ying wrote:
> Hi,
>
> I found out that MIPS *-elf and *-elfoabi targets use different section
> alignment, due to the check of TARGET_OS in tc-mips.c.
> Should we use "strncmp (TARGET_OS, "elf", 3)" to match both
> "elfoabi" and "elf", instead of "strcmp (TARGET_OS, "elf")"?
It looks like other TARGET_OS comparisions ("vxworks", "pe") in
config/tc-mips.c have the same problem. Could you expand your patch
to cover those as well?
> Also, in "gas/configure.in", should we use "mips-*-*-elf*",
> instead of "mips-*-*-elf"?
As already discussed, this part isn't needed.
Thiemo
More information about the Binutils
mailing list