glibc/include/bits
Tulio Magno Quites Machado Filho d0fa09a770 Apply asm redirections in stdio.h before first use [BZ #27087]
Compilers may not be able to apply asm redirections to functions after
these functions are used for the first time, e.g. clang 13.
Fix [BZ #27087] by applying all long double-related asm redirections
before using functions in bits/stdio.h.
However, as these asm redirections depend on the declarations provided
by libio/bits/stdio2.h, this header was split in 2:

 - libio/bits/stdio2-decl.h contains all function declarations;
 - libio/bits/stdio2.h remains with the remaining contents, including
   redirections.

This also adds the access attribute to __vsnprintf_chk that was missing.

Tested with build-many-glibcs.py.

Reviewed-by: Paul E. Murphy <murphyp@linux.ibm.com>
2022-07-14 16:01:14 -03:00
..
types time: Add 64-bit time_t support for ftime 2020-10-27 09:54:50 -03:00
argp-ldbl.h ldbl-opt: Add argp_error and argp_failure (bug 23983) 2019-03-01 15:21:32 -03:00
atomic_wide_counter.h nptl: Extract <bits/atomic_wide_counter.h> from pthread_cond_common.c 2021-11-17 12:20:13 +01:00
cmathcalls.h
cpu-set.h linux: Use sched_getaffinity for __get_nprocs (BZ #27645) 2021-05-07 13:54:09 -03:00
dl_find_object.h elf: Add _dl_find_object function 2021-12-28 22:52:56 +01:00
dlfcn.h
endian.h Split up endian.h to minimize exposure of BYTE_ORDER. 2019-10-01 14:54:46 -07:00
err-ldbl.h ldbl-opt: Add err, errx, verr, verrx, warn, warnx, vwarn, and vwarnx (bug 23984) 2019-03-01 15:24:51 -03:00
error-ldbl.h ldbl-opt: Add error and error_at_line (bug 23984) 2019-03-01 15:26:36 -03:00
error.h
fcntl2.h
getopt_core.h
getopt_ext.h
getopt_posix.h
locale.h
mathcalls-helper-functions.h
mathcalls-narrow.h Add build infrastructure for narrowing libm functions. 2018-02-09 21:18:52 +00:00
mathcalls.h
monetary-ldbl.h Add *-ldbl.h headers to include/bits 2018-12-11 15:00:11 -02:00
mqueue2.h Add missing header wrappers under include/ 2019-02-16 08:25:16 +01:00
poll2.h
posix1_lim.h
posix2_lim.h
printf-ldbl.h Add *-ldbl.h headers to include/bits 2018-12-11 15:00:11 -02:00
select2.h
setjmp2.h
sigstack.h sysconf: Add _SC_MINSIGSTKSZ/_SC_SIGSTKSZ [BZ #20305] 2021-02-01 11:00:52 -08:00
sigstksz.h sysconf: Add _SC_MINSIGSTKSZ/_SC_SIGSTKSZ [BZ #20305] 2021-02-01 11:00:52 -08:00
socket2.h
stab.def
statx-generic.h <sys/stat.h>: Use Linux UAPI header for statx if available and useful 2019-06-12 13:04:43 +02:00
statx.h Add the statx function 2018-07-10 16:14:45 +02:00
stdio2-decl.h Apply asm redirections in stdio.h before first use [BZ #27087] 2022-07-14 16:01:14 -03:00
stdio2.h Add missing header wrappers under include/ 2019-02-16 08:25:16 +01:00
stdio-ldbl.h Add *-ldbl.h headers to include/bits 2018-12-11 15:00:11 -02:00
stdio.h Add missing header wrappers under include/ 2019-02-16 08:25:16 +01:00
stdlib-float.h
stdlib-ldbl.h Add *-ldbl.h headers to include/bits 2018-12-11 15:00:11 -02:00
stdlib.h
string2.h
string_fortified.h
strings_fortified.h
syslog-ldbl.h Add *-ldbl.h headers to include/bits 2018-12-11 15:00:11 -02:00
syslog.h
types.h
unistd_ext.h linux: Add close_range 2021-07-08 14:08:13 -03:00
unistd.h
wchar2.h
wchar-ldbl.h Add *-ldbl.h headers to include/bits 2018-12-11 15:00:11 -02:00
wctype-wchar.h
xopen_lim.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00