1
1
mirror of https://github.com/rui314/mold.git synced 2024-10-26 13:10:46 +03:00
This commit is contained in:
Rui Ueyama 2023-07-30 11:25:18 +09:00
parent aa644914fe
commit 6d667fad45

View File

@ -5,6 +5,9 @@ cat <<EOF | $CC -march=rv64imafd_xfoo1p5 -o $t/a.o -c -xc -
void foo() {}
EOF
# The compiler might not create .riscv.attributes
readelf --sections $t/a.o | grep -Fq .riscv.attributes || skip
cat <<EOF | $CC -march=rv64imafd_xfoo2p0 -o $t/b.o -c -xc -
void bar() {}
EOF