Skip PIE indirect5 and indirect6 tests on i386
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 20 Apr 2017 19:33:55 +0000 (12:33 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 20 Apr 2017 19:40:42 +0000 (12:40 -0700)
commitafe9edbf486c4b27cceb258c11e104377512ec24
treef8006b1cb19bdcd1dad92a1206df3235e488e937
parent0fad29560ee055f1253a8e40bfc09b413117480d
Skip PIE indirect5 and indirect6 tests on i386

On i386, since GOT reference is needed to access global symbols in PIE,
those symbols are made dynamic.  Crash happens when there is a reference
to the same global symbol with a different symbol type in a shared
object.  Since mixing different types of the same symbol doesn't work in
general, this patch skips those tests on i386 as well as compiles non-PIE
indirect5 and indirect6 tests with $NOPIE_LDFLAGS and $NOPIE_CFLAGS.

PR ld/21402
* testsuite/ld-elf/indirect.exp: Pass $NOPIE_LDFLAGS and
$NOPIE_CFLAGS to non-PIE indirect5 and indirect6 tests.  Skip
PIE indirect5 and indirect6 tests on i386.
ld/ChangeLog
ld/testsuite/ld-elf/indirect.exp
This page took 0.036468 seconds and 4 git commands to generate.