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 /string | |
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 'string')
-rw-r--r-- | string/tst-xbzero-opt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/string/tst-xbzero-opt.c b/string/tst-xbzero-opt.c index 2392eaa2c1..954fc61f89 100644 --- a/string/tst-xbzero-opt.c +++ b/string/tst-xbzero-opt.c @@ -97,7 +97,8 @@ static const unsigned char test_pattern[16] = static ucontext_t uc_main, uc_co; -static __attribute__ ((noinline, noclone)) int +static __attribute__ ((noinline)) __attribute_noclone__ +int use_test_buffer (unsigned char *buf) { unsigned int sum = 0; |