aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2026-03-13 19:25:04 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2026-03-13 19:25:04 +0000
commitc70f382a8b3907069589954433fe091687f15373 (patch)
treec0d032ff603049818aa5d8451653b2dfceb05eed
parent703901bce15bdd746cb20ab3fc88f5859924cf76 (diff)
rtld-elf: Remove stray _exit prototype for aarch64
It's not clear why this is here. It's existed since the very first version of rtld-elf for aarch64 but has never been used, and anything actually using exit or _exit should be using rtld_libc.h's #define that aliases them to __sys_exit. Fixes: 047c6e3ae6ab ("Add the arm64 code to the runtime linker. It's not able to be built as we still need libc_pic for a few things, but this is expected to be ready soon.")
-rw-r--r--libexec/rtld-elf/aarch64/reloc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libexec/rtld-elf/aarch64/reloc.c b/libexec/rtld-elf/aarch64/reloc.c
index 85f7c1b4022a..96ee13048d81 100644
--- a/libexec/rtld-elf/aarch64/reloc.c
+++ b/libexec/rtld-elf/aarch64/reloc.c
@@ -44,8 +44,6 @@ void *_rtld_tlsdesc_static(void *);
void *_rtld_tlsdesc_undef(void *);
void *_rtld_tlsdesc_dynamic(void *);
-void _exit(int);
-
bool
arch_digest_dynamic(struct Struct_Obj_Entry *obj, const Elf_Dyn *dynp)
{