Commit 5259bdf0 authored by Alan Modra's avatar Alan Modra

ELFv2 stub, plt and glink changes

(cherry picked from commit b9e5796b0d6ebc355e4a6d06791b7366939d10f2)
parent 82a8efbb
2013-11-15 Alan Modra <amodra@gmail.com>
Apply changes from mainline to 2.24
2013-10-30 Alan Modra <amodra@gmail.com>
* elf64-ppc.c (PLT_ENTRY_SIZE, PLT_INITIAL_ENTRY_SIZE): Add htab
parameter and adjust for ELFv2. Update all uses.
(PLT_CALL_STUB_SIZE): Delete.
(ppc64_elf_get_synthetic_symtab): Support new glink layout.
(allocate_dynrelocs): Likewise.
(plt_stub_size, build_plt_stub): Adjust for ELFv2.
(get_r2off): Return 0 for ELFv2 -R.
(ppc_build_one_stub, ppc_size_one_stub): Adjust for ELFv2.
(ppc64_elf_size_stubs): Likewise.
(ppc64_elf_build_stubs): Add new ELFv2 glink.
2013-10-30 Alan Modra <amodra@gmail.com>
Ulrich Weigand <uweigand@de.ibm.com>
* elf64-ppc.c (struct ppc_stub_hash_entry): Add "other".
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment