From 12af29ab10fb5677cf947bcd7530c5f57c97522e Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Sat, 14 Jul 2018 20:05:39 +0000 Subject: [PATCH] RISC-V: Fix nested function trampolines. gcc/ * config/riscv/linux.h (TARGET_ASM_FILE_END): New. From-SVN: r262660 --- gcc/ChangeLog | 4 ++++ gcc/config/riscv/linux.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 776a3c4434d..9179987e98c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-07-14 Jim Wilson + + * config/riscv/linux.h (TARGET_ASM_FILE_END): New. + 2018-07-14 Paul Koning * config/pdp11/pdp11.c (pdp11_rtx_costs): Bugfixes. diff --git a/gcc/config/riscv/linux.h b/gcc/config/riscv/linux.h index 85561846dad..e208c95fe13 100644 --- a/gcc/config/riscv/linux.h +++ b/gcc/config/riscv/linux.h @@ -66,3 +66,5 @@ along with GCC; see the file COPYING3. If not see %{rdynamic:-export-dynamic} \ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \ %{static:-static}}" + +#define TARGET_ASM_FILE_END file_end_indicate_exec_stack -- 2.30.2