From 6f9a8fa02b59666640980bb622980fa13f5a2508 Mon Sep 17 00:00:00 2001
From: "Ithamar R. Adema" <ithamar@upgrade-android.com>
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
|
b
|
|
75 | 75 | /* If ELF is the default format, we should not use /lib/elf. */ |
76 | 76 | |
77 | 77 | #undef LINK_SPEC |
78 | | #define LINK_SPEC "%{!o*:-o %b} -m armelf -shared -no-undefined %{nostart:-e 0} \ |
| 78 | #define LINK_SPEC "%{!o*:-o %b} -m armelf -shared %{nostart:-e 0} %{shared:-e 0} %{!shared: %{!nostart: -no-undefined}}\ |
79 | 79 | %{mbig-endian:-EB} %{mlittle-endian:-EL} -X" |
80 | 80 | |