From: Eric Botcazou Date: Tue, 17 Jan 2017 18:02:55 +0000 (+0000) Subject: re PR ada/67205 (eliminate No_Implicit_Dynamic_Code restriction violations) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f46fe37e86aa04522258dad374d0c7bf9c443ed3;p=gcc.git 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 --- 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