brintos

brintos / llvm-project-archived public Read only

0
0
Text · 476 B · d88875e Raw
20 lines · plain
1# RUN: llvm-mc -triple=x86_64-unknown-linux -position-independent \2# RUN:     -filetype=obj -o %t.o %s3# RUN: llvm-jitlink -noexec %t.o4#5# Check R_X86_64_PC* handling.6 7	.text8	.globl	main9	.type	main,@function10main:11	xorl	%eax, %eax12	retq13	.size	main, .-main14 15	.rodata16	.byte	main-. # Generate R_X86_64_PC8 relocation.17	.short	main-. # Generate R_X86_64_PC16 relocation.18	.long	main-. # Generate R_X86_64_PC32 relocation.19	.quad	main-. # Generate R_X86_64_PC64 relocation.20