glibc/include/bits
Tulio Magno Quites Machado Filho 2a44960cbc 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>
(cherry picked from commit d0fa09a770)
2022-08-31 10:29:46 +02:00
..
types time: Add 64-bit time_t support for ftime 2020-10-27 09:54:50 -03:00
argp-ldbl.h
cmathcalls.h
cpu-set.h linux: Use sched_getaffinity for __get_nprocs (BZ #27645) 2021-05-07 13:54:09 -03:00
dlfcn.h
endian.h
err-ldbl.h
error-ldbl.h
error.h
fcntl2.h
getopt_core.h
getopt_ext.h
getopt_posix.h
locale.h
mathcalls-helper-functions.h
mathcalls-narrow.h
mathcalls.h
monetary-ldbl.h
mqueue2.h
poll2.h
posix1_lim.h
posix2_lim.h
printf-ldbl.h
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
statx.h
stdio-ldbl.h
stdio.h
stdio2-decl.h Apply asm redirections in stdio.h before first use [BZ #27087] 2022-08-31 10:29:46 +02:00
stdio2.h
stdlib-float.h
stdlib-ldbl.h
stdlib.h
string2.h
string_fortified.h
strings_fortified.h
syslog-ldbl.h
syslog.h
types.h
unistd.h
unistd_ext.h linux: Add close_range 2021-07-08 14:08:13 -03:00
wchar-ldbl.h
wchar2.h
wctype-wchar.h
xopen_lim.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00