diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2004-02-09 08:04:00 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2004-02-09 08:04:00 +0000 |
commit | 174fd7f9556183397625dbfa99ef68ecd325c74b (patch) | |
tree | 0343a185c2e517f52888f5d2fb8e11af23d036b7 /bfd/elfxx-target.h | |
parent | edfae06341a087244f28127674aba54f20912885 (diff) | |
download | fsf-binutils-gdb-174fd7f9556183397625dbfa99ef68ecd325c74b.zip fsf-binutils-gdb-174fd7f9556183397625dbfa99ef68ecd325c74b.tar.gz fsf-binutils-gdb-174fd7f9556183397625dbfa99ef68ecd325c74b.tar.bz2 |
* bfd-elf.h (elf_backend_name_local_section_symbols): New hook.
* elf.c (swap_out_syms): Use it to decide whether local section
symbols should be named.
* elfxx-target.h (elf_backend_name_local_section_symbols): New macro.
* elfxx-mips.h (_bfd_mips_elf_name_local_section_symbols): Declare.
(elf_backend_name_local_section_symbols): Define.
* elfxx-mips.c (_bfd_mips_elf_name_local_section_symbols): New.
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 40fe8e7..ca0e47b 100644 --- a/bfd/elfxx-target.h +++ b/bfd/elfxx-target.h @@ -274,6 +274,9 @@ #ifndef elf_backend_get_symbol_type #define elf_backend_get_symbol_type 0 #endif +#ifndef elf_backend_name_local_section_symbols +#define elf_backend_name_local_section_symbols 0 +#endif #ifndef elf_backend_section_processing #define elf_backend_section_processing 0 #endif @@ -456,6 +459,7 @@ static const struct elf_backend_data elfNN_bed = elf_backend_symbol_processing, elf_backend_symbol_table_processing, elf_backend_get_symbol_type, + elf_backend_name_local_section_symbols, elf_backend_section_processing, elf_backend_section_from_shdr, elf_backend_section_flags, |