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 armelf{, b}_nbs...



details:   https://anonhg.NetBSD.org/src/rev/02fb682ddd3d
branches:  trunk
changeset: 793219:02fb682ddd3d
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jan 31 03:26:50 2014 +0000

description:
Add armelf{,b}_nbsd_eabihf emulations for MKCOMPAT to use.

diffstat:

 external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd_eabihf.sh  |  18 ++++++++++
 external/gpl3/binutils/dist/ld/emulparams/armelfb_nbsd_eabihf.sh |   2 +
 2 files changed, 20 insertions(+), 0 deletions(-)

diffs (28 lines):

diff -r 3fb94d7af5df -r 02fb682ddd3d external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd_eabihf.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd_eabihf.sh   Fri Jan 31 03:26:50 2014 +0000
@@ -0,0 +1,18 @@
+. ${srcdir}/emulparams/armelf_nbsd.sh
+
+# Use the ARM ABI-compliant exception-handling sections.
+OTHER_READONLY_SECTIONS="
+  .ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) }
+  ${RELOCATING+ PROVIDE_HIDDEN (__exidx_start = .); }
+  .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) }
+  ${RELOCATING+ PROVIDE_HIDDEN (__exidx_end = .); }"
+
+unset LIB_PATH
+
+case "$target" in
+  arm*-*-netbsdelf*-*eabihf*)
+    ;;
+  arm*-*-netbsdelf*)
+    LIB_PATH='=/usr/lib/eabihf'
+    ;;
+esac
diff -r 3fb94d7af5df -r 02fb682ddd3d external/gpl3/binutils/dist/ld/emulparams/armelfb_nbsd_eabihf.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/binutils/dist/ld/emulparams/armelfb_nbsd_eabihf.sh  Fri Jan 31 03:26:50 2014 +0000
@@ -0,0 +1,2 @@
+. ${srcdir}/emulparams/armelf_nbsd_eabihf.sh
+OUTPUT_FORMAT="elf32-bigarm"



Home | Main Index | Thread Index | Old Index