[haiku-commits] buildtools: btrev43088 - gcc/gcc/config/arm

  • From: ithamar@xxxxxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 21 Aug 2014 22:55:18 +0200 (CEST)

btrev43088 adds 1 changeset to branch 'master'
old head: bc712e752579c5e42b788e0fb3655915ae410c38
new head: 6f9a8fa02b59666640980bb622980fa13f5a2508
overview: http://cgit.haiku-os.org/buildtools/log/?qt=range&q=6f9a8fa+%5Ebc712e7

----------------------------------------------------------------------------

6f9a8fa: 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.

                          [ Ithamar R. Adema <ithamar@xxxxxxxxxxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    btrev43088
Commit:      6f9a8fa02b59666640980bb622980fa13f5a2508
URL:         http://cgit.haiku-os.org/buildtools/commit/?id=6f9a8fa
Author:      Ithamar R. Adema <ithamar@xxxxxxxxxxxxxxxxxxx>
Date:        Thu Aug 21 14:36:18 2014 UTC

----------------------------------------------------------------------------

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

----------------------------------------------------------------------------

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"
 


Other related posts:

  • » [haiku-commits] buildtools: btrev43088 - gcc/gcc/config/arm - ithamar