diff options
Diffstat (limited to 'gcc/config/aarch64/aarch64-vxworks.h')
-rw-r--r-- | gcc/config/aarch64/aarch64-vxworks.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/config/aarch64/aarch64-vxworks.h b/gcc/config/aarch64/aarch64-vxworks.h index 41adada..7b4da93 100644 --- a/gcc/config/aarch64/aarch64-vxworks.h +++ b/gcc/config/aarch64/aarch64-vxworks.h @@ -66,9 +66,8 @@ along with GCC; see the file COPYING3. If not see #define VXWORKS_PERSONALITY "llvm" /* VxWorks uses R18 as a TCB pointer. We must pick something else as - the static chain and R18 needs to be claimed "fixed". Until we - arrange to override the common parts of the port family to - acknowledge the latter, configure --with-specs="-ffixed-r18". */ + the static chain and R18 needs to be claimed "fixed" (TARGET_OS_USES_R18 + does that in aarch64_conditional_register_usage). */ #undef STATIC_CHAIN_REGNUM #define STATIC_CHAIN_REGNUM 9 - +#define TARGET_OS_USES_R18 |