This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]