aboutsummaryrefslogtreecommitdiff
path: root/gold/archive.cc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-04-20 12:33:55 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-04-20 12:40:42 -0700
commitafe9edbf486c4b27cceb258c11e104377512ec24 (patch)
treef8006b1cb19bdcd1dad92a1206df3235e488e937 /gold/archive.cc
parent0fad29560ee055f1253a8e40bfc09b413117480d (diff)
downloadgdb-afe9edbf486c4b27cceb258c11e104377512ec24.zip
gdb-afe9edbf486c4b27cceb258c11e104377512ec24.tar.gz
gdb-afe9edbf486c4b27cceb258c11e104377512ec24.tar.bz2
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.
Diffstat (limited to 'gold/archive.cc')
0 files changed, 0 insertions, 0 deletions