public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/maskray/grte] elf: Remove incorrect dynamic-link.h from _dl_relocate_static_pie
@ 2021-08-27 21:48 Fangrui Song
  0 siblings, 0 replies; only message in thread
From: Fangrui Song @ 2021-08-27 21:48 UTC (permalink / raw)
  To: glibc-cvs

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

commit c56c9e5a70a1f531ecd59370d9bd86d693fe39cf
Author: Fangrui Song <i@maskray.me>
Date:   Fri Aug 27 14:47:29 2021 -0700

    elf: Remove incorrect dynamic-link.h from _dl_relocate_static_pie
    
    The header is included without STATIC_PIE_BOOTSTRAP.
    This may introduce harmful GOT relocation on aarch64.

Diff:
---
 elf/dl-reloc-static-pie.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/elf/dl-reloc-static-pie.c b/elf/dl-reloc-static-pie.c
index 1f6c824aaf..5218c641a9 100644
--- a/elf/dl-reloc-static-pie.c
+++ b/elf/dl-reloc-static-pie.c
@@ -19,7 +19,6 @@
 #if ENABLE_STATIC_PIE
 #include <unistd.h>
 #include <ldsodefs.h>
-#include "dynamic-link.h"
 
 #ifndef NESTING
 # define STATIC_PIE_BOOTSTRAP


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

only message in thread, other threads:[~2021-08-27 21:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-27 21:48 [glibc/maskray/grte] elf: Remove incorrect dynamic-link.h from _dl_relocate_static_pie Fangrui Song

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