diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 1999-06-03 18:48:24 +0000 |
---|---|---|
committer | Joern Rennecke <joern.rennecke@embecosm.com> | 1999-06-03 18:48:24 +0000 |
commit | 875f7f6940b2e802454dac25028ad90abf254562 (patch) | |
tree | 13763ca85897ad1ae8fc636b87631822c2a4f005 /bfd/libbfd-in.h | |
parent | 762100ed5601d4decef0849bca204f27f94fc6c4 (diff) | |
download | gdb-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-in.h')
-rw-r--r-- | bfd/libbfd-in.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h index 057bba2..dd6b72c 100644 --- a/bfd/libbfd-in.h +++ b/bfd/libbfd-in.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. |