Home | History | Annotate | Download | only in ELF
      1 // RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu %s -o - | elf-dump | 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-NEXT:  # Relocation 0
     20 // CHECK-NEXT:  (('r_offset', 0x00000004)
     21 // CHECK-NEXT:   ('r_sym', 0x000000)
     22 // CHECK-NEXT:   ('r_type', 0x02)
     23 // CHECK-NEXT:  ),
     24 // CHECK-NEXT: ])
     25