aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-sh.c
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>1999-06-03 18:48:24 +0000
committerJoern Rennecke <joern.rennecke@embecosm.com>1999-06-03 18:48:24 +0000
commit875f7f6940b2e802454dac25028ad90abf254562 (patch)
tree13763ca85897ad1ae8fc636b87631822c2a4f005 /bfd/elf32-sh.c
parent762100ed5601d4decef0849bca204f27f94fc6c4 (diff)
downloadgdb-875f7f6940b2e802454dac25028ad90abf254562.zip
gdb-875f7f6940b2e802454dac25028ad90abf254562.tar.gz
gdb-875f7f6940b2e802454dac25028ad90abf254562.tar.bz2
* libbfd.c (_bfd_generic_verify_endian_match): New function.
* libbfd-in.h (_bfd_generic_verify_endian_match): Declare. * libbfd.h: Regenerate. * coff-sh.c (sh_merge_private_data): Delete. (coff_bfd_merge_private_bfd_data): Change to _bfd_generic_verify_endian_match. (elf32-sh.c): bfd_elf32_bfd_merge_private_bfd_data: Define.
Diffstat (limited to 'bfd/elf32-sh.c')
-rw-r--r--bfd/elf32-sh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf32-sh.c b/bfd/elf32-sh.c
index ebbe352..aa9bc00 100644
--- a/bfd/elf32-sh.c
+++ b/bfd/elf32-sh.c
@@ -2050,6 +2050,8 @@ sh_elf_check_relocs (abfd, info, sec, relocs)
#define elf_backend_relocate_section sh_elf_relocate_section
#define bfd_elf32_bfd_get_relocated_section_contents \
sh_elf_get_relocated_section_contents
+#define bfd_elf32_bfd_merge_private_bfd_data \
+ _bfd_generic_verify_endian_match
#define elf_backend_gc_mark_hook sh_elf_gc_mark_hook
#define elf_backend_gc_sweep_hook sh_elf_gc_sweep_hook