diff options
author | Olivier Hainque <hainque@adacore.com> | 2018-09-21 12:43:46 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@gcc.gnu.org> | 2018-09-21 12:43:46 +0000 |
commit | caa6283465daed977ab75d16116e5830ae3299aa (patch) | |
tree | 32d28eff2d42c1154be7893de0724636c860d31c /gcc/config.gcc | |
parent | 43a0fd7df862addd12018a74330ba0e5248f877f (diff) | |
download | gcc-caa6283465daed977ab75d16116e5830ae3299aa.zip gcc-caa6283465daed977ab75d16116e5830ae3299aa.tar.gz gcc-caa6283465daed977ab75d16116e5830ae3299aa.tar.bz2 |
Introduce TARGET_VXWORKS64 for VxWorks 64bit ports
2018-09-21 Olivier Hainque <hainque@adacore.com>
* config.gcc: Enforce def of TARGET_VXWORKS64 to 1 from
triplet, similar to support for VxWorks7.
* config/vxworks-dummy.h: Provide a default definition
of TARGET_VXWORKS64 to 0.
From-SVN: r264474
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 8c8bc80..0b4f2be 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -941,6 +941,11 @@ case ${target} in tm_defines="$tm_defines TARGET_VXWORKS7=1" ;; esac + case $target in + *64-*-vxworks*) + tm_defines="$tm_defines TARGET_VXWORKS64=1" + ;; + esac ;; *-*-elf|arc*-*-elf*) # Assume that newlib is being used and so __cxa_atexit is provided. |