1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-17 16:09:43 +03:00

Merge pull request #1176 from sicherha/fix_unit_tests_on_s390x

This commit is contained in:
Rui Ueyama 2024-01-19 17:58:52 +09:00 committed by GitHub
commit 5d04d9c6cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# GCC produces buggy code for this test case on s390x.
# https://sourceware.org/bugzilla/show_bug.cgi?id=29655
[ $MACHINE = s390x ] && $CC -v 2>&1 | grep -E '^gcc version 1[0-3]\.' && skip
[ $MACHINE = s390x ] && $CC -v 2>&1 | grep -E '^gcc version 1[0-4]\.' && skip
cat <<EOF | $CC -c -fPIC -o$t/a.o -xc -
int foo = 4;

View File

@ -3,7 +3,7 @@
# GCC produces buggy code for this test case on s390x.
# https://sourceware.org/bugzilla/show_bug.cgi?id=29655
[ $MACHINE = s390x ] && $CC -v 2>&1 | grep -E '^gcc version 1[0-3]\.' && skip
[ $MACHINE = s390x ] && $CC -v 2>&1 | grep -E '^gcc version 1[0-4]\.' && skip
cat <<EOF | $CC -o $t/a.so -fPIC -shared -xc -
void *foo() {