1 ; RUN: llc %s -mtriple=armv7-linux-gnueabi -filetype=obj -o - | \
2 ; RUN: elf-dump --dump-section-data | FileCheck -check-prefix=OBJ %s
4 target triple = "armv7-none-linux-gnueabi"
6 @a = external global i8
8 define arm_aapcs_vfpcc i32 @barf() nounwind {
10 %0 = tail call arm_aapcs_vfpcc i32 @foo(i8* @a) nounwind
14 ; OBJ-NEXT: 'sh_flags'
16 ; OBJ-NEXT: 'sh_offset'
20 ; OBJ-NEXT: 'sh_addralign'
21 ; OBJ-NEXT: 'sh_entsize'
22 ; OBJ-NEXT: '_section_data', '00482de9 000000e3 000040e3 feffffeb 0088bde8'
24 ; OBJ: Relocation 0x00000000
25 ; OBJ-NEXT: 'r_offset', 0x00000004
26 ; OBJ-NEXT: 'r_sym', 0x00000007
27 ; OBJ-NEXT: 'r_type', 0x0000002b
29 ; OBJ: Relocation 0x00000001
30 ; OBJ-NEXT: 'r_offset', 0x00000008
32 ; OBJ-NEXT: 'r_type', 0x0000002c
34 ; OBJ: # Relocation 0x00000002
35 ; OBJ-NEXT: 'r_offset', 0x0000000c
36 ; OBJ-NEXT: 'r_sym', 0x00000008
37 ; OBJ-NEXT: 'r_type', 0x0000001c
41 declare arm_aapcs_vfpcc i32 @foo(i8*)