diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-24 15:02:20 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-04-17 16:12:40 -0300 |
commit | 96f8c9eefa06c2795aa3cfc689bfe801116d6221 (patch) | |
tree | 520b8447f5ed351419944dec1c14bf8e65826d8f /debug | |
parent | 942eea75573c400fb9d9c51f7cbcbdf38b603fe2 (diff) | |
download | glibc-96f8c9eefa06c2795aa3cfc689bfe801116d6221.tar.gz glibc-96f8c9eefa06c2795aa3cfc689bfe801116d6221.tar.xz glibc-96f8c9eefa06c2795aa3cfc689bfe801116d6221.zip |
And defines to __attribute__ (__noclone__) iff compiler supports it.
Diffstat (limited to 'debug')
-rw-r--r-- | debug/tst-backtrace.h | 2 | ||||
-rw-r--r-- | debug/tst-ssp-1.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/debug/tst-backtrace.h b/debug/tst-backtrace.h index 53239dad59..5526cb2dc3 100644 --- a/debug/tst-backtrace.h +++ b/debug/tst-backtrace.h @@ -33,7 +33,7 @@ volatile int x; /* Use this attribute to prevent inlining, so that all expected frames are present. */ -#define NO_INLINE __attribute__ ((noinline, noclone, weak)) +#define NO_INLINE __attribute__ ((noinline, weak)) __attribute_noclone__ /* Look for a match in SYM from backtrace_symbols to NAME, a fragment of a function name. Ignore the filename before '(', but presume diff --git a/debug/tst-ssp-1.c b/debug/tst-ssp-1.c index a1e4fb0630..27f10edc56 100644 --- a/debug/tst-ssp-1.c +++ b/debug/tst-ssp-1.c @@ -21,7 +21,7 @@ #include <signal.h> static void -__attribute__ ((noinline, noclone)) +__attribute__ ((noinline)) __attribute_noclone__ test (char *foo) { int i; |