Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
It seems some versions of objdump cannot disassemble c.li instruction.
  • Loading branch information
rui314 committed Dec 13, 2023
1 parent 70d59ca commit e921486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/elf/riscv64_relax-got.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ $QEMU $t/exe1 | grep -Eq '^0 ba beef 11beef deadbeef$'
$CC -B. -o $t/exe2 $t/a.o $t/b.o $t/c.o
$QEMU $t/exe2 | grep -Eq '^0 ba beef 11beef deadbeef$'

$OBJDUMP -d $t/exe2 | grep -A2 '<get_sym1>:' | grep -Eq $'li[ \t]+a0,0$'
$OBJDUMP -d $t/exe2 | grep -A2 '<get_sym2>:' | grep -Eq $'li[ \t]+a0,186$'

0 comments on commit e921486

Please sign in to comment.