diff options
author | Nick Clifton <nickc@redhat.com> | 2017-04-07 11:48:08 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-04-07 11:48:08 +0100 |
commit | ae3f8c28134b52414a4c31df2e156615087c46e5 (patch) | |
tree | 006f78e879e5976dfbb31038cc1a6e1fe23c2474 /ld | |
parent | ac8f0f721bf0db9ffd0c6602744f1859cb4dd8d2 (diff) | |
download | fsf-binutils-gdb-ae3f8c28134b52414a4c31df2e156615087c46e5.zip fsf-binutils-gdb-ae3f8c28134b52414a4c31df2e156615087c46e5.tar.gz fsf-binutils-gdb-ae3f8c28134b52414a4c31df2e156615087c46e5.tar.bz2 |
Fix failure in x86_64 linker tests when compiling with a PIE enabled compiler.
PR 21090
* testsuite/ld-x86-64/x86-64.exp (undefined_weak): Explicitly
disable PIE for the non-pie version of the test.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/x86-64.exp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index f4917b7..c632fd8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2017-04-07 Nick Clifton <nickc@redhat.com> + + PR 21090 + * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Explicitly + disable PIE for the non-pie version of the test. + 2017-04-07 Alan Modra <amodra@gmail.com> * testsuite/ld-elf/mbind2a.s: Don't use @, the ARM comment char. diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp index e7a7f80..579ffc1 100644 --- a/ld/testsuite/ld-x86-64/x86-64.exp +++ b/ld/testsuite/ld-x86-64/x86-64.exp @@ -1277,7 +1277,7 @@ if { [isnative] && [which $CC] != 0 } { ] } - undefined_weak "" "" + undefined_weak "-fno-pie" "-no-pie" undefined_weak "-fPIE" "" undefined_weak "-fPIE" "-pie" undefined_weak "-fPIE" "-Wl,-z,nodynamic-undefined-weak" |