1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s -o - | llvm-readobj -r | FileCheck %s 2 3// these should not produce relaxable relocations 4 5 movq foo@GOT, %rax 6 mulq foo@GOTPCREL(%rip) 7 .long foo@GOTPCREL 8 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: ] 16