1 // RUN
: %clang
%cflags
-o
%t %s
2 // RUN
: llvm-bolt
-o
%t.bolt
%t
3 // RUN
: llvm-readelf
-x
.data %t.bolt | FileCheck %s
10 // Force BOLT into relocation mode
11 .reloc 0, R_RISCV_NONE
12 // BOLT removes this
nop so the label difference is initially
8 but should
be
13 // 4 after BOLT processes it.
18 .size _start, .-_start
21 // CHECK
: Hex dump of section
'.data':
22 // CHECK
: 0x
{{.*}} 04000000
23 .word _test_end - _start