Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist/ld Allow gnueabi to be matched f...



details:   https://anonhg.NetBSD.org/src/rev/d16d5a9028bc
branches:  trunk
changeset: 325005:d16d5a9028bc
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Nov 29 23:01:54 2013 +0000

description:
Allow gnueabi to be matched for the relevant cases as well.

diffstat:

 external/gpl3/binutils/dist/ld/configure.tgt                  |   4 +-
 external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh      |   2 +-
 external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd_eabi.sh |   2 +-
 external/gpl3/binutils/dist/ld/emultempl/elf32.em             |  12 +++++++++++
 4 files changed, 16 insertions(+), 4 deletions(-)

diffs (83 lines):

diff -r e67eab30717a -r d16d5a9028bc external/gpl3/binutils/dist/ld/configure.tgt
--- a/external/gpl3/binutils/dist/ld/configure.tgt      Fri Nov 29 23:01:05 2013 +0000
+++ b/external/gpl3/binutils/dist/ld/configure.tgt      Fri Nov 29 23:01:54 2013 +0000
@@ -64,10 +64,10 @@
 arm-*-freebsd* | arm-*-kfreebsd*-gnu)
                        targ_emul=armelf_fbsd
                        targ_extra_emuls="armelf" ;;
-arm*eb-*-netbsdelf*-eabi*)
+arm*eb-*-netbsdelf*-*eabi*)
                        targ_emul=armelfb_nbsd_eabi;
                        targ_extra_emuls="armelf_nbsd_eabi armelf armnbsd" ;;
-arm*-*-netbsdelf*-eabi*)
+arm*-*-netbsdelf*-*eabi*)
                        targ_emul=armelf_nbsd_eabi;
                        targ_extra_emuls="armelfb_nbsd_eabi armelf armnbsd" ;;
 arm*eb-*-netbsdelf*)   targ_emul=armelfb_nbsd;
diff -r e67eab30717a -r d16d5a9028bc external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh
--- a/external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh  Fri Nov 29 23:01:05 2013 +0000
+++ b/external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh  Fri Nov 29 23:01:54 2013 +0000
@@ -8,7 +8,7 @@
 unset EMBEDDED
 
 case "$target" in
-  arm*-*-netbsdelf*-eabi*)
+  arm*-*-netbsdelf*-*eabi*)
     LIB_PATH='=/usr/lib/oabi'
     ;;
 esac
diff -r e67eab30717a -r d16d5a9028bc external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd_eabi.sh
--- a/external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd_eabi.sh     Fri Nov 29 23:01:05 2013 +0000
+++ b/external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd_eabi.sh     Fri Nov 29 23:01:54 2013 +0000
@@ -10,7 +10,7 @@
 unset LIB_PATH
 
 case "$target" in
-  arm*-*-netbsdelf*-eabi*)
+  arm*-*-netbsdelf*-*eabi*)
     ;;
   arm*-*-netbsdelf*)
     LIB_PATH='=/usr/lib/eabi'
diff -r e67eab30717a -r d16d5a9028bc external/gpl3/binutils/dist/ld/emultempl/elf32.em
--- a/external/gpl3/binutils/dist/ld/emultempl/elf32.em Fri Nov 29 23:01:05 2013 +0000
+++ b/external/gpl3/binutils/dist/ld/emultempl/elf32.em Fri Nov 29 23:01:54 2013 +0000
@@ -72,6 +72,9 @@
 
 if [ "x${USE_LIBPATH}" = xyes ] ; then
   case ${target} in
+    *-*-netbsd*)
+    ;;
+
     *-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
   fragment <<EOF
 #ifdef HAVE_GLOB
@@ -376,6 +379,9 @@
 
 EOF
 case ${target} in
+    *-*-netbsd*)
+    ;;
+
   *-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
     fragment <<EOF
          {
@@ -639,6 +645,9 @@
     # FreeBSD
     ;;
 
+    *-*-netbsd*)
+    ;;
+
     *-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
       fragment <<EOF
 /* For a native linker, check the file /etc/ld.so.conf for directories
@@ -1331,6 +1340,9 @@
     # FreeBSD
     ;;
 
+    *-*-netbsd*)
+    ;;
+
     *-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
     # Linux
       fragment <<EOF



Home | Main Index | Thread Index | Old Index