diff options
author | Paul Brook <paul@codesourcery.com> | 2006-05-24 17:10:02 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2006-05-24 17:10:02 +0000 |
commit | 4e617b1e975a43077d430dc131658b782bbc50d7 (patch) | |
tree | 96cda2ab935523f705e67954826709c7744e98b5 /bfd/elf-bfd.h | |
parent | 52ab56c201e0e1ca13578ad061c3b7ffbeb6438c (diff) | |
download | gdb-4e617b1e975a43077d430dc131658b782bbc50d7.zip gdb-4e617b1e975a43077d430dc131658b782bbc50d7.tar.gz gdb-4e617b1e975a43077d430dc131658b782bbc50d7.tar.bz2 |
2006-05-24 Paul Brook <paul@codesourcery.com>
bfd/
* elf-bfd.h (elf_backend_data): Add elf_backend_output_arch_local_syms
* elf32-arm.c (output_arch_syminfo): Define.
(elf32_arm_ouput_plt_map_sym, elf32_arm_output_plt_map,
elf32_arm_output_arch_local_syms): New functions.
(elf_backend_output_arch_local_syms): Define.
* elflink.c (bfd_elf_final_link): Call
elf_backend_output_arch_local_syms.
* elfxx-target.h (elf_backend_output_arch_local_syms): Provide default
definition.
(elfNN_bed): Add elf_backend_output_arch_local_syms.
ld/testsuite/
* ld-arm/arm-app-abs32.d: Update expected output.
* ld-arm/arm-app.d: Ditto.
* ld-arm/arm-lib-plt32.d: Ditto.
* ld-arm/arm-lib.d: Ditto.
* ld-arm/mixed-app-v5.d: Ditto.
* ld-arm/mixed-app.d: Ditto.
* ld-arm/mixed-lib.d: Ditto.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 3fba1c2..3a32fc4 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -865,8 +865,16 @@ struct elf_backend_data /* This function, if defined, is called after all local symbols and global symbols converted to locals are emitted into the symtab - section. It allows the backend to emit special global symbols + section. It allows the backend to emit special local symbols not handled in the hash table. */ + bfd_boolean (*elf_backend_output_arch_local_syms) + (bfd *, struct bfd_link_info *, void *, + bfd_boolean (*) (void *, const char *, Elf_Internal_Sym *, asection *, + struct elf_link_hash_entry *)); + + /* This function, if defined, is called after all symbols are emitted + into the symtab section. It allows the backend to emit special + global symbols not handled in the hash table. */ bfd_boolean (*elf_backend_output_arch_syms) (bfd *, struct bfd_link_info *, void *, bfd_boolean (*) (void *, const char *, Elf_Internal_Sym *, asection *, |