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/emulparams Only override LIB_...



details:   https://anonhg.NetBSD.org/src/rev/4ecdbae378f2
branches:  trunk
changeset: 343841:4ecdbae378f2
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Feb 28 16:06:27 2016 +0000

description:
Only override LIB_PATH to /usr/lib/sparc when doing elf32 for sparc64.

diffstat:

 external/gpl3/binutils/dist/ld/emulparams/elf32_sparc.sh |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 18c4006c8771 -r 4ecdbae378f2 external/gpl3/binutils/dist/ld/emulparams/elf32_sparc.sh
--- a/external/gpl3/binutils/dist/ld/emulparams/elf32_sparc.sh  Sun Feb 28 15:15:42 2016 +0000
+++ b/external/gpl3/binutils/dist/ld/emulparams/elf32_sparc.sh  Sun Feb 28 16:06:27 2016 +0000
@@ -20,6 +20,10 @@
 
 case "$target" in
   sparc64-*-netbsd*)
-    LIB_PATH='=/usr/lib/sparc'
+    case "$EMULATION_NAME" in
+      *32*)
+       LIB_PATH='=/usr/lib/sparc'
+       ;;
+    esac
     ;;
 esac



Home | Main Index | Thread Index | Old Index