diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-09-20 07:15:02 +0800 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-11-09 15:28:45 +0100 |
commit | eb6504961a5de0abfdeb843eeb7848524b166acb (patch) | |
tree | e123de3c5cc54d28ee72cad38b26649be75b4995 | |
parent | x86-64: Never make R_X86_64_GOT64 section relative (diff) | |
download | binutils-gdb-eb6504961a5de0abfdeb843eeb7848524b166acb.tar.gz binutils-gdb-eb6504961a5de0abfdeb843eeb7848524b166acb.tar.bz2 binutils-gdb-eb6504961a5de0abfdeb843eeb7848524b166acb.zip |
x86-64: Disable PIE on PR gas/32189 test
Disable PIE on PR gas/32189 test, which contains the non-PIE assembly
source, to support GCC defaulted to PIE.
PR gas/32189
* testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS to linker
on PR gas/32189 test.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit 075c4ca29a1afb1fa19e3038cae5730487e99701)
(cherry picked from commit 238493e7f093a64825101b51de037b57a17cf02d)
-rw-r--r-- | ld/testsuite/ld-x86-64/x86-64.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp index a4f197dcf4d..09b0c04d01c 100644 --- a/ld/testsuite/ld-x86-64/x86-64.exp +++ b/ld/testsuite/ld-x86-64/x86-64.exp @@ -1922,7 +1922,7 @@ if { [isnative] && [check_compiler_available] } { ] \ [list \ "Run pr32189" \ - "-nostdlib -nostartfiles" \ + "$NOPIE_LDFLAGS -nostdlib -nostartfiles" \ "" \ { pr32189.s } \ "pr32189" \ |