1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// RUN: llvm-mc -arch=aarch64 -filetype=obj %s -o - | \
// RUN: elf-dump | FileCheck -check-prefix=OBJ %s
ldrb w0, [sp, #:lo12:some_label]
ldrh w0, [sp, #:lo12:some_label]
ldr w0, [sp, #:lo12:some_label]
ldr x0, [sp, #:lo12:some_label]
str q0, [sp, #:lo12:some_label]
// OBJ: .rela.text
// OBJ: 'r_offset', 0x0000000000000000
// OBJ-NEXT: 'r_sym', 0x00000005
// OBJ-NEXT: 'r_type', 0x00000116
// OBJ: 'r_offset', 0x0000000000000004
// OBJ-NEXT: 'r_sym', 0x00000005
// OBJ-NEXT: 'r_type', 0x0000011c
// OBJ: 'r_offset', 0x0000000000000008
// OBJ-NEXT: 'r_sym', 0x00000005
// OBJ-NEXT: 'r_type', 0x0000011d
// OBJ: 'r_offset', 0x000000000000000c
// OBJ-NEXT: 'r_sym', 0x00000005
// OBJ-NEXT: 'r_type', 0x0000011e
// OBJ: 'r_offset', 0x0000000000000010
// OBJ-NEXT: 'r_sym', 0x00000005
// OBJ-NEXT: 'r_type', 0x0000012b
// OBJ: .symtab
// OBJ: Symbol 5
// OBJ-NEXT: some_label
|