13 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_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