aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/ppc64elf.em
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/emultempl/ppc64elf.em
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/emultempl/ppc64elf.em')
-rw-r--r--ld/emultempl/ppc64elf.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em
index 80143a8..9c352ee 100644
--- a/ld/emultempl/ppc64elf.em
+++ b/ld/emultempl/ppc64elf.em
@@ -62,7 +62,7 @@ static int no_multi_toc = 0;
static int no_toc_sort = 0;
/* Set if PLT call stubs should load r11. */
-static int plt_static_chain = 0;
+static int plt_static_chain = ${DEFAULT_PLT_STATIC_CHAIN-0};
/* Whether to emit symbols for stubs. */
static int emit_stub_syms = -1;