diff options
author | Alan Modra <amodra@gmail.com> | 2007-05-11 06:39:05 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-05-11 06:39:05 +0000 |
commit | 016687f8ba456b033639a2174da7a0fc35428eb8 (patch) | |
tree | a533ef04e5f97a7b5ee279a260d558bdc4b98907 /bfd/vms-hdr.c | |
parent | ece5ef60797fafabe50aae16758ecb33b033871d (diff) | |
download | gdb-016687f8ba456b033639a2174da7a0fc35428eb8.zip gdb-016687f8ba456b033639a2174da7a0fc35428eb8.tar.gz gdb-016687f8ba456b033639a2174da7a0fc35428eb8.tar.bz2 |
bfd/
* elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype.
(enum ppc_elf_plt_type): Move from..
* elf32-ppc.c: ..here.
(struct ppc_elf_obj_tdata): Add makes_plt_call and has_rel16.
(struct ppc_elf_link_hash_table): Reorder. Add old_bfd. Delete
can_use_new_plt. Make is_vxworks a bitfield.
(ppc_elf_link_hash_table_create): Don't clear is_vxworks (again).
(ppc_elf_check_relocs): Update setting of reloc flags. Set old_bfd.
(ppc_elf_select_plt_layout): Modify parameters. Use bfd reloc
flags to better detect object files needing old bss-style plt.
Allow secure plt to be used without rel16 relocs being detected.
Warn if secure plt request cannot be allowed.
ld/
* emultempl/ppc32elf.em (plt_style): New variable.
(old_plt): Delete.
(ppc_after_open): Adjust ppc_elf_select_plt_layout call.
(PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
* ld.texinfo (--secure-plt): Document.
Diffstat (limited to 'bfd/vms-hdr.c')
0 files changed, 0 insertions, 0 deletions