aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.h
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/libbfd.h
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/libbfd.h')
-rw-r--r--bfd/libbfd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index e395f72..c2f0a15 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -479,6 +479,9 @@ extern bfd_size_type _bfd_stringtab_add
/* Write out a string table. */
extern boolean _bfd_stringtab_emit PARAMS ((bfd *, struct bfd_strtab_hash *));
+
+/* Check that endianness of input and output file match. */
+extern boolean _bfd_generic_verify_endian_match PARAMS ((bfd *, bfd *));
/* Macros to tell if bfds are read or write enabled.