view test/MC/ELF/call-abs.s @ 111:3e4d254d74d9

resolve some warnings
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 02 Feb 2016 19:38:53 +0900
parents 95c75e76d11b
children 3a76565eade5
line wrap: on
line source

// 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: ]