Skip to content

Commit d3486bb

Browse files
committed
Fix bolt test
1 parent 4170922 commit d3486bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/test/RISCV/reloc-label-diff.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ _start:
1212
// BOLT removes this nop so the label difference is initially 8 but should be
1313
// 4 after BOLT processes it.
1414
nop
15-
beq x0, x0, _test_end
15+
li x0, _test_end-.
1616
_test_end:
1717
ret
1818
.size _start, .-_start

0 commit comments

Comments
 (0)