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
argp-ldbl.h
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
dl_find_object.h elf: Add _dl_find_object function 2021-12-28 22:52:56 +01: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
sigstksz.h
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-07-14 16:01:14 -03: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
wchar-ldbl.h
wchar2.h
wctype-wchar.h
xopen_lim.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00