musl/arch/arm/bits
Rich Felker 3814333964 switch all existing 32-bit archs to 64-bit time_t
this commit preserves ABI fully for existing interface boundaries
between libc and libc consumers (applications or libraries), by
retaining existing symbol names for the legacy 32-bit interfaces and
redirecting sources compiled against the new headers to alternate
symbol names. this does not necessarily, however, preserve the
pairwise ABI of libc consumers with one another; where they use
time_t-derived types in their interfaces with one another, it may be
necessary to synchronize updates with each other.

the intent is that ABI resulting from this commit already be stable
and permanent, but it will not be officially so until a release is
made. changes to some header-defined types that do not play any role
in the ABI between libc and its consumers may still be subject to
change.

mechanically, the changes made by this commit for each 32-bit arch are
as follows:

- _REDIR_TIME64 is defined to activate the symbol redirections in
  public headers

- COMPAT_SRC_DIRS is defined in arch.mak to activate build of ABI
  compat shims to serve as definitions for the original symbol names

- time_t and suseconds_t definitions are changed to long long (64-bit)

- IPC_STAT definition is changed to add the IPC_TIME64 bit (0x100),
  triggering conversion of semid_ds, shmid_ds, and msqid_ds split
  low/high time bits into new time_t members

- structs semid_ds, shmid_ds, msqid_ds, and stat are modified to add
  new 64-bit time_t/timespec members at the end, maintaining existing
  layout of other members.

- socket options (SO_*) and ioctl (sockios) command macros are
  redefined to use the kernel's "_NEW" values.

in addition, on archs where vdso clock_gettime is used, the
VDSO_CGT_SYM macro definition in syscall_arch.h is changed to use a
new time64 vdso function if available, and a new VDSO_CGT32_SYM macro
is added for use as fallback on kernels lacking time64.
2019-11-02 18:30:56 -04:00
..
alltypes.h.in switch all existing 32-bit archs to 64-bit time_t 2019-11-02 18:30:56 -04:00
fcntl.h move O_PATH definition back to arch bits 2015-04-01 19:31:06 -04:00
fenv.h fix detection of arm hardfloat 2013-08-16 17:09:07 -04:00
float.h fix FLT_ROUNDS to reflect the current rounding mode 2015-03-07 12:05:28 -05:00
hwcap.h arm: add HWCAP_ARM_ hwcap macros 2017-08-29 22:16:19 -04:00
ioctl_fix.h switch all existing 32-bit archs to 64-bit time_t 2019-11-02 18:30:56 -04:00
ipcstat.h switch all existing 32-bit archs to 64-bit time_t 2019-11-02 18:30:56 -04:00
msg.h switch all existing 32-bit archs to 64-bit time_t 2019-11-02 18:30:56 -04:00
posix.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
ptrace.h add arm and sh bits/ptrace.h 2018-09-20 17:56:29 -04:00
reg.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
sem.h switch all existing 32-bit archs to 64-bit time_t 2019-11-02 18:30:56 -04:00
setjmp.h change jmp_buf to share an underlying type and struct tag with sigjmp_buf 2013-07-24 02:17:02 -04:00
shm.h switch all existing 32-bit archs to 64-bit time_t 2019-11-02 18:30:56 -04:00
signal.h make brace placement in public header typedef'd structs consistent 2016-07-03 16:19:28 -04:00
socket.h switch all existing 32-bit archs to 64-bit time_t 2019-11-02 18:30:56 -04:00
stat.h switch all existing 32-bit archs to 64-bit time_t 2019-11-02 18:30:56 -04:00
stdint.h remove SIG_ATOMIC_MIN/MAX from stdint bits headers 2013-07-22 17:02:03 -04:00
syscall.h.in add new syscall numbers from linux v5.2 2019-09-11 10:40:39 -04:00
user.h fix regression in arm user.h that happened during big user.h changes 2012-12-04 09:32:45 -05:00