patches/gcc/4.3.5/140-netbsd-symbolic.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 19 18:37:18 2010 +0200 (2010-09-19)
changeset 2124 5dd0b83ae528
parent 1461 patches/gcc/4.3.4/140-netbsd-symbolic.patch@35b30f8fb307
permissions -rw-r--r--
cc/gcc: add 4.3.5

4.3.5 is the latest 4.3 version, and probably the last one.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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: \