summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-08-27 14:47:29 -0700
committerFangrui Song <i@maskray.me>2021-08-27 14:47:29 -0700
commitc56c9e5a70a1f531ecd59370d9bd86d693fe39cf (patch)
tree399cf9a67bffe19ed3bf5f18fcca378bec0ff6c8
parent6e39729bec3ad4780b19839f132e8b3027a7e692 (diff)
downloadglibc-maskray/grte-old.tar.gz
elf: Remove incorrect dynamic-link.h from _dl_relocate_static_piemaskray/grte-old
The header is included without STATIC_PIE_BOOTSTRAP. This may introduce harmful GOT relocation on aarch64.
-rw-r--r--elf/dl-reloc-static-pie.c1
1 files changed, 0 insertions, 1 deletions
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