mirror of
https://github.com/rui314/mold.git
synced 2024-10-04 08:37:28 +03:00
Revert "Enable IFUNC tests on RISC-V" to fix CI
This reverts commit 70b69b2698
.
This commit is contained in:
parent
34b63e7f92
commit
1b9dc06150
@ -12,7 +12,10 @@ echo -n "Testing $testname ... "
|
||||
t=out/test/elf/$MACHINE/$testname
|
||||
mkdir -p $t
|
||||
|
||||
# Skip if libc is musl because musl does not support GNU IFUNC
|
||||
# IFUNC is not supported on RISC-V yet
|
||||
[ $MACHINE = riscv64 -o $MACHINE = riscv32 ] && { echo skipped; exit; }
|
||||
|
||||
# Skip if libc is musl because musl does not support GNU FUNC
|
||||
ldd --help 2>&1 | grep -q musl && { echo skipped; exit; }
|
||||
|
||||
cat <<EOF | $CC -fPIC -o $t/a.o -c -xc -
|
||||
|
@ -12,7 +12,11 @@ echo -n "Testing $testname ... "
|
||||
t=out/test/elf/$MACHINE/$testname
|
||||
mkdir -p $t
|
||||
|
||||
# Skip if libc is musl because musl does not support GNU IFUNC
|
||||
# IFUNC is not supported on RISC-V yet
|
||||
[ $MACHINE = riscv32 ] && { echo skipped; exit; }
|
||||
[ $MACHINE = riscv64 ] && { echo skipped; exit; }
|
||||
|
||||
# Skip if libc is musl because musl does not support GNU FUNC
|
||||
ldd --help 2>&1 | grep -q musl && { echo skipped; exit; }
|
||||
|
||||
cat <<EOF | $CC -o $t/a.o -c -xc -
|
||||
|
@ -12,7 +12,11 @@ echo -n "Testing $testname ... "
|
||||
t=out/test/elf/$MACHINE/$testname
|
||||
mkdir -p $t
|
||||
|
||||
# Skip if libc is musl because musl does not support GNU IFUNC
|
||||
# IFUNC is not supported on RISC-V yet
|
||||
[ $MACHINE = riscv32 ] && { echo skipped; exit; }
|
||||
[ $MACHINE = riscv64 ] && { echo skipped; exit; }
|
||||
|
||||
# Skip if libc is musl because musl does not support GNU FUNC
|
||||
ldd --help 2>&1 | grep -q musl && { echo skipped; exit; }
|
||||
|
||||
cat <<EOF | $CC -c -fPIC -o $t/a.o -xc -
|
||||
|
@ -23,6 +23,10 @@ ldd --help 2>&1 | grep -q musl && { echo skipped; exit; }
|
||||
# We need to implement R_386_GOT32X relaxation to support PIE on i386
|
||||
[ $MACHINE = i386 -o $MACHINE = i686 ] && { echo skipped; exit; }
|
||||
|
||||
# IFUNC is not supported on RISC-V yet
|
||||
[ $MACHINE = riscv64 -o $MACHINE = riscv32 ] && { echo skipped; exit; }
|
||||
[ $MACHINE = aarch64 ] && { echo skipped; exit; }
|
||||
|
||||
cat <<EOF | $CC -o $t/a.o -c -xc - -fPIC
|
||||
#include <stdio.h>
|
||||
|
||||
|
@ -15,6 +15,9 @@ mkdir -p $t
|
||||
echo 'int main() {}' | cc -o /dev/null -xc - -static >& /dev/null || \
|
||||
{ echo skipped; exit; }
|
||||
|
||||
# IFUNC is not supported on RISC-V yet
|
||||
[ $MACHINE = riscv64 -o $MACHINE = riscv32 ] && { echo skipped; exit; }
|
||||
|
||||
# Skip if libc is musl because musl does not support GNU IFUNC
|
||||
ldd --help 2>&1 | grep -q musl && { echo skipped; exit; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user