aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2004-02-09 08:04:00 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2004-02-09 08:04:00 +0000
commit174fd7f9556183397625dbfa99ef68ecd325c74b (patch)
tree0343a185c2e517f52888f5d2fb8e11af23d036b7 /bfd/elfxx-mips.h
parentedfae06341a087244f28127674aba54f20912885 (diff)
downloadgdb-174fd7f9556183397625dbfa99ef68ecd325c74b.zip
gdb-174fd7f9556183397625dbfa99ef68ecd325c74b.tar.gz
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-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 d3787e9..9e5d7af 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