From 70bfe5a714745d22d30a0f29d582c64c2dad7f10 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 5 Dec 2019 03:56:40 +0000 Subject: [PATCH] * edtest.c (test1): Add noclone attribute. From-SVN: r278985 --- libbacktrace/ChangeLog | 4 ++++ libbacktrace/edtest.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 365aef7d4bd..9936620ba92 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,7 @@ +2019-12-04 Ian Lance Taylor + + * edtest.c (test1): Add noclone attribute. + 2019-12-04 Ian Lance Taylor * internal.h (enum dwarf_section): Define. diff --git a/libbacktrace/edtest.c b/libbacktrace/edtest.c index 0aafafcc152..17775d7c426 100644 --- a/libbacktrace/edtest.c +++ b/libbacktrace/edtest.c @@ -43,8 +43,7 @@ POSSIBILITY OF SUCH DAMAGE. */ #include "testlib.h" -static int test1 (void) __attribute__ ((noinline, unused)); -static int test1 (void) __attribute__ ((noinline, unused)); +static int test1 (void) __attribute__ ((noinline, noclone, unused)); extern int f2 (int); extern int f3 (int, int);