diff options
author | Alexandre Oliva <oliva@adacore.com> | 2025-07-05 00:58:02 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2025-07-05 00:58:02 -0300 |
commit | 6c472b330ac4fc0dfbc9cf985e08923abc5bd530 (patch) | |
tree | 027b247b3de57772b2db3bf33fee5d240077c881 /libgo/go/internal/testlog/exit.go | |
parent | a90b869d386d51eee743598dfb08469db619ef57 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
Configuring gcc for --target=powerpc-wrs-vxworks7r2 sets things up for
a 64-bit compiler, just like powerpc64-wrs-vxworks7r2, except that
TARGET_VXWORKS64 is only defined as 1 for targets that match
*64-*-vxworks*.
With !TARGET_VXWORKS64, we get a 64-bit toolchain that defines
SIZE_TYPE, PTRDIFF_TYPE, and WCHAR_TYPE as 32-bit types, and that
breaks GCC passes that expect SIZE_TYPE and PTRDIFF_TYPE to be as wide
as pointers.
Arrange for TARGET_VXWORKS64 on ppc to match TARGET_64BIT, after using
it to select the default word size with driver self specs.
for gcc/ChangeLog
* config/rs6000/vxworks.h (SUBTARGET_DRIVER_SELF_SPECS):
Redefine to select word size matching TARGET_VXWORKS64.
(TARGET_VXWORKS64): Redefine in terms of TARGET_64BIT.
Diffstat (limited to 'libgo/go/internal/testlog/exit.go')
0 files changed, 0 insertions, 0 deletions