]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/MC/ELF/call-abs.s
Vendor import of llvm trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.git] / test / MC / ELF / call-abs.s
1 // RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu %s -o - | llvm-readobj -r | FileCheck %s
2
3         .text
4         .globl  f
5         .type   f,@function
6 f:                                      # @f
7 # %bb.0:                                # %entry
8         subl    $4, %esp
9         calll   42
10         incl    %eax
11         addl    $4, %esp
12         ret
13 .Ltmp0:
14         .size   f, .Ltmp0-f
15
16         .section        .note.GNU-stack,"",@progbits
17
18 // CHECK:      Relocations [
19 // CHECK:        Section ({{[^ ]+}}) {{[^ ]+}} {
20 // CHECK-NEXT:     0x4 R_386_PC32 -
21 // CHECK-NEXT:   }
22 // CHECK-NEXT: ]