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.
This commit is contained in:
parent
ac8f0f721b
commit
ae3f8c2813
@ -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.
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user