public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] elf: Remove spurios SHARED conditional from elf/rtld.c
@ 2023-05-31  5:35 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2023-05-31  5:35 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b376bb01fb343c4bd9a4ec30604dcd1fcbc04ff1

commit b376bb01fb343c4bd9a4ec30604dcd1fcbc04ff1
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed May 31 07:35:07 2023 +0200

    elf: Remove spurios SHARED conditional from elf/rtld.c
    
    elf/rtld.c is only ever built in SHARED mode.

Diff:
---
 elf/rtld.c | 2 --
 1 file changed, 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.  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-31  5:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-31  5:35 [glibc] elf: Remove spurios SHARED conditional from elf/rtld.c Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).