From: H.J. Lu Date: Sun, 22 Dec 2024 00:31:25 +0000 (+0800) Subject: elf: Check PDE load address with non-empty text section X-Git-Tag: glibc-2.41~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bce70034b1122d504c9fb794684f3ec288d955e6;p=thirdparty%2Fglibc.git 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 Reviewed-by: Sam James --- 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" diff --git a/configure.ac b/configure.ac index bcf37310df..d230635a71 100644 --- a/configure.ac +++ b/configure.ac @@ -1899,6 +1899,7 @@ cat > conftest.S <