aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-11-21 13:22:46 +0000
committerAlan Modra <amodra@gmail.com>2011-11-21 13:22:46 +0000
commitbd59d91639999e90bb9f73d679c91a9e7af7579b (patch)
treed8dca11998e91108695f219342ca411a080bd75f /ld/emulparams
parentedc1d65242992c050acce8afbd26191abf6bb433 (diff)
downloadgdb-bd59d91639999e90bb9f73d679c91a9e7af7579b.zip
gdb-bd59d91639999e90bb9f73d679c91a9e7af7579b.tar.gz
gdb-bd59d91639999e90bb9f73d679c91a9e7af7579b.tar.bz2
* Makefile.am (ALL_64_EMULATION_SOURCES): Add powerpc64-*-freebsd
source. (eelf64ppc_fbsd.c): Add rules to build this file. * Makefile.in: Regenerate. * configure.tgt: Add target definition for powerpc64-*-freebsd*. Adjust powerpc-*-freebsd*. * emultempl/ppc64elf.em: Add a mechanism to override the default value of 0 for plt_static_chain. * emulparams/elf32ppc_fbsd.sh (OUTPUT_FORMAT): Override the default. * emulparams/elf64ppc_fbsd.sh (OUTPUT_FORMAT): Likewise. (DEFAULT_PLT_STATIC_CHAIN): Define to 1.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/elf32ppc_fbsd.sh3
-rw-r--r--ld/emulparams/elf64ppc_fbsd.sh6
2 files changed, 9 insertions, 0 deletions
diff --git a/ld/emulparams/elf32ppc_fbsd.sh b/ld/emulparams/elf32ppc_fbsd.sh
index 2bac85c..0025b61 100644
--- a/ld/emulparams/elf32ppc_fbsd.sh
+++ b/ld/emulparams/elf32ppc_fbsd.sh
@@ -1,2 +1,5 @@
. ${srcdir}/emulparams/elf32ppc.sh
. ${srcdir}/emulparams/elf_fbsd.sh
+
+OUTPUT_FORMAT="elf32-powerpc-freebsd"
+
diff --git a/ld/emulparams/elf64ppc_fbsd.sh b/ld/emulparams/elf64ppc_fbsd.sh
new file mode 100644
index 0000000..e1b09ca
--- /dev/null
+++ b/ld/emulparams/elf64ppc_fbsd.sh
@@ -0,0 +1,6 @@
+. ${srcdir}/emulparams/elf64ppc.sh
+. ${srcdir}/emulparams/elf_fbsd.sh
+
+OUTPUT_FORMAT="elf64-powerpc-freebsd"
+DEFAULT_PLT_STATIC_CHAIN=1
+