Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / M68k / Relocations / text-plt.s
blob9513519c33c670ec42ff97d2581b03f33f1edc35
1 ; RUN: llvm-mc -triple m68k -filetype=obj %s -o - \
2 ; RUN: | llvm-readobj -r - | FileCheck -check-prefix=RELOC %s
3 ; RUN: llvm-mc -triple m68k -show-encoding %s -o - \
4 ; RUN: | FileCheck -check-prefix=INSTR -check-prefix=FIXUP %s
6 ; RELOC: R_68K_PLT16 target 0x0
7 ; INSTR: jsr (target@PLT,%pc)
8 ; FIXUP: fixup A - offset: 2, value: target@PLT, kind: FK_PCRel_2
9 jsr (target@PLT,%pc)
11 ; RELOC: R_68K_PLT32 __tls_get_addr 0x0
12 ; INSTR: bsr.l __tls_get_addr@PLT
13 ; FIXUP: fixup A - offset: 2, value: __tls_get_addr@PLT, kind: FK_PCRel_4
14 bsr.l __tls_get_addr@PLT