aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-08-17 09:07:35 +0000
committerJakub Jelinek <jakub@redhat.com>2004-08-17 09:07:35 +0000
commit90e3cdf2a90318ccd4b5612d1e9fbd56ada53d84 (patch)
tree9d031cf419b1c87199a3e574a76499b1b27f0e07 /bfd/bfd-in2.h
parent7c2c850509cdc711332dcffedef489386aee0a76 (diff)
downloadgdb-90e3cdf2a90318ccd4b5612d1e9fbd56ada53d84.zip
gdb-90e3cdf2a90318ccd4b5612d1e9fbd56ada53d84.tar.gz
gdb-90e3cdf2a90318ccd4b5612d1e9fbd56ada53d84.tar.bz2
bfd/
* elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Only define if not yet defined. * elf64-ppc.c (bfd_elf64_get_synthetic_symtab): Define. (synthetic_opd, synthetic_relocatable): New variables. (compare_symbols, compare_relocs): New helper routines. (ppc64_elf_get_synthetic_symtab): New function. * bfd.c (bfd_get_synthetic_symtab): Rename dynsyms argument to relsyms. * bfd-in2.h: Regenerated. * elf.c (_bfd_elf_get_synthetic_symtab): Rename dynsyms argument to relsyms. Return 0 if abfd is relocatable. binutils/ * objdump.c (dump_bfd): For relocatable objects, pass syms instead of dynsyms to bfd_get_synthetic_symtab.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 20b7b83..01d6331 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -4109,8 +4109,8 @@ bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags);
#define bfd_canonicalize_dynamic_symtab(abfd, asymbols) \
BFD_SEND (abfd, _bfd_canonicalize_dynamic_symtab, (abfd, asymbols))
-#define bfd_get_synthetic_symtab(abfd, dynsyms, ret) \
- BFD_SEND (abfd, _bfd_get_synthetic_symtab, (abfd, dynsyms, ret))
+#define bfd_get_synthetic_symtab(abfd, relsyms, ret) \
+ BFD_SEND (abfd, _bfd_get_synthetic_symtab, (abfd, relsyms, ret))
#define bfd_get_dynamic_reloc_upper_bound(abfd) \
BFD_SEND (abfd, _bfd_get_dynamic_reloc_upper_bound, (abfd))