diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2004-02-09 08:04:00 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@nildram.co.uk> | 2004-02-09 08:04:00 +0000 |
commit | 2ddcc5638915abb9bf09f1c4b268307aa1b5401d (patch) | |
tree | fd50821b5a33cc8690e056774dd47f04e8b66c6c /bfd/elfxx-target.h | |
parent | 1ec32beb6a6b83c7b5574ca2da4350fb491ca3bf (diff) | |
download | binutils-redhat-2ddcc5638915abb9bf09f1c4b268307aa1b5401d.tar.gz |
* 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 40fe8e76ec..ca0e47b32e 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, |