public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/hjl/cet/master] rtld: Get architecture specific initializer in rtld_global
@ 2020-04-28 17:57 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2020-04-28 17:57 UTC (permalink / raw)
  To: glibc-cvs

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

commit f9a69d5fd4c9a3fd4435b6e58a818e3ebe198b00
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Apr 28 10:05:25 2020 -0700

    rtld: Get architecture specific initializer in rtld_global
    
    Include <dl-procruntime.c> to get architecture specific initializer in
    rtld_global.

Diff:
---
 elf/rtld.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/elf/rtld.c b/elf/rtld.c
index 0016db86a7..44b9fb0b3c 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -315,6 +315,8 @@ rtld_hidden_def (_dl_starting_up)
    (except those which cannot be added for some reason).  */
 struct rtld_global _rtld_global =
   {
+    /* Get architecture specific initializer.  */
+#include <dl-procruntime.c>
     /* Generally the default presumption without further information is an
      * executable stack but this is not true for all platforms.  */
     ._dl_stack_flags = DEFAULT_STACK_PERMS,


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

only message in thread, other threads:[~2020-04-28 17:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28 17:57 [glibc/hjl/cet/master] rtld: Get architecture specific initializer in rtld_global H.J. Lu

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).