diff options
author | Olivier Hainque <hainque@adacore.com> | 2020-10-28 18:04:32 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@adacore.com> | 2020-10-30 08:25:26 +0000 |
commit | 17e8da49bfe6a91d13d30888cb9cea0ee255b945 (patch) | |
tree | 4f97393ed07e54adbc016df0b7618be99c5cde7d /gcc/combine.c | |
parent | 9a835ba4c00bc5f183a26a5335f14a2a428a2b78 (diff) | |
download | gcc-17e8da49bfe6a91d13d30888cb9cea0ee255b945.zip gcc-17e8da49bfe6a91d13d30888cb9cea0ee255b945.tar.gz gcc-17e8da49bfe6a91d13d30888cb9cea0ee255b945.tar.bz2 |
Predefine __ppc and __ppc__ for VxWorks 7
Unfortunately, some VxWorks 7r2 system headers rely on a
couple more variations of the predefined macros expected
to characterize a "powerpc" target that we discussed recently.
setjmp.h, for example, relies on __ppc and the absence of
a definition results in "gcc" dejagnu test failures from all
the tests #including that header, which stumble on:
#error "_JBLEN not set!"
The other case is __ppc__ expected by yvals.h, key to libstdc++.
This change adjusts the VxWorks 7 section of our configuration
to honor those expectations.
2020-10-29 Olivier Hainque <hainque@adacore.com>
gcc/
* config/rs6000/vxworks.h (TARGET_OS_CPP_BUILTINS): Also
builtin_define __ppc and __ppc__ for VxWorks 7.
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions