mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
f89da7210b
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179361 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
502 B
ArmAsm
23 lines
502 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu %s -o - | llvm-readobj -r | 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: Section ({{[^ ]+}}) {{[^ ]+}} {
|
|
// CHECK-NEXT: 0x4 R_386_PC32 -
|
|
// CHECK-NEXT: }
|
|
// CHECK-NEXT: ]
|