glibc/sysdeps
Martin Sebor 26492c0a14 Annotate additional APIs with GCC attribute access.
This change continues the improvements to compile-time out of bounds
checking by decorating more APIs with either attribute access, or by
explicitly providing the array bound in APIs such as tmpnam() that
expect arrays of some minimum size as arguments.  (The latter feature
is new in GCC 11.)

The only effects of the attribute and/or the array bound is to check
and diagnose calls to the functions that fail to provide a sufficient
number of elements, and the definitions of the functions that access
elements outside the specified bounds.  (There is no interplay with
_FORTIFY_SOURCE here yet.)

Tested with GCC 7 through 11 on x86_64-linux.
2021-05-06 11:01:05 -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
generic elf, nptl: Initialize static TLS directly in ld.so 2021-05-05 06:20:31 +02:00
gnu Annotate additional APIs with GCC attribute access. 2021-05-06 11:01:05 -06: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
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 Annotate additional APIs with GCC attribute access. 2021-05-06 11:01:05 -06:00
microblaze
mips
nios2 Update Nios II libm-test-ulps. 2021-04-01 19:41:40 +00:00
nptl nptl: Consolidate async cancel enable/disable implementation in libc 2021-05-05 17:19:32 +02:00
posix nptl: Move pthread_setcancelstate into libc 2021-04-21 19:49:50 +02:00
powerpc powerpc64le: Optimize memset for POWER10 2021-04-30 18:12:08 -03:00
pthread nptl: Move sem_unlink into libc 2021-05-05 17:19:50 +02:00
riscv
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 Annotate additional APIs with GCC attribute access. 2021-05-06 11:01:05 -06:00
wordsize-32
wordsize-64
x86 x86: Set rep_movsb_threshold to 2112 on processors with FSRM 2021-05-03 05:08:22 -07:00
x86_64 x86: Optimize memchr-evex.S 2021-05-03 21:18:03 -04:00