summaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.h
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2004-02-09 08:04:00 +0000
committerRichard Sandiford <rsandifo@nildram.co.uk>2004-02-09 08:04:00 +0000
commitfa29cdf548c4d5ea411b9dce9dd0f0a2a0d4e8c2 (patch)
tree94230a198163fb228fb852bc948757d64a9668bc /bfd/elfxx-mips.h
parent0b5ca37c078df2e9fbd74aeec5280dff46cc12fc (diff)
downloadgdb-fa29cdf548c4d5ea411b9dce9dd0f0a2a0d4e8c2.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-mips.h')
-rw-r--r--bfd/elfxx-mips.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elfxx-mips.h b/bfd/elfxx-mips.h
index d3787e9ef96..9e5d7afe427 100644
--- a/bfd/elfxx-mips.h
+++ b/bfd/elfxx-mips.h
@@ -24,6 +24,8 @@ extern bfd_boolean _bfd_mips_elf_new_section_hook
(bfd *, asection *);
extern void _bfd_mips_elf_symbol_processing
(bfd *, asymbol *);
+extern bfd_boolean _bfd_mips_elf_name_local_section_symbols
+ (bfd *);
extern bfd_boolean _bfd_mips_elf_section_processing
(bfd *, Elf_Internal_Shdr *);
extern bfd_boolean _bfd_mips_elf_section_from_shdr
@@ -119,4 +121,6 @@ extern bfd_vma _bfd_mips_elf_sign_extend
(bfd_vma, int);
extern struct bfd_elf_special_section const _bfd_mips_elf_special_sections[];
+#define elf_backend_name_local_section_symbols \
+ _bfd_mips_elf_name_local_section_symbols
#define elf_backend_special_sections _bfd_mips_elf_special_sections