diff options
author | Alan Modra <amodra@gmail.com> | 2007-09-30 13:33:04 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-09-30 13:33:04 +0000 |
commit | 0f02bbd9f8fdee22cc91b4bef3f310d4dbc1eee5 (patch) | |
tree | 3ece265513b1a806ecfb92eb3e097c9cde14c83d /bfd/elf-bfd.h | |
parent | c9ccd0dfa0dbdda5a460ea69ce977b0af31dfc20 (diff) | |
download | gdb-0f02bbd9f8fdee22cc91b4bef3f310d4dbc1eee5.zip gdb-0f02bbd9f8fdee22cc91b4bef3f310d4dbc1eee5.tar.gz gdb-0f02bbd9f8fdee22cc91b4bef3f310d4dbc1eee5.tar.bz2 |
bfd/
* elflink.c (resolve_symbol): Handle symbols in SEC_MERGE
sections. Don't test symbol st_shndx. Don't bother with
bfd_link_hash_common symbols. Print longs rather than ints
in debug messages.
(eval_symbol): Replace "sym" and "advanced" params with "symp".
Replace "addr" and "section_offset" params with "dot". Don't
cast bfd_vma values to signed, cast them to bfd_signed_vma.
(bfd_elf_perform_complex_relocation): Delete "output_bfd", "info",
"local_syms" and "local_sections" params. Add "relocation".
Delete code calculating relocation value.
(evaluate_complex_relocation_symbols): Delete function. Fold into..
(elf_link_input_bfd): ..existing code examining relocs.
* elf-bfd.h (bfd_elf_perform_complex_relocation): Update prototype.
* elf32-mep.c (mep_elf_check_relocs): Delete function.
(mep_elf_gc_sweep_hook, mep_elf_gc_mark_hook): Likewise.
(mep_elf_object_p): Don't set elf_bad_symtab.
(elf_backend_check_relocs): Don't define.
(elf_backend_gc_mark_hook, elf_backend_gc_sweep_hook): Likewise.
(elf_backend_can_gc_sections, USE_RELA): Likwise.
(mep_elf_relocate_section): Move bfd_elf_perform_complex_relocation
call after we have calculated reloc value. Delete local sym
debug code. Use RELOC_FOR_GLOBAL_SYMBOL. Delete addend
adjusting code..
(elf_backend_rela_normal): ..instead define this.
ld/testsuite/
* ld-selective/sel-dump.exp: Add am33, m88k, mep to xfails.
* ld-selective/selective.exp: Don't run for same target list
we xfail sel-dump.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index d8d81df..a707cef 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -1814,14 +1814,7 @@ extern bfd_boolean bfd_elf_match_symbols_in_sections (asection *, asection *, struct bfd_link_info *); extern void bfd_elf_perform_complex_relocation - (bfd * output_bfd ATTRIBUTE_UNUSED, - struct bfd_link_info * info, - bfd * input_bfd, - asection * input_section, - bfd_byte * contents, - Elf_Internal_Rela * rel, - Elf_Internal_Sym * local_syms, - asection ** local_sections); + (bfd *, asection *, bfd_byte *, Elf_Internal_Rela *, bfd_vma); extern bfd_boolean _bfd_elf_setup_sections (bfd *); |