[RFA] PR9861 FAIL: EABI attributes from directives
Daniel Jacobowitz
dan@codesourcery.com
Fri Feb 19 16:21:00 GMT 2010
On Fri, Feb 19, 2010 at 02:20:45PM +0000, Matthew Gretton-Dann wrote:
> Hi,
>
> The attached patch fixes PR9861
> (http://sourceware.org/bugzilla/show_bug.cgi?id=9861).
>
> The issue is that the default CPU to assembler for (defined by
> CPU_DEFAULT) is dependent upon the compiler used to build gas. And so
> arm-unknown-linux-gnueabi-as will produce different results depending
> upon whether it is built on an x86_64 or an ARM machine (say).
>
> The proposed patch removed any definition of CPU_DEFAULT based upon
> build compiler predefines.
>
> I have tested this with the cross-product of
> (--target=arm-unknown-linux-gnueabi, --target=arm-none-eabi) and
> (--build=x86_64-unknown-linux-gnu, --build=armv7-unknown-linux-gnueabi).
>
> Can someone please review, and then if happy approve the patch?
I stumbled on the same issue recently and drew the same conclusion.
OK to commit, thanks!
--
Daniel Jacobowitz
CodeSourcery
More information about the Binutils
mailing list