Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AArch64 / elf-reloc-plt32.s
blobfdf603ffe3baeb58c0e9da036b5d1c03db548c49
1 // RUN: llvm-mc -triple=aarch64 -filetype=obj %s -o - | \
2 // RUN: llvm-readobj -r - | FileCheck %s
3 .globl func
4 func:
6 .section .data
7 this:
8 .word extern_func@PLT - this + 4
9 .word func@plt - . + 8
11 // CHECK: Section ({{.*}}) .rela.data
12 // CHECK-NEXT: 0x0 R_AARCH64_PLT32 extern_func 0x4
13 // CHECK-NEXT: 0x4 R_AARCH64_PLT32 func 0x8
14 // CHECK-NEXT: }