diff options
author | Olivier Hainque <hainque@adacore.com> | 2021-12-13 08:06:46 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@adacore.com> | 2021-12-13 13:54:11 +0000 |
commit | 55fb12f12fee7313be1d3fb965e63d4c8580eb95 (patch) | |
tree | face31fd1a758ef278072d17f2b886b4063a01ba /libgcc/enable-execute-stack-empty.c | |
parent | b80e6d97a9e2425f2a8b97a436335e0abf9105db (diff) | |
download | gcc-55fb12f12fee7313be1d3fb965e63d4c8580eb95.zip gcc-55fb12f12fee7313be1d3fb965e63d4c8580eb95.tar.gz gcc-55fb12f12fee7313be1d3fb965e63d4c8580eb95.tar.bz2 |
Include yvals.h for VxWorks < 7 RTPs as well
For -mrtp on VxWorks 6.9, at least inttypes.h ends up #including
system headers checking that _BITS_BYTES is 8, which the system yvals.h
defines. We do pre-include _yvals.h ahead of inttypes.h for this kind of
purpose, but it currently assumes that only VxWorks >= 7 provides yvals.h.
This results in unexpected configure checks failures, complaining about
_BITS_BYTES not being 8, spotted while inspecting libstdc++ config.log for
unrelated reasons.
This change relaxes the guard in _yvals.h to include yvals.h for
__RTP__ in addition to version >= 7.
2021-12-13 Olivier Hainque <hainque@adacore.com>
* config/vxworks/_yvals.h: #include yvals.h also if
defined(__RTP__).
Diffstat (limited to 'libgcc/enable-execute-stack-empty.c')
0 files changed, 0 insertions, 0 deletions