ARM/gcc: make LINK_SPEC match our other platforms.

It looks like shared/nostart was not properly handled. These changes
were copied from the x86_64 specs.
This commit is contained in:
Ithamar R. Adema 2014-08-21 16:36:18 +02:00
parent bc712e7525
commit 6f9a8fa02b

View File

@ -75,6 +75,6 @@
/* If ELF is the default format, we should not use /lib/elf. */
#undef LINK_SPEC
#define LINK_SPEC "%{!o*:-o %b} -m armelf -shared -no-undefined %{nostart:-e 0} \
#define LINK_SPEC "%{!o*:-o %b} -m armelf -shared %{nostart:-e 0} %{shared:-e 0} %{!shared: %{!nostart: -no-undefined}}\
%{mbig-endian:-EB} %{mlittle-endian:-EL} -X"