glibc/sysdeps/unix/sysv/linux/bits
Steve Ellcey 82b66f858c aarch64: Add ILP32 support
Add support for the ILP32 abi variant to aarch64.

2017-09-01  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
	    Yury Norov  <ynorov@caviumnetworks.com>
	    Steve Ellcey  <sellcey@caviumnetworks.com>

	* elf/cache.c (print_entry): Add FLAG_AARCH64_LIB32.
	* sysdeps/aarch64/configure.ac (HAVE_AARCH64_ILP32): New define.
	(default-abi): Allow for ilp32 ABI.
	* sysdeps/aarch64/configure: Regenerate.
	* sysdeps/aarch64/Implies: Deleted.
	* sysdeps/aarch64/ilp32/Implies: New file.
	* sysdeps/aarch64/ilp32/Implies-after: New file.
	* sysdeps/aarch64/lp64/Implies: New file.
	* sysdeps/aarch64/lp64/Implies-after: New file.
	* sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
	(__PTHREAD_RWLOCK_INT_FLAGS_SHARED): Set to 1.
	* sysdeps/aarch64/preconfigure (machine): Check for ilp32/lp64.
	* sysdeps/aarch64/tls-macros.h (TLS_IE): Remove register specification
	for __result and ifdef for ILP32.
	* sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB32): New define.
	* sysdeps/unix/sysv/linux/aarch64/Implies: Remove generic and
	wordsize-64 entries.
	* sysdeps/unix/sysv/linux/aarch64/Makefile (abi-variants): Add
	new variants for ilp32 and ilp32_be.
	(abi-lp64-condition, abi-lp64_be-condition): Check for __WORDSIZE
	equal to 64.
	(abi-ilp32-condition, abi-ilp32_be-condition): New.
	* sysdeps/unix/sysv/linux/aarch64/configure.ac (arch_minimum_kernel):
	Use different value for ILP32.
	(LIBC_SLIBDIR_RTLDDIR): Modify for ILP32.
	* sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
	* sysdeps/unix/sysv/linux/aarch64/ilp32/Implies: New file.
	* sysdeps/unix/sysv/linux/aarch64/ilp32/c++-types.data: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/ilp32/kernel_stat.h: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/ilp32/shlib-versions: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/bits/stat.h: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/bits/statfs.h: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/bits/typesizes.h: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/bits/utmp.h: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/bits/utmpx.h: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/Implies: Add unix/sysv/linux/aarch64.
	* sysdeps/unix/sysv/linux/aarch64/ioctl.S: Move to lp64 directory.
	* sysdeps/unix/sysv/linux/aarch64/mmap.c: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/c++-types.data: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/ldd-rewrite.sed: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/ipc_priv.h (__IPC_64): Check __ILP32
	when setting.
	* sysdeps/unix/sysv/linux/arm/readelflib.c (process_elf_file):
	Check for EM_AARCH64 when processing ELFCLASS32 object.
	* sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLCK,
	F_SETLKW): Check for __OFF_T_MATCHES_OFF64_T when defining.
2019-08-01 10:06:02 +01:00
..
types Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
a.out.h
dirent.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
dirent_ext.h Linux: Move getdents64 to <dirent.h> 2019-07-29 21:02:46 +02:00
epoll.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
errno.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
eventfd.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
fcntl-linux.h aarch64: Add ILP32 support 2019-08-01 10:06:02 +01:00
fcntl.h
in.h Add IPV6_ROUTER_ALERT_ISOLATE from Linux 5.1 to bits/in.h. 2019-06-13 16:08:20 +00:00
initspin.h
inotify.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ioctl-types.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ioctls.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ipc.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
local_lim.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mman-linux.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mman-map-flags-generic.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mman-shared.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mman.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mqueue.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
msq-pad.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
msq.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
param.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
poll.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
posix_opt.h manual: Document lack of conformance of sched_* functions [BZ #14829] 2019-02-02 14:15:27 +01:00
procfs-extra.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
procfs-id.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
procfs-prregset.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
procfs.h
ptrace-shared.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
resource.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sched.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sem-pad.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sem.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
shm-pad.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
shm.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
shmlba.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigaction.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigcontext.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigevent-consts.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
siginfo-arch.h
siginfo-consts-arch.h
siginfo-consts.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
signal_ext.h Linux: Add the tgkill function 2019-05-14 22:55:51 +02:00
signalfd.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
signum.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigstack.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
socket-constants.h Linux: Use in-tree copy of SO_ constants for !__USE_MISC [BZ #24532] 2019-07-24 10:59:34 +02:00
socket.h Linux: Use in-tree copy of SO_ constants for !__USE_MISC [BZ #24532] 2019-07-24 10:59:34 +02:00
socket_type.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ss_flags.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
stat.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
statfs.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
statvfs.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
statx.h Linux: Fix __glibc_has_include use for <sys/stat.h> and statx 2019-06-14 16:28:41 +02:00
sys_errlist.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sysctl.h
termios-baud.h termios: Consolidate Baud Rate Selection definitions (BZ#23783) 2019-01-03 09:32:12 -02:00
termios-c_cc.h termios: Consolidate termios c_cc symbolic constants 2019-01-03 09:32:12 -02:00
termios-c_cflag.h termios: Consolidate control mode definitions 2019-01-03 09:32:12 -02:00
termios-c_iflag.h termios: Consolidate Input Modes definitions. 2019-01-03 09:32:12 -02:00
termios-c_lflag.h termios: Consolidate local mode definitions 2019-01-03 09:32:12 -02:00
termios-c_oflag.h termios: Consolidate Output Modes definitions 2019-01-03 09:32:12 -02:00
termios-misc.h termios: Consolidate termios.h 2019-01-03 09:32:12 -02:00
termios-struct.h termios: Consolidate struct termios 2019-01-03 09:32:12 -02:00
termios-tcflow.h termios: Consolidate tcflow symbolic constants 2019-01-03 09:32:12 -02:00
termios.h termios: Consolidate termios.h 2019-01-03 09:32:12 -02:00
time.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
timerfd.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
timex.h Break further lines before not after operators. 2019-02-26 15:01:50 +00:00
uio-ext.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
uio_lim.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
unistd_ext.h Linux: Move getdents64 to <dirent.h> 2019-07-29 21:02:46 +02:00
utsname.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
waitflags.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00