patches/gcc/4.3.6/140-netbsd-symbolic.patch
author Daniel Rubio Bonilla <danielrubiob@gmail.com>
Thu May 23 17:51:15 2013 +0200 (2013-05-23)
changeset 3220 2685dfa9de14
parent 2124 5dd0b83ae528
permissions -rw-r--r--
complibs/mpc: add versions 1.0 and 1.0.1

Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
Message-Id: <CAOfWMGAc7XMXYNZ2Tz-a4PgRrCsAz5hN5NkH9KRe9+pm+go7UQ@mail.gmail.com>
Patchwork-Id: 245977
thomas@1461
     1
Original patch from: ../4.3.2/140-netbsd-symbolic.patch
thomas@1461
     2
thomas@1461
     3
-= BEGIN original header =-
thomas@1461
     4
Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/11_all_gcc-netbsd-symbolic.patch
thomas@1461
     5
http://bugs.gentoo.org/122698
thomas@1461
     6
thomas@1461
     7
-= END original header =-
thomas@1461
     8
thomas@1461
     9
diff -durN gcc-4.3.3.orig/gcc/config/netbsd-elf.h gcc-4.3.3/gcc/config/netbsd-elf.h
thomas@1461
    10
--- gcc-4.3.3.orig/gcc/config/netbsd-elf.h	2007-09-03 18:14:04.000000000 +0200
thomas@1461
    11
+++ gcc-4.3.3/gcc/config/netbsd-elf.h	2009-01-27 22:19:18.000000000 +0100
thomas@1461
    12
@@ -82,6 +82,7 @@
thomas@1461
    13
 #define NETBSD_LINK_SPEC_ELF \
thomas@1461
    14
   "%{assert*} %{R*} %{rpath*} \
thomas@1461
    15
    %{shared:-shared} \
thomas@1461
    16
+   %{symbolic:-Bsymbolic} \
thomas@1461
    17
    %{!shared: \
thomas@1461
    18
      -dc -dp \
thomas@1461
    19
      %{!nostdlib: \