summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ELF/call-abs.s
blob: 145b9a7da2f55e1c2d82babfd8b533b27e591374 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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: ]
OpenPOWER on IntegriCloud