This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Support MIPS elfoabi target
- From: Thiemo Seufer <ths at networkno dot de>
- To: "Fu, Chao-Ying" <fu at mips dot com>
- Cc: binutils at sourceware dot org, "Lau, David" <davidlau at mips dot com>
- Date: Thu, 8 May 2008 08:13:30 +0100
- Subject: Re: Support MIPS elfoabi target
- References: <3CB54817FDF733459B230DD27C690CEC03EE903D@Exchange.mips.com>
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