diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-03-12 22:52:12 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2003-03-12 22:52:12 +0000 |
commit | fee24f1c5bfe37742bcf681873d6cc9417b9c1b0 (patch) | |
tree | c397982c272d3c284aed37a8e47e94b0fa2f8b30 /bfd/elfxx-target.h | |
parent | 0a1e1ca1f645fe9728ae8fa5d5f20f11572285db (diff) | |
download | gdb-fee24f1c5bfe37742bcf681873d6cc9417b9c1b0.zip gdb-fee24f1c5bfe37742bcf681873d6cc9417b9c1b0.tar.gz gdb-fee24f1c5bfe37742bcf681873d6cc9417b9c1b0.tar.bz2 |
* elfxx-target.h (bfd_elfNN_canonicalize_reloc): Make it
overridable.
* elf64-mips.c (mips_elf64_canonicalize_reloc,
mips_elf64_get_dynamic_reloc_upper_bound,
mips_elf64_canonicalize_dynamic_reloc): New, adapted from elf.c.
(bfd_elf64_get_canonicalize_reloc,
bfd_elf64_get_dynamic_reloc_upper_bound,
bfd_elf64_canonicalize_dynamic_reloc): Define.
(mips_elf64_slurp_reloc_table): Support dynamic.
(mips_elf64_slurp_one_reloc_table): Adjust.
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 69e3782..734d78b 100644 --- a/bfd/elfxx-target.h +++ b/bfd/elfxx-target.h @@ -33,7 +33,9 @@ #endif #define bfd_elfNN_canonicalize_dynamic_symtab _bfd_elf_canonicalize_dynamic_symtab +#ifndef bfd_elfNN_canonicalize_reloc #define bfd_elfNN_canonicalize_reloc _bfd_elf_canonicalize_reloc +#endif #ifndef bfd_elfNN_find_nearest_line #define bfd_elfNN_find_nearest_line _bfd_elf_find_nearest_line #endif |