about summary refs log tree commit diff
path: root/sysdeps/aarch64/Makefile
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2021-12-30 17:08:36 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-05-17 10:14:03 +0100
commit1da064c015dce624cb19fcdc0bace7af2bd8caec (patch)
treed7da68d75f2cf23f909c0d97e0cbe8ea53946464 /sysdeps/aarch64/Makefile
parent9faf5262c77487c96da8a3e961b88c0b1879e186 (diff)
downloadglibc-1da064c015dce624cb19fcdc0bace7af2bd8caec.tar.gz
glibc-1da064c015dce624cb19fcdc0bace7af2bd8caec.tar.xz
glibc-1da064c015dce624cb19fcdc0bace7af2bd8caec.zip
aarch64: Move ld.so _start to separate file and drop _dl_skip_args
A separate asm file is easier to maintain than a macro that expands to
inline asm.

The RTLD_START macro is only needed now because _dl_start is local in
rtld.c, but _start has to call it, if _dl_start was made hidden then it
could be empty.

_dl_skip_args is no longer needed.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/aarch64/Makefile')
-rw-r--r--sysdeps/aarch64/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/aarch64/Makefile b/sysdeps/aarch64/Makefile
index 7183895d04..17fb1c5b72 100644
--- a/sysdeps/aarch64/Makefile
+++ b/sysdeps/aarch64/Makefile
@@ -33,6 +33,7 @@ tst-audit27-ENV = LD_AUDIT=$(objpfx)tst-auditmod27.so
 endif
 
 ifeq ($(subdir),elf)
+sysdep-rtld-routines += dl-start
 sysdep-dl-routines += tlsdesc dl-tlsdesc
 gen-as-const-headers += dl-link.sym