brintos

brintos / llvm-project-archived public Read only

0
0
Text · 535 B · dc56e69 Raw
17 lines · plain
1; RUN: llvm-mc -triple m68k -filetype=obj %s -o - \2; RUN:   | llvm-readobj -r - | FileCheck -check-prefix=RELOC %s3; RUN: llvm-mc -triple m68k -show-encoding %s -o - \4; RUN:   | FileCheck -check-prefix=INSTR %s5 6; RELOC: R_68K_GOTOFF8 dst1 0x07; INSTR: move.l  (dst1@GOTOFF,%a5,%d0), %d08move.l	(dst1@GOTOFF,%a5,%d0), %d09 10; RELOC: R_68K_GOTOFF16 dst2 0x011; INSTR: move.l  (dst2@GOTOFF,%a5), %d012move.l	(dst2@GOTOFF,%a5), %d013 14; RELOC: R_68K_GOTPCREL16 dst3 0x015; INSTR: lea     (dst3@GOTPCREL,%pc), %a516lea	(dst3@GOTPCREL,%pc), %a517