This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Add basic support for arm-none-linux-gnueabi.
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Kazu Hirata <kazu at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, mark at codesourcery dot com, paul at codesourcery dot com
- Date: Sat, 20 Aug 2005 18:58:48 +0000 (UTC)
- Subject: Re: [patch] Add basic support for arm-none-linux-gnueabi.
- References: <200508201727.j7KHRp2P005026@sparrowhawk.codesourcery.com>
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@codesourcery.com