mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-07 13:28:05 +08:00
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>
This commit is contained in:
parent
d773aff467
commit
bce70034b1
1
configure
vendored
1
configure
vendored
@ -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"
|
||||
|
@ -1899,6 +1899,7 @@ cat > conftest.S <<EOF
|
||||
_start:
|
||||
.globl __start
|
||||
__start:
|
||||
.byte 0
|
||||
EOF
|
||||
if test $libc_cv_cc_pie_default = yes; then
|
||||
pde_ld_flags="-no-pie"
|
||||
|
Loading…
Reference in New Issue
Block a user