aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorAndreas Tobler <andreast@fgznet.ch>2014-06-18 21:58:19 +0200
committerAndreas Tobler <andreast@fgznet.ch>2014-06-18 21:58:19 +0200
commit1804dbce5a7c0298a98dcedde14ab4d432fad754 (patch)
tree2f317e6f4081403456313153be23f8de919487ea /ld/emulparams
parent17a40b44e2aa89d2df08897ea05a42e1afedd06a (diff)
downloadgdb-1804dbce5a7c0298a98dcedde14ab4d432fad754.zip
gdb-1804dbce5a7c0298a98dcedde14ab4d432fad754.tar.gz
gdb-1804dbce5a7c0298a98dcedde14ab4d432fad754.tar.bz2
ld/ARM: Add target arm*b-*-freebsd*, update target arm*-*-freebsd*.
ld/ChangeLog: 2014-06-18 Andreas Tobler <andreast@fgznet.ch> * configure.tgt (arm*-*-freebsd*): Update targ_extra_emuls. (arm*b-*-freebsd*): Add target. * emulparams/armelfb_fbsd.sh: Added. * emulparams/armelf_fbsd.sh: Updated. * Makefile.am (ALL_EMULATION_SOURCES): Add earmelfb_fbsd.c. * Makefile.in: Regenerate.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/armelf_fbsd.sh5
-rw-r--r--ld/emulparams/armelfb_fbsd.sh2
2 files changed, 7 insertions, 0 deletions
diff --git a/ld/emulparams/armelf_fbsd.sh b/ld/emulparams/armelf_fbsd.sh
index ee9520d..5b3ccc6 100644
--- a/ld/emulparams/armelf_fbsd.sh
+++ b/ld/emulparams/armelf_fbsd.sh
@@ -1,3 +1,8 @@
. ${srcdir}/emulparams/armelf.sh
. ${srcdir}/emulparams/elf_fbsd.sh
TARGET2_TYPE=got-rel
+MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
+GENERATE_PIE_SCRIPT=yes
+
+unset STACK_ADDR
+unset EMBEDDED
diff --git a/ld/emulparams/armelfb_fbsd.sh b/ld/emulparams/armelfb_fbsd.sh
new file mode 100644
index 0000000..a28b476
--- /dev/null
+++ b/ld/emulparams/armelfb_fbsd.sh
@@ -0,0 +1,2 @@
+. ${srcdir}/emulparams/armelf_fbsd.sh
+OUTPUT_FORMAT="elf32-bigarm"