From 6628c742b2c16e785d3c884d9deeda5adb30ca12 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Thu, 13 Jan 2022 17:58:00 -0300 Subject: elf: Remove prelink support Prelinked binaries and libraries still work, the dynamic tags DT_GNU_PRELINKED, DT_GNU_LIBLIST, DT_GNU_CONFLICT just ignored (meaning the process is reallocated as default). The loader environment variable TRACE_PRELINKING is also removed, since it used solely on prelink. Checked on x86_64-linux-gnu, i686-linux-gnu, and aarch64-linux-gnu. Reviewed-by: Siddhesh Poyarekar --- include/link.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/link.h') diff --git a/include/link.h b/include/link.h index bef2820b40..03db14c7b0 100644 --- a/include/link.h +++ b/include/link.h @@ -203,10 +203,6 @@ struct link_map unsigned int l_contiguous:1; /* Nonzero if inter-segment holes are mprotected or if no holes are present at all. */ - unsigned int l_symbolic_in_local_scope:1; /* Nonzero if l_local_scope - during LD_TRACE_PRELINKING=1 - contains any DT_SYMBOLIC - libraries. */ unsigned int l_free_initfini:1; /* Nonzero if l_initfini can be freed, ie. not allocated with the dummy malloc in ld.so. */ -- cgit v1.2.3