diff options
author | Jan Beulich <jbeulich@suse.com> | 2025-08-15 12:22:03 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2025-08-15 12:22:03 +0200 |
commit | 16e7aa4aab7b0f8535e603d2a43a38f08011debc (patch) | |
tree | ec1b41aadbfa4d90949f03659e32a87295c3a89f | |
parent | bafcf0823c1ae4c2201670225c9cf14ccf2abc67 (diff) | |
download | binutils-16e7aa4aab7b0f8535e603d2a43a38f08011debc.zip binutils-16e7aa4aab7b0f8535e603d2a43a38f08011debc.tar.gz binutils-16e7aa4aab7b0f8535e603d2a43a38f08011debc.tar.bz2 |
bfd/TIC4x: correct COFF swapping functions for mixed-endianness binaries
Commit 3fa785190a4f ("Altered the CREATE_xxx_COFF_TARGET_VEC macro
arguments") pretty clearly screwed up the data swapping functions in the
new CREATE_BIGHDR_COFF_TARGET_VEC() macro. Since the flaw went unnoticed,
and since the correction doesn't cause any testsuite fallout, it further
seems pretty clear that all of this is entirely untested and largely
unused.
-rw-r--r-- | bfd/coffcode.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index a2ee036..4a1f4be 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -6133,9 +6133,9 @@ const bfd_target VAR = \ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */ \ \ /* Data conversion functions. */ \ - bfd_getb64, bfd_getb_signed_64, bfd_putb64, \ - bfd_getb32, bfd_getb_signed_32, bfd_putb32, \ - bfd_getb16, bfd_getb_signed_16, bfd_putb16, \ + bfd_getl64, bfd_getl_signed_64, bfd_putl64, \ + bfd_getl32, bfd_getl_signed_32, bfd_putl32, \ + bfd_getl16, bfd_getl_signed_16, bfd_putl16, \ \ /* Header conversion functions. */ \ bfd_getb64, bfd_getb_signed_64, bfd_putb64, \ |