about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2023-05-31 07:35:07 +0200
committerFlorian Weimer <fweimer@redhat.com>2023-05-31 07:35:07 +0200
commitb376bb01fb343c4bd9a4ec30604dcd1fcbc04ff1 (patch)
tree7facf3e7a60ecbaa13eb35c56c76facd4f1a9f12 /elf
parent65cc53fe7c6556b90159b8c3da1eb283792387db (diff)
downloadglibc-b376bb01fb343c4bd9a4ec30604dcd1fcbc04ff1.tar.gz
glibc-b376bb01fb343c4bd9a4ec30604dcd1fcbc04ff1.tar.xz
glibc-b376bb01fb343c4bd9a4ec30604dcd1fcbc04ff1.zip
elf: Remove spurios SHARED conditional from elf/rtld.c
elf/rtld.c is only ever built in SHARED mode.
Diffstat (limited to 'elf')
-rw-r--r--elf/rtld.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 8e1f5966c6..a91e2a4471 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -2386,10 +2386,8 @@ dl_main (const ElfW(Phdr) *phdr,
      _dl_relocate_object might need to call `mprotect' for DT_TEXTREL.  */
   _dl_sysdep_start_cleanup ();
 
-#ifdef SHARED
   /* Auditing checkpoint: we have added all objects.  */
   _dl_audit_activity_nsid (LM_ID_BASE, LA_ACT_CONSISTENT);
-#endif
 
   /* Notify the debugger all new objects are now ready to go.  We must re-get
      the address since by now the variable might be in another object.  */