projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65cc53f
)
elf: Remove spurios SHARED conditional from elf/rtld.c
author
Florian Weimer
<fweimer@redhat.com>
Wed, 31 May 2023 05:35:07 +0000
(07:35 +0200)
committer
Florian Weimer
<fweimer@redhat.com>
Wed, 31 May 2023 05:35:07 +0000
(07:35 +0200)
elf/rtld.c is only ever built in SHARED mode.
elf/rtld.c
patch
|
blob
|
history
diff --git
a/elf/rtld.c
b/elf/rtld.c
index
8e1f596
..
a91e2a4
100644
(file)
--- 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. */