glibc/sysdeps/nptl
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
..
bits Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sys Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_misc.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
dl-thread_gscope_wait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
dl-tls_init_tp.c nptl: __nptl_set_robust_list_avail must be nocommon 2021-04-22 11:08:43 +02:00
dl-tunables.list Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fork.c nptl: Invoke the set_robust_list system call directly in fork 2021-04-21 19:49:51 +02:00
futex-internal.h nptl: Move futex-internal into libc 2021-02-22 18:30:52 +01:00
gai_misc.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Implies
internaltypes.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
jmp-unwind.c nptl: Move __pthread_cleanup_upto into libc 2021-04-21 19:49:50 +02:00
libc_start_call_main.h nptl: Move __nptl_deallocate_tsd into libc 2021-04-21 19:49:50 +02:00
libc-lock.h nptl: Move legacy unwinding implementation into libc 2021-04-21 19:49:50 +02:00
libc-lockP.h nptl: Remove remnants of the libc/libpthread forwarder interface 2021-04-21 19:49:51 +02:00
librt-cancellation.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
lowlevellock-futex.h nptl: Remove private futex optimization [BZ #27304] 2021-02-04 15:00:20 +01:00
lowlevellock.h nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
Makeconfig Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Makefile nptl: Move futex-internal.c into main nptl directory 2021-02-22 18:30:52 +01:00
malloc-machine.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
proc_service.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_early_init.h nptl: Move internal symbol __mutex_aconf into libc 2021-04-21 19:49:51 +02:00
pthread_mutex_conf.h nptl: Move internal symbol __mutex_aconf into libc 2021-04-21 19:49:51 +02:00
pthread-offsets.h nptl: update default pthread-offsets.h 2020-02-10 17:01:21 +01:00
pthread.h Add __attribute_access_none to disable GCC warnings [BZ #27714] 2021-04-27 13:01:55 -06:00
setxid.h nptl: Move setxid broadcast implementation into libc 2021-04-21 19:49:51 +02:00
stdio-lock.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Subdirs
tcb-offsets.h
thrd_create.c C11 threads: Move implementation to sysdeps/pthread 2020-02-09 13:56:48 +01:00
thread_db.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
timer_routines.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue8x.c