gcc-patches@gcc.gnu.org
[Top] [All Lists]

Re: [patch] Add basic support for arm-none-linux-gnueabi.

Subject: Re: [patch] Add basic support for arm-none-linux-gnueabi.
From: "Joseph S. Myers"
Date: Sat, 20 Aug 2005 18:58:48 +0000 UTC
On Sat, 20 Aug 2005, Kazu Hirata wrote:

> +#undef SUBTARGET_EXTRA_LINK_SPEC
> +#define SUBTARGET_EXTRA_LINK_SPEC "-m armelf_linux_eabi"

Although I haven't tested with this patch version, note that the 
definition of SUBTARGET_EXTRA_LINK_SPEC in linux-elf.h starts with a 
space, " -m armelf_linux -p" (since SUBTARGET_EXTRA_LINK_SPEC goes at the 
end of LINK_SPEC immediately after "%{mbig-endian:-EB}").  If this is 
indeed a problem for mainline and the space needs adding for the EABI 
version, the test would be linking with -mbig-endian passing a 
concatenated -EB-m argument to the linker.

-- 
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>