[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / ELF / got-relaxed.s
blobc89e462095d80db59c8c1063a1390fe76a288375
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s -o - | llvm-readobj -r | FileCheck %s
2 // RUN: llvm-mc -filetype=obj -relax-relocations=false -triple x86_64-pc-linux %s -o - | llvm-readobj -r | FileCheck --check-prefix=OLD %s
4 // these should produce R_X86_64_GOTPCRELX
6 call *call@GOTPCREL(%rip)
7 jmp *jmp@GOTPCREL(%rip)
9 // CHECK: Relocations [
10 // CHECK-NEXT: Section ({{.*}}) .rela.text {
11 // CHECK-NEXT: R_X86_64_GOTPCRELX call
12 // CHECK-NEXT: R_X86_64_GOTPCRELX jmp
13 // CHECK-NEXT: }
14 // CHECK-NEXT: ]
16 // OLD: Relocations [
17 // OLD-NEXT: Section ({{.*}}) .rela.text {
18 // OLD-NEXT: R_X86_64_GOTPCREL call
19 // OLD-NEXT: R_X86_64_GOTPCREL jmp
20 // OLD-NEXT: }
21 // OLD-NEXT: ]