aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-24 15:02:20 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-04-17 16:12:40 -0300
commit96f8c9eefa06c2795aa3cfc689bfe801116d6221 (patch)
tree520b8447f5ed351419944dec1c14bf8e65826d8f /elf
parent942eea75573c400fb9d9c51f7cbcbdf38b603fe2 (diff)
downloadglibc-96f8c9eefa06c2795aa3cfc689bfe801116d6221.zip
glibc-96f8c9eefa06c2795aa3cfc689bfe801116d6221.tar.gz
glibc-96f8c9eefa06c2795aa3cfc689bfe801116d6221.tar.bz2
And defines to __attribute__ (__noclone__) iff compiler supports it.
Diffstat (limited to 'elf')
-rw-r--r--elf/tst-p_alignmod-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-p_alignmod-base.c b/elf/tst-p_alignmod-base.c
index d6930b9..3f90212 100644
--- a/elf/tst-p_alignmod-base.c
+++ b/elf/tst-p_alignmod-base.c
@@ -26,7 +26,7 @@
int foo __attribute__ ((aligned (ALIGN))) = 1;
bool
-__attribute__ ((weak, noclone, noinline))
+__attribute__ ((weak, noinline)) __attribute_noclone__
is_aligned_p (void *p, int align)
{
return (((uintptr_t) p) & (align - 1)) == 0;