From: Jim Wilson Date: Sat, 7 Jul 2018 15:59:27 +0000 (+0000) Subject: RISC-V: Finish Ada port. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11fcb8f2a69bfdeeafc4b0594b71b85d4e285242;p=gcc.git RISC-V: Finish Ada port. gcc/ * config/riscv/riscv.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): New. From-SVN: r262501 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 350ebf518c5..8966da1051b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-07-07 Jim Wilson + + * config/riscv/riscv.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): New. + 2018-07-07 Tom de Vries * tree-dfa.c (dump_enumerated_decls): Handle cfun->cfg == NULL. diff --git a/gcc/config/riscv/riscv.c b/gcc/config/riscv/riscv.c index d87836f53f8..218f4de7d41 100644 --- a/gcc/config/riscv/riscv.c +++ b/gcc/config/riscv/riscv.c @@ -4786,6 +4786,10 @@ riscv_constant_alignment (const_tree exp, HOST_WIDE_INT align) #undef TARGET_WARN_FUNC_RETURN #define TARGET_WARN_FUNC_RETURN riscv_warn_func_return +/* The low bit is ignored by jump instructions so is safe to use. */ +#undef TARGET_CUSTOM_FUNCTION_DESCRIPTORS +#define TARGET_CUSTOM_FUNCTION_DESCRIPTORS 1 + struct gcc_target targetm = TARGET_INITIALIZER; #include "gt-riscv.h"