summaryrefslogtreecommitdiff
path: root/usr/src/test/elf-tests/tests
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2021-12-06 16:59:45 -0600
committerRichard Lowe <richlowe@richlowe.net>2021-12-07 13:55:19 -0600
commitda0032e1ff1dfffa47e6c553929524ba1d62ead3 (patch)
tree4213740f8dffbdebb47fa7265279e71a2a13bdc4 /usr/src/test/elf-tests/tests
parent55d6cb5d63bcf69dfa47b8c41c770a2d34f169b0 (diff)
downloadillumos-joyent-da0032e1ff1dfffa47e6c553929524ba1d62ead3.tar.gz
14292 elf-tests/tests/relocs/i386/got32x/got32x fails if compiler defaults to 64bit output
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/test/elf-tests/tests')
-rw-r--r--usr/src/test/elf-tests/tests/relocs/i386/got32x/got32x.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/test/elf-tests/tests/relocs/i386/got32x/got32x.sh b/usr/src/test/elf-tests/tests/relocs/i386/got32x/got32x.sh
index 1b468ef0d0..34847715c1 100644
--- a/usr/src/test/elf-tests/tests/relocs/i386/got32x/got32x.sh
+++ b/usr/src/test/elf-tests/tests/relocs/i386/got32x/got32x.sh
@@ -53,7 +53,7 @@ if (( $? != 0 )); then
exit 1;
fi
-gcc got32x.o -o got32x
+gcc -m32 got32x.o -o got32x
if (( $? != 0 )); then
print -u2 "Couldn't link ${TESTDIR}/got32x.s"
exit 1;