glibc/sysdeps
Martin Sebor a1561c3bbe Add __attribute_access_none to disable GCC warnings [BZ #27714]
GCC 11 warns when a pointer to an uninitialized object is passed
to a function that takes a const-qualified argument.  This is done
on the assumption that most such functions read from the object.
For the rare case of a function that doesn't, GCC 11 extends
attribute access to add a new mode called none.

POSIX pthread_setspecific() is one such rare function that takes
a const void* argument but that doesn't read from the object it
points to.  To suppress the -Wmaybe-uninitialized issued by GCC
11 when the address of an uninitialized object is passed to it
(e.g., the result of malloc()), this change #defines
__attr_access_none in cdefs.h and uses the macro on the function
in sysdeps/htl/pthread.h and sysdeps/nptl/pthread.h.
2021-04-27 13:01:55 -06:00
..
aarch64 elf: Remove lazy tlsdesc relocation related code 2021-04-21 14:35:53 +01:00
alpha nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
arc ARC: Update ulps 2021-04-14 09:24:45 -07:00
arm nptl: Move __pthread_unwind_next into libc 2021-04-21 19:49:50 +02:00
csky Reduce the statically linked startup code [BZ #23323] 2021-02-25 12:13:02 +01:00
generic elf: Introduce __tls_init_tp for second-phase TCB initialization 2021-04-21 19:49:51 +02:00
gnu Move sysdeps/gnu/unwind-resume.c to sysdeps/generic/unwind-resume.c 2021-03-01 15:59:49 +01:00
hppa nptl: Move pthread_spin_init, Move pthread_spin_unlock into libc 2021-04-23 17:06:44 +02:00
htl Add __attribute_access_none to disable GCC warnings [BZ #27714] 2021-04-27 13:01:55 -06:00
hurd Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
i386 nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
ia64 nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
ieee754 Improve the accuracy of tgamma (BZ #26983) 2021-04-07 13:23:39 +02:00
m68k m68: Fix build after 9acda61d94 2021-04-06 15:10:31 -03:00
mach hurd: Export _hurd_libc_proc_init 2021-04-12 00:23:36 +02:00
microblaze Reduce the statically linked startup code [BZ #23323] 2021-02-25 12:13:02 +01:00
mips Implement <unwind-link.h> for dynamically loading the libgcc_s unwinder 2021-03-01 15:58:01 +01:00
nios2 Update Nios II libm-test-ulps. 2021-04-01 19:41:40 +00:00
nptl Add __attribute_access_none to disable GCC warnings [BZ #27714] 2021-04-27 13:01:55 -06:00
posix nptl: Move pthread_setcancelstate into libc 2021-04-21 19:49:50 +02:00
powerpc powerpc: Add log IFUNC multiarch support for POWER10 2021-04-26 10:10:29 -03:00
pthread pthread: Use pthread_mutexattr_setrobust in tests 2021-04-23 09:51:57 +02:00
riscv Reduce the statically linked startup code [BZ #23323] 2021-02-25 12:13:02 +01:00
s390 s390: Update ulps 2021-04-15 11:05:43 +02:00
sh nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
sparc nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
unix nptl: Remove __h_errno_location from libpthread 2021-04-23 18:08:38 +02:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
x86 x86: tst-cpu-features-supports.c: Update AMX check 2021-04-22 10:09:49 -07:00
x86_64 x86: Optimize strchr-evex.S 2021-04-25 10:04:39 -07:00