diff options
author | Kaz Kojima <kkojima@rr.iij4u.or.jp> | 2003-10-14 22:43:10 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@rr.iij4u.or.jp> | 2003-10-14 22:43:10 +0000 |
commit | 9bf7216d00061b535246359942c3a99531a9e41b (patch) | |
tree | a78e4e05886404239bb6d24acc8ee5532821df90 /bfd/elfxx-target.h | |
parent | b614a7028d7381e4ec589c60aa7edab0d1d60ada (diff) | |
download | gdb-9bf7216d00061b535246359942c3a99531a9e41b.zip gdb-9bf7216d00061b535246359942c3a99531a9e41b.tar.gz gdb-9bf7216d00061b535246359942c3a99531a9e41b.tar.bz2 |
* elf-bfd.h (struct elf_backend_data): New function pointer member
elf_backend_merge_symbol_attribute.
* elflink.h (elf_link_add_object_symbols): Adjust call to
elf_backend_merge_symbol_attribute if the backend defined it.
* elfxx-target.h (elf_backend_merge_symbol_attribute): New macro.
(elfNN_bed): Add that to the initializer.
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 544f8f3..2d1e5e2 100644 --- a/bfd/elfxx-target.h +++ b/bfd/elfxx-target.h @@ -361,6 +361,9 @@ #ifndef elf_backend_hide_symbol #define elf_backend_hide_symbol _bfd_elf_link_hash_hide_symbol #endif +#ifndef elf_backend_merge_symbol_attribute +#define elf_backend_merge_symbol_attribute NULL +#endif #ifndef elf_backend_emit_relocs #define elf_backend_emit_relocs NULL #endif @@ -483,6 +486,7 @@ static const struct elf_backend_data elfNN_bed = elf_backend_output_arch_syms, elf_backend_copy_indirect_symbol, elf_backend_hide_symbol, + elf_backend_merge_symbol_attribute, elf_backend_emit_relocs, elf_backend_count_relocs, elf_backend_grok_prstatus, |