1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 06:22:56 +02:00
llvm-mirror/test/MC/ELF/call-abs.s

25 lines
577 B
ArmAsm
Raw Normal View History

// RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
.text
.globl f
.type f,@function
f: # @f
# BB#0: # %entry
subl $4, %esp
calll 42
incl %eax
addl $4, %esp
ret
.Ltmp0:
.size f, .Ltmp0-f
.section .note.GNU-stack,"",@progbits
// CHECK: ('_relocations', [
// CHECK-NEXT: # Relocation 0x00000000
// CHECK-NEXT: (('r_offset', 0x00000004)
// CHECK-NEXT: ('r_sym', 0x00000000)
// CHECK-NEXT: ('r_type', 0x00000002)
// CHECK-NEXT: ),
// CHECK-NEXT: ])