summaryrefslogtreecommitdiff
path: root/binutils/patches/pr14069.diff
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/patches/pr14069.diff')
-rw-r--r--binutils/patches/pr14069.diff43
1 files changed, 43 insertions, 0 deletions
diff --git a/binutils/patches/pr14069.diff b/binutils/patches/pr14069.diff
new file mode 100644
index 0000000..f19ed46
--- /dev/null
+++ b/binutils/patches/pr14069.diff
@@ -0,0 +1,43 @@
+===================================================================
+RCS file: /cvs/src/src/ld/emultempl/elf32.em,v
+retrieving revision 1.226
+retrieving revision 1.227
+diff -u -r1.226 -r1.227
+--- src/ld/emultempl/elf32.em 2012/05/14 19:45:28 1.226
++++ src/ld/emultempl/elf32.em 2012/05/16 10:43:41 1.227
+@@ -72,7 +72,7 @@
+
+ if [ "x${USE_LIBPATH}" = xyes ] ; then
+ case ${target} in
+- *-*-linux-* | *-*-k*bsd*-*)
++ *-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
+ fragment <<EOF
+ #ifdef HAVE_GLOB
+ #include <glob.h>
+@@ -374,7 +374,7 @@
+
+ EOF
+ case ${target} in
+- *-*-linux-* | *-*-k*bsd*-*)
++ *-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
+ fragment <<EOF
+ {
+ struct bfd_link_needed_list *l;
+@@ -620,7 +620,7 @@
+ # FreeBSD
+ ;;
+
+- *-*-linux-* | *-*-k*bsd*-*)
++ *-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
+ fragment <<EOF
+ /* For a native linker, check the file /etc/ld.so.conf for directories
+ in which we may find shared libraries. /etc/ld.so.conf is really
+@@ -1310,7 +1310,7 @@
+ # FreeBSD
+ ;;
+
+- *-*-linux-* | *-*-k*bsd*-*)
++ *-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
+ # Linux
+ fragment <<EOF
+ if (gld${EMULATION_NAME}_check_ld_so_conf (l->name, force))