brintos

brintos / llvm-project-archived public Read only

0
0
Text · 486 B · be84c09 Raw
13 lines · plain
1; RUN: llvm-mc -triple m68k -filetype=obj --position-independent %s -o - \2; RUN:   | llvm-readobj -r - | FileCheck -check-prefix=RELOC %s3; RUN: llvm-mc -triple m68k -show-encoding --position-independent %s -o - \4; RUN:   | FileCheck -check-prefix=INSTR %s5 6; RELOC: R_68K_GOTPCREL8 dst1 0x17; INSTR: move.l  (dst1@GOTPCREL,%pc,%d0), %a08move.l	(dst1@GOTPCREL,%pc,%d0), %a09 10; RELOC: R_68K_GOTPCREL16 dst2 0x011; INSTR: move.l  (dst2@GOTPCREL,%pc), %a012move.l	(dst2@GOTPCREL,%pc), %a013