aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-12-22 08:31:25 +0800
committerH.J. Lu <hjl.tools@gmail.com>2024-12-22 16:16:45 +0800
commitbce70034b1122d504c9fb794684f3ec288d955e6 (patch)
tree6d119dce95dd4e94d54f2c34511cf8adb0c953ab /configure
parentd773aff467840f5ed305e40c180466e90bd88183 (diff)
downloadglibc-bce70034b1122d504c9fb794684f3ec288d955e6.tar.xz
glibc-bce70034b1122d504c9fb794684f3ec288d955e6.zip
elf: Check PDE load address with non-empty text section
Check PDE load address with non-empty text section: .globl _start _start: .globl __start .byte 0 Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 60fe529392..285e5997c7 100755
--- a/configure
+++ b/configure
@@ -8707,6 +8707,7 @@ else case e in #(
_start:
.globl __start
__start:
+ .byte 0
EOF
if test $libc_cv_cc_pie_default = yes; then
pde_ld_flags="-no-pie"