This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Support MIPS elfoabi target
- From: Daniel Jacobowitz <drow at false dot org>
- To: "Fu, Chao-Ying" <fu at mips dot com>
- Cc: binutils at sourceware dot org, "Lau, David" <davidlau at mips dot com>
- Date: Wed, 7 May 2008 17:36:13 -0400
- Subject: Re: Support MIPS elfoabi target
- References: <3CB54817FDF733459B230DD27C690CEC03EE903D@Exchange.mips.com>
On Wed, May 07, 2008 at 01:52:44PM -0700, 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")"?
>
> Also, in "gas/configure.in", should we use "mips-*-*-elf*",
> instead of "mips-*-*-elf"?
How could "mips-*-*-elf*" match "mips-none-elfoabi"?
--
Daniel Jacobowitz
CodeSourcery