summaryrefslogtreecommitdiff
path: root/bfd/bfd.c
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
commit846f01fc4128b56bb597d7b4a4987f200f5e7a61 (patch)
treedec6fb6ab54707e828385539ad5ff857d315a8f8 /bfd/bfd.c
parent7fa570dba9ce7bb074f3fce6e1b14e87966b0bb9 (diff)
downloadgdb-846f01fc4128b56bb597d7b4a4987f200f5e7a61.tar.gz
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.c')
-rw-r--r--bfd/bfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index d888eb13337..dc30cfeeff1 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1218,8 +1218,8 @@ DESCRIPTION
.#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))