13 lines · plain
1; RUN: llvm-mc -triple m68k --mcpu=M68020 --position-independent -filetype=obj %s -o - \2; RUN: | llvm-readobj -r - | FileCheck -check-prefix=RELOC %s3; RUN: llvm-mc -triple m68k --mcpu=M68020 --position-independent -show-encoding %s -o - \4; RUN: | FileCheck -check-prefix=INSTR %s5 6; RELOC: R_68K_PLT16 target 0x07; INSTR: jsr (target@PLT,%pc)8jsr (target@PLT,%pc)9 10; RELOC: R_68K_PLT32 __tls_get_addr 0x011; INSTR: bsr.l __tls_get_addr@PLT12bsr.l __tls_get_addr@PLT13