⛏️ index : buildtools.git

author Ithamar R. Adema <ithamar@upgrade-android.com> 2014-08-21 16:36:18.0 +02:00:00
committer Ithamar R. Adema <ithamar@upgrade-android.com> 2014-08-21 16:41:43.0 +02:00:00
commit
6f9a8fa02b59666640980bb622980fa13f5a2508 [patch]
tree
d747c6d2cce0408a25e9810576234c3d61b4d59b
parent
bc712e752579c5e42b788e0fb3655915ae410c38
download
6f9a8fa02b59666640980bb622980fa13f5a2508.tar.gz

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.

Diff

 gcc/gcc/config/arm/haiku.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/gcc/config/arm/haiku.h b/gcc/gcc/config/arm/haiku.h
index c2670f9..392a462 100644
--- a/gcc/gcc/config/arm/haiku.h
+++ b/gcc/gcc/config/arm/haiku.h
@@ -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"