From 6f9a8fa02b59666640980bb622980fa13f5a2508 Mon Sep 17 00:00:00 2001 From: Ithamar R. Adema Date: Thu, 21 Aug 2014 16:36:18 +0200 Subject: [PATCH] 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. --- 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" -- gitore 0.2.2