From: H.J. Lu Date: Sun, 15 Jun 2025 04:37:26 +0000 (+0800) Subject: elf: Remove the unused _etext declaration X-Git-Tag: glibc-2.42~143 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90cf97bb9d56d36197e1e83b8570daec3af43fca;p=thirdparty%2Fglibc.git elf: Remove the unused _etext declaration Since commit 53df2ce6885da3d0e89e87dca7b095622296014f Author: Florian Weimer Date: Fri Sep 8 13:02:06 2023 +0200 elf: Remove unused l_text_end field from struct link_map removed the only reference to _etext, also remove the unused _etext declaration. Signed-off-by: H.J. Lu --- diff --git a/elf/rtld.c b/elf/rtld.c index 3af8ee63c3..8e8f0e6253 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -428,7 +428,6 @@ static ElfW(Addr) _dl_start_final (void *arg, /* These are defined magically by the linker. */ extern const ElfW(Ehdr) __ehdr_start attribute_hidden; -extern char _etext[] attribute_hidden; extern char _end[] attribute_hidden;