PowerPC64 linking of --just-symbols objects (klibc)
authorAlan Modra <amodra@gmail.com>
Tue, 3 Dec 2013 04:31:20 +0000 (15:01 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 3 Dec 2013 04:46:12 +0000 (15:16 +1030)
commit2c3f079f58204594bc271b919a643e9f2813aa12
treeca451f2e7884e557829e24f0da7435cebf251588
parent2ea126fa785cf0d2b26cdba5c6ad8b8548b7ef15
PowerPC64 linking of --just-symbols objects (klibc)

With -mcmodel=medium we can't assume that a -R object doesn't use
toc-relative addressing if there's no toc.  Lots of things are
accessed via r2, not just the toc/got section.  Also, testing for
.opd is plain wrong for ELFv2.

* elf64-ppc.c (ppc64_elf_link_just_syms): Remove .got check.
Handle ELFv2.
bfd/ChangeLog
bfd/elf64-ppc.c
This page took 0.0267 seconds and 4 git commands to generate.