]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - ld/testsuite/ld-x86-64/x86-64.exp
Use NOPIE_CFLAGS and NOPIE_LDFLAGS to disable PIE
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 7 Apr 2017 15:53:43 +0000 (08:53 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 7 Apr 2017 15:53:43 +0000 (08:53 -0700)
commita7eaf017f95932eb2d654bd61f4c4a873ba71f77
tree32106153180c4da5bda101549c6ef8e568290e2f
parent8170f7693bc0a9442c0aa280197925db92d48ca6
Use NOPIE_CFLAGS and NOPIE_LDFLAGS to disable PIE

Since not all compilers support -no-pie, NOPIE_CFLAGS and NOPIE_LDFLAGS
should be used to disable PIE.

PR ld/21090
* testsuite/ld-x86-64/x86-64.exp (undefined_weak): Use
NOPIE_CFLAGS and NOPIE_LDFLAGS to disable PIE for the non-pie
version of the test.
ld/ChangeLog
ld/testsuite/ld-x86-64/x86-64.exp