diff options
author | Alan Modra <amodra@gmail.com> | 2014-02-17 17:08:00 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-02-17 17:11:11 +1030 |
commit | e7d1c40ce59ff355d2a51ff64a657c772eabbbfe (patch) | |
tree | 11d9412733613c625dd827c08e669e47b4fa1be9 /bfd/ChangeLog | |
parent | 668e22e51bc50b884a8c1872a2371a6b00a08f9d (diff) | |
download | gdb-e7d1c40ce59ff355d2a51ff64a657c772eabbbfe.zip gdb-e7d1c40ce59ff355d2a51ff64a657c772eabbbfe.tar.gz gdb-e7d1c40ce59ff355d2a51ff64a657c772eabbbfe.tar.bz2 |
Consolidate ppc64 ld/bfd communication
Moves assorted variables used to communicate between ld and bfd into
a struct, hooks it into the bfd link_hash_table early, and removes
all other places where such variables were passed piecemeal.
bfd/
* elf64-ppc.h (struct ppc64_elf_params): Define.
(ppc64_elf_init_stub_bfd, ppc64_elf_edit_opd, ppc64_elf_tls_setup,
ppc64_elf_setup_section_lists, ppc64_elf_size_stubs,
ppc64_elf_build_stubs): Update prototype.
* elf64-ppp.c (struct ppc_link_hash_table): Add params, delete other
fields now in params. Adjust code throughout file.
(ppc64_elf_init_stub_bfd): Delete "abfd" parameter, add "params".
Save params pointer in htab.
(ppc64_elf_edit_opd, ppc64_elf_tls_setup,
ppc64_elf_setup_section_lists, ppc64_elf_size_stubs,
ppc64_elf_build_stubs): Remove parameters now in "params".
ld/
* emultemps/ppc64elf.em (params): New static struct replacing
various other static vars. Adjust code throughout file.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 86f9d84..75cf244 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,19 @@ 2014-02-17 Alan Modra <amodra@gmail.com> + * elf64-ppc.h (struct ppc64_elf_params): Define. + (ppc64_elf_init_stub_bfd, ppc64_elf_edit_opd, ppc64_elf_tls_setup, + ppc64_elf_setup_section_lists, ppc64_elf_size_stubs, + ppc64_elf_build_stubs): Update prototype. + * elf64-ppp.c (struct ppc_link_hash_table): Add params, delete other + fields now in params. Adjust code throughout file. + (ppc64_elf_init_stub_bfd): Delete "abfd" parameter, add "params". + Save params pointer in htab. + (ppc64_elf_edit_opd, ppc64_elf_tls_setup, + ppc64_elf_setup_section_lists, ppc64_elf_size_stubs, + ppc64_elf_build_stubs): Remove parameters now in "params". + +2014-02-17 Alan Modra <amodra@gmail.com> + * elf32-ppc.c (ppc_elf_relocate_section): Move relocs on insns patched for ppc476 workaround. Reapply branch taken/not taken relocs. |