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/elfxx-target.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/elfxx-target.h')
-rw-r--r-- | bfd/elfxx-target.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h index 14a693a..5a5ca34 100644 --- a/bfd/elfxx-target.h +++ b/bfd/elfxx-target.h @@ -413,6 +413,9 @@ #ifndef elf_backend_print_symbol_all #define elf_backend_print_symbol_all NULL #endif +#ifndef elf_backend_output_arch_local_syms +#define elf_backend_output_arch_local_syms NULL +#endif #ifndef elf_backend_output_arch_syms #define elf_backend_output_arch_syms NULL #endif @@ -600,6 +603,7 @@ static const struct elf_backend_data elfNN_bed = elf_backend_gc_sweep_hook, elf_backend_post_process_headers, elf_backend_print_symbol_all, + elf_backend_output_arch_local_syms, elf_backend_output_arch_syms, elf_backend_copy_indirect_symbol, elf_backend_hide_symbol, |