summaryrefslogtreecommitdiff
path: root/include/gcc-interface.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-05-15 22:32:32 +0930
committerAlan Modra <amodra@gmail.com>2023-05-17 11:21:43 +0930
commit80b6c32f233ed28607643c4e4e4e2ee3399fdfd7 (patch)
tree9a5c7034b77d2f91d94ac67eff67aff0225a8100 /include/gcc-interface.h
parent3318d80021140659fab083bc03cf6b0cc54a139d (diff)
downloadbinutils-gdb-80b6c32f233ed28607643c4e4e4e2ee3399fdfd7.tar.gz
PR29961, plugin-api.h: "Could not detect architecture endianess"
Found when attempting to build binutils on sparc sunos-5.8 where sys/byteorder.h defines _BIG_ENDIAN but not any of the BYTE_ORDER variants. This patch adds the extra tests to cope with the old machine, and tidies the header a little. PR 29961 plugin-api.h: When handling non-gcc or gcc < 4.6.0 include necessary header files before testing macros. Make more use of #elif. Test _LITTLE_ENDIAN and _BIG_ENDIAN in final tests.
Diffstat (limited to 'include/gcc-interface.h')
0 files changed, 0 insertions, 0 deletions