musl/include
Rich Felker 1febd21d3f add time64 symbol name redirects to public headers, under arch control
a _REDIR_TIME64 macro is introduced, which the arch's alltypes.h is
expected to define, to control redirection of symbol names for
interfaces that involve time_t and derived types. this ensures that
object files will only be linked to libc interfaces matching the ABI
whose headers they were compiled against.

along with time32 compat shims, which will be introduced separately,
the redirection also makes it possible for a single libc (static or
shared) to be used with object files produced with either the old
(32-bit time_t) headers or the new ones after 64-bit time_t switchover
takes place. mixing of such object files (or shared libraries) in the
same program will also be possible, but must be done with care; ABI
between libc and a consumer of the libc interfaces is guaranteed to
match by the the symbol name redirection, but pairwise ABI between
consumers of libc that define interfaces between each other in terms
of time_t is not guaranteed to match.

this change adds a dependency on an additional "GNU C" feature to the
public headers for existing 32-bit archs, which is generally
undesirable; however, the feature is one which glibc has depended on
for a long time, and thus which any viable alternative compiler is
going to need to provide. 64-bit archs are not affected, nor will
future 32-bit archs be, regardless of whether they are "new" on the
kernel side (e.g. riscv32) or just newly-added (e.g. a new sparc or
xtensa port). the same applies to newly-added ABIs for existing
machine-level archs.
2019-10-28 19:26:52 -04:00
..
arpa remove indirect use of endian.h from public headers 2019-10-17 16:03:42 -04:00
net
netinet remove indirect use of endian.h from public headers 2019-10-17 16:03:42 -04:00
netpacket add PACKET_IGNORE_OUTGOING sockopt from linux v4.20 2019-03-13 12:32:19 -04:00
scsi
sys add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
aio.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
alloca.h
alltypes.h.in adjust struct timespec definition to be time64-ready 2019-10-20 03:27:58 -04:00
ar.h
assert.h
byteswap.h
complex.h
cpio.h
crypt.h
ctype.h
dirent.h
dlfcn.h
elf.h elf.h: add NT_ARM_PAC{A,G}_KEYS from linux v5.1 2019-07-01 14:16:49 -04:00
endian.h make endian.h expose unprefixed macros, functions in standard profile 2019-10-17 16:26:22 -04:00
err.h
errno.h restore attribute((const)) to pthread_self and errno location decls 2018-10-16 14:10:27 -04:00
fcntl.h fcntl.h: add AT_RECURSIVE from linux v5.2 2019-09-11 10:40:31 -04:00
features.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
fenv.h
float.h
fmtmsg.h
fnmatch.h
ftw.h
getopt.h
glob.h glob: implement GLOB_TILDE and GLOB_TILDE_CHECK 2019-08-06 14:03:31 -04:00
grp.h
iconv.h
ifaddrs.h
inttypes.h
iso646.h
langinfo.h
lastlog.h
libgen.h
libintl.h
limits.h define LONG_MAX via arch alltypes.h, strip down bits/limits.h 2019-10-17 19:23:39 -04:00
link.h
locale.h
malloc.h
math.h define FP_FAST_FMA* when fma* can be inlined 2019-04-17 13:02:47 -04:00
memory.h
mntent.h
monetary.h
mqueue.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
netdb.h restore attribute((const)) to pthread_self and errno location decls 2018-10-16 14:10:27 -04:00
nl_types.h
paths.h
poll.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
pthread.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
pty.h
pwd.h
regex.h
resolv.h
sched.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
search.h
semaphore.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
setjmp.h
shadow.h
signal.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
spawn.h add posix_spawn [f]chdir file actions 2019-08-30 16:21:36 -04:00
stdalign.h
stdarg.h
stdbool.h
stdc-predef.h
stddef.h
stdint.h
stdio.h make FILE a complete type for pre-C11 standard profiles 2019-03-12 15:24:00 -04:00
stdio_ext.h
stdlib.h add secure_getenv function 2019-08-08 11:33:18 -04:00
stdnoreturn.h
string.h add explicit_bzero implementation 2018-06-26 16:59:12 -04:00
strings.h
stropts.h
syscall.h
sysexits.h
syslog.h
tar.h expose TSVTX unconditionally in tar.h 2019-03-13 10:42:57 -04:00
termios.h
tgmath.h
threads.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
time.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
uchar.h uchar.h: define char16_t and char32_t for old c++ 2018-07-17 22:24:03 -04:00
ucontext.h fix signature of function accepted by makecontext 2019-04-05 17:29:00 -04:00
ulimit.h
unistd.h add public declaration for optreset under appropriate feature profiles 2019-08-30 17:48:47 -04:00
utime.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
utmp.h
utmpx.h
values.h
wait.h
wchar.h make FILE a complete type for pre-C11 standard profiles 2019-03-12 15:24:00 -04:00
wctype.h
wordexp.h