Skip to content

Commit 7343ec2

Browse files
committed
Review comments
Tabs->spaces Move comment to top of file
1 parent 086dd96 commit 7343ec2

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed
Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/// Test that R_ARM_SBREL32 relocations in debug info are relocated as if the
2+
/// static base register (r9) is zero. Real DWARF info will use an expression to
3+
/// add this to the real value of the static base at runtime.
4+
15
// REQUIRES: arm
26
// RUN: rm -rf %t && split-file %s %t && cd %t
37

@@ -16,10 +20,6 @@
1620
// DISASM-NEXT: ...
1721
// DISASM-NEXT: 104: 00002000
1822

19-
/// Test that R_ARM_SBREL32 relocations in debug info are relocated as if the
20-
/// static base register (r9) is zero. Real DWARF info will use an expression to
21-
/// add this to the real value of the static base at runtime.
22-
2323
//--- lds.ld
2424
SECTIONS {
2525
data1 0x1000 : { *(data1) }
@@ -28,27 +28,27 @@ SECTIONS {
2828

2929
//--- asm.s
3030
.text
31-
.type _start,%function
32-
.globl _start
31+
.type _start,%function
32+
.globl _start
3333
_start:
3434
bx lr
3535
.size _start, .-_start
3636

37-
.section data1, "aw", %progbits
38-
.type rw,%object
39-
.globl rw
37+
.section data1, "aw", %progbits
38+
.type rw,%object
39+
.globl rw
4040
rw:
41-
.long 42
42-
.size rw, 4
41+
.long 42
42+
.size rw, 4
4343

44-
.section data2, "aw", %progbits
45-
.type rw2,%object
46-
.globl rw2
44+
.section data2, "aw", %progbits
45+
.type rw2,%object
46+
.globl rw2
4747
rw2:
48-
.long 1234
49-
.size rw2, 4
48+
.long 1234
49+
.size rw2, 4
5050

51-
.section .debug_something, "", %progbits
52-
.long rw(sbrel)
51+
.section .debug_something, "", %progbits
52+
.long rw(sbrel)
5353
.space 0x100
54-
.long rw2(sbrel)
54+
.long rw2(sbrel)

0 commit comments

Comments
 (0)