diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-01-24 13:06:05 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-01-24 13:06:05 +0100 |
commit | feb6d6b394bd0ebd74d3f4370394dfb94b1f011a (patch) | |
tree | 74217da91017677610cf7e0a4d141e15c24be3a5 /elf/dl-open.c | |
parent | f3bef6a748097d02d196df247f7b292c7b83744c (diff) | |
download | glibc-feb6d6b394bd0ebd74d3f4370394dfb94b1f011a.tar.gz glibc-feb6d6b394bd0ebd74d3f4370394dfb94b1f011a.tar.xz glibc-feb6d6b394bd0ebd74d3f4370394dfb94b1f011a.zip |
ld.so: Defer applying RELRO protection
This is a prerequisite of a future change which applies additional cross-object relocations after _dl_relocate_object has been called.
Diffstat (limited to 'elf/dl-open.c')
-rw-r--r-- | elf/dl-open.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c index cec54db413..d238fb2cc5 100644 --- a/elf/dl-open.c +++ b/elf/dl-open.c @@ -552,6 +552,8 @@ TLS generation counter wrapped! Please report this.")); } } + _dl_relocate_apply_relro (new); + /* Notify the debugger all new objects have been relocated. */ if (relocation_in_progress) LIBC_PROBE (reloc_complete, 3, args->nsid, r, new); |