patches/gcc/4.3.5/140-netbsd-symbolic.patch
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Thu Aug 18 16:05:48 2011 +0200 (2011-08-18)
changeset 2612 a52574521bea
parent 1461 35b30f8fb307
permissions -rw-r--r--
debug/gdb: update GDB revisions

Update GDB with the latest available revisions.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
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: \