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 Add support for se...
details: https://anonhg.NetBSD.org/src/rev/d07bb451ddf7
branches: trunk
changeset: 780954:d07bb451ddf7
user: matt <matt%NetBSD.org@localhost>
date: Mon Aug 13 02:52:34 2012 +0000
description:
Add support for setting LIB_PATH for MKCOMPAT support.
diffstat:
external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh | 6 ++++++
external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd_eabi.sh | 9 +++++++++
2 files changed, 15 insertions(+), 0 deletions(-)
diffs (29 lines):
diff -r b32c03c7abe3 -r d07bb451ddf7 external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh
--- a/external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh Mon Aug 13 02:49:04 2012 +0000
+++ b/external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh Mon Aug 13 02:52:34 2012 +0000
@@ -6,3 +6,9 @@
unset DATA_START_SYMBOLS
unset STACK_ADDR
unset EMBEDDED
+
+case "$target" in
+ arm*-*-netbsdelf*-eabi*)
+ LIB_PATH='=/usr/lib/oabi'
+ ;;
+esac
diff -r b32c03c7abe3 -r d07bb451ddf7 external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd_eabi.sh
--- a/external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd_eabi.sh Mon Aug 13 02:49:04 2012 +0000
+++ b/external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd_eabi.sh Mon Aug 13 02:52:34 2012 +0000
@@ -7,3 +7,12 @@
.ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) }
${RELOCATING+ PROVIDE_HIDDEN (__exidx_end = .); }"
+unset LIB_PATH
+
+case "$target" in
+ arm*-*-netbsdelf*-eabi*)
+ ;;
+ arm*-*-netbsdelf*)
+ LIB_PATH='=/usr/lib/eabi'
+ ;;
+esac
Home |
Main Index |
Thread Index |
Old Index