diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-08-19 07:47:25 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-08-19 07:47:25 +0000 |
commit | 3f764659c7b9bc8eb30920d37a55d3371d649d8a (patch) | |
tree | 319fa09f77d6c7de8215382efe357fc6858dc5d0 /bfd/elf64-ppc.h | |
parent | e5da76ecfd1f3bfccdd5b4781a97faa8ebf03a99 (diff) | |
download | gdb-3f764659c7b9bc8eb30920d37a55d3371d649d8a.zip gdb-3f764659c7b9bc8eb30920d37a55d3371d649d8a.tar.gz gdb-3f764659c7b9bc8eb30920d37a55d3371d649d8a.tar.bz2 |
* elf64-ppc.c (ppc64_elf_edit_opd): Support 16 byte long .opd
entries (where fd_aux overlaps next entry's fd_func).
Add non_overlapping argument, use it.
(ppc64_elf_check_relocs, ppc64_elf_gc_mark_hook, adjust_opd_syms,
ppc64_elf_size_stubs, ppc64_elf_relocate_section,
ppc64_elf_output_symbol_hook): Use address / 8 instead of address / 24
as indexes into opd_sym_map/opd_adjust array.
* elf64-ppc.h (ppc64_elf_edit_opd): Adjust prototype.
* emultempl/ppc64elf.em (non_overlapping_opd): New variable.
(ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
(OPTION_NON_OVERLAPPING_OPD): Define.
(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
--non-overlapping-opd option.
Diffstat (limited to 'bfd/elf64-ppc.h')
-rw-r--r-- | bfd/elf64-ppc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-ppc.h b/bfd/elf64-ppc.h index b1f4343..4a58bbe 100644 --- a/bfd/elf64-ppc.h +++ b/bfd/elf64-ppc.h @@ -20,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ void ppc64_elf_init_stub_bfd (bfd *, struct bfd_link_info *); bfd_boolean ppc64_elf_edit_opd - (bfd *, struct bfd_link_info *); + (bfd *, struct bfd_link_info *, bfd_boolean); asection *ppc64_elf_tls_setup (bfd *, struct bfd_link_info *); bfd_boolean ppc64_elf_tls_optimize |