Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / ELF / got-relaxed-no-relax.s
blob382639d10c9ed2f0e715c437df630a80ef950041
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s -o - | llvm-readobj -r - | FileCheck %s
3 // these should not produce relaxable relocations
5 movq foo@GOT, %rax
6 mulq foo@GOTPCREL(%rip)
7 .long foo@GOTPCREL
9 // CHECK: Relocations [
10 // CHECK: Section ({{.*}}) .rela.text {
11 // CHECK-NEXT: R_X86_64_GOT32 foo
12 // CHECK-NEXT: R_X86_64_GOTPCREL foo
13 // CHECK-NEXT: R_X86_64_GOTPCREL foo
14 // CHECK-NEXT: }
15 // CHECK-NEXT: ]