Date: Fri, 13 Mar 2026 19:25:08 +0000 From: Jessica Clarke <jrtc27@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c70f382a8b39 - main - rtld-elf: Remove stray _exit prototype for aarch64 Message-ID: <69b46494.37979.66d145f1@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=c70f382a8b3907069589954433fe091687f15373 commit c70f382a8b3907069589954433fe091687f15373 Author: Jessica Clarke <jrtc27@FreeBSD.org> AuthorDate: 2026-03-13 19:25:04 +0000 Commit: Jessica Clarke <jrtc27@FreeBSD.org> CommitDate: 2026-03-13 19:25:04 +0000 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.") --- libexec/rtld-elf/aarch64/reloc.c | 2 -- 1 file changed, 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) {home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b46494.37979.66d145f1>
