Fix pr19645.
[oota-llvm.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: ]