aboutsummaryrefslogtreecommitdiff
path: root/patches/gcc/4.4.4/160-netbsd-symbolic.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-05-16 19:41:53 +0200
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-05-16 19:41:53 +0200
commitcf395e3876baa8e4e631763bfef2a39316354ba2 (patch)
tree0be64c1a67c44b2df7c60f1117def38ccbebf7a8 /patches/gcc/4.4.4/160-netbsd-symbolic.patch
parent68cb21446da77850d0eda68094868e7aedf059cf (diff)
downloadcrosstool-ng-cf395e3876baa8e4e631763bfef2a39316354ba2.tar.gz
crosstool-ng-cf395e3876baa8e4e631763bfef2a39316354ba2.tar.bz2
crosstool-ng-cf395e3876baa8e4e631763bfef2a39316354ba2.zip
cc/gcc: add latest version
Add 4.4.4 and forward-port patchset from 4.4.3
Diffstat (limited to 'patches/gcc/4.4.4/160-netbsd-symbolic.patch')
-rw-r--r--patches/gcc/4.4.4/160-netbsd-symbolic.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/gcc/4.4.4/160-netbsd-symbolic.patch b/patches/gcc/4.4.4/160-netbsd-symbolic.patch
new file mode 100644
index 00000000..7ef54024
--- /dev/null
+++ b/patches/gcc/4.4.4/160-netbsd-symbolic.patch
@@ -0,0 +1,13 @@
+diff -durN gcc-4.4.0.orig/gcc/config/netbsd-elf.h gcc-4.4.0/gcc/config/netbsd-elf.h
+
+diff -durN gcc-4.4.4.orig/gcc/config/netbsd-elf.h gcc-4.4.4/gcc/config/netbsd-elf.h
+--- gcc-4.4.4.orig/gcc/config/netbsd-elf.h 2007-09-03 18:14:04.000000000 +0200
++++ gcc-4.4.4/gcc/config/netbsd-elf.h 2010-05-16 19:11:50.000000000 +0200
+@@ -82,6 +82,7 @@
+ #define NETBSD_LINK_SPEC_ELF \
+ "%{assert*} %{R*} %{rpath*} \
+ %{shared:-shared} \
++ %{symbolic:-Bsymbolic} \
+ %{!shared: \
+ -dc -dp \
+ %{!nostdlib: \