patches/gcc/4.3.4/140-netbsd-symbolic.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jan 12 19:24:03 2010 +0100 (2010-01-12)
changeset 1761 88020b2c3246
permissions -rw-r--r--
scripts/functions: change handling of nochdir

- 'nochdir' must be the first option
- have systematic pushd/popd, even if nochdir
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: \