diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-08-17 09:07:35 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-08-17 09:07:35 +0000 |
commit | d0ca8ee0762c04dfd4edbb4b54e83f30a5f604c6 (patch) | |
tree | f40d013950a8709922e650df8839db694cc1e8f8 /bfd/elfxx-target.h | |
parent | e9755617c639515075641c940ebc78033c911304 (diff) | |
download | binutils-redhat-d0ca8ee0762c04dfd4edbb4b54e83f30a5f604c6.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/elfxx-target.h')
-rw-r--r-- | bfd/elfxx-target.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h index b0861120d6..572e8e8f67 100644 --- a/bfd/elfxx-target.h +++ b/bfd/elfxx-target.h @@ -34,8 +34,10 @@ #define bfd_elfNN_canonicalize_dynamic_symtab \ _bfd_elf_canonicalize_dynamic_symtab +#ifndef bfd_elfNN_get_synthetic_symtab #define bfd_elfNN_get_synthetic_symtab \ _bfd_elf_get_synthetic_symtab +#endif #ifndef bfd_elfNN_canonicalize_reloc #define bfd_elfNN_canonicalize_reloc _bfd_elf_canonicalize_reloc #endif |