From f46fe37e86aa04522258dad374d0c7bf9c443ed3 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Tue, 17 Jan 2017 18:02:55 +0000 Subject: [PATCH] re PR ada/67205 (eliminate No_Implicit_Dynamic_Code restriction violations) PR ada/67205 * config/aarch64/aarch64.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Define From-SVN: r244543 --- gcc/ChangeLog | 5 +++++ gcc/config/aarch64/aarch64.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 25e8f72872d..892ce5dbccf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-01-17 Eric Botcazou + + PR ada/67205 + * config/aarch64/aarch64.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Define + 2017-01-17 Jakub Jelinek PR debug/71669 diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 0cf7d12186a..67500c86bc7 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -15025,6 +15025,10 @@ aarch64_libgcc_floating_mode_supported_p #undef TARGET_OMIT_STRUCT_RETURN_REG #define TARGET_OMIT_STRUCT_RETURN_REG true +/* The architecture reserves bits 0 and 1 so use bit 2 for descriptors. */ +#undef TARGET_CUSTOM_FUNCTION_DESCRIPTORS +#define TARGET_CUSTOM_FUNCTION_DESCRIPTORS 4 + #if CHECKING_P #undef TARGET_RUN_TARGET_SELFTESTS #define TARGET_RUN_TARGET_SELFTESTS selftest::aarch64_run_selftests -- 2.30.2