PPC64: Allow .TOC. in linker script to override backend calculated value
authorAlan Modra <amodra@gmail.com>
Tue, 18 Aug 2015 07:13:18 +0000 (16:43 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 18 Aug 2015 07:13:18 +0000 (16:43 +0930)
commit43417696fe32416607940258ded622c121872515
tree8e854fe8a7d0d996d5aeb32ef255a5a90808fcec
parentf6721e4955d86bf879b5225f2d128a5a8ddfcae8
PPC64: Allow .TOC. in linker script to override backend calculated value

bfd/
* elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't redefine .TOC.
if already defined, and set linker_def.
(ppc64_elf_set_toc): Use .TOC. value if defined other than by
the backend.
ld/
* ldexp.c (exp_fold_tree_1): Clear linker_def on symbol assignment.
bfd/ChangeLog
bfd/elf64-ppc.c
ld/ChangeLog
ld/ldexp.c