diff options
author | Alan Modra <amodra@bigpond.net.au> | 2011-11-21 13:22:41 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2011-11-21 13:22:41 +0000 |
commit | 19745e83fb0887efa6957d27a21a0ff49dc34648 (patch) | |
tree | e7748f8c7a422e5cc70dba390b5e44984028ab95 /ld/emultempl/ppc64elf.em | |
parent | e4ecb375d7c52e44b90630669d44e1251e71b77b (diff) | |
download | binutils-redhat-19745e83fb0887efa6957d27a21a0ff49dc34648.tar.gz |
* 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.em | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em index 80143a8525..9c352ee77c 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; |