Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 committed Jul 30, 2023
1 parent aa64491 commit 6d667fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/elf/riscv64_attributes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d667fa

Please sign in to comment.