summaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2004-08-28 03:05:18 +0000
committerAlan Modra <amodra@bigpond.net.au>2004-08-28 03:05:18 +0000
commit419e0c0e30a74049d796e6a2db8ee865450b2ac4 (patch)
tree5ece505917dfa548cb202f4aaed71e66daeb447c /bfd/bfd.c
parente9566b5b034a1196af59f144450f54d20fe90180 (diff)
downloadgdb-419e0c0e30a74049d796e6a2db8ee865450b2ac4.tar.gz
bfd/
* bfd.c (bfd_get_synthetic_symtab): Pass counts and both symbol tables. * elf-bfd.h (_bfd_elf_get_synthetic_symtab): Adjust. * elf.c (_bfd_elf_get_synthetic_symtab): Adjust. * libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Adjust. * targets.c (struct bfd_target <_bfd_get_synthetic_symtab>): Adjust. * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't read symbols. Use both symbol tables on non-relocatable objects. Use a common error exit. Fix "mid" warning. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. binutils/ * objdump.c (dump_bfd): Pass both symbol tables to bfd_get_synthetic_symtab.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index dc30cfeeff1..e6f54c699da 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1218,8 +1218,9 @@ DESCRIPTION
.#define bfd_canonicalize_dynamic_symtab(abfd, asymbols) \
. BFD_SEND (abfd, _bfd_canonicalize_dynamic_symtab, (abfd, asymbols))
.
-.#define bfd_get_synthetic_symtab(abfd, relsyms, ret) \
-. BFD_SEND (abfd, _bfd_get_synthetic_symtab, (abfd, relsyms, ret))
+.#define bfd_get_synthetic_symtab(abfd, count, syms, dyncount, dynsyms, ret) \
+. BFD_SEND (abfd, _bfd_get_synthetic_symtab, (abfd, count, syms, \
+. dyncount, dynsyms, ret))
.
.#define bfd_get_dynamic_reloc_upper_bound(abfd) \
. BFD_SEND (abfd, _bfd_get_dynamic_reloc_upper_bound, (abfd))