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: Kazu Hirata
Date: Sun, 21 Aug 2005 14:18:35 -0400
Hi Joseph,

+#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.

Nice catch! I was able to produce the "-EB-m" argument with -mbig-endian. Fixed in my local tree.

Kazu Hirata

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