1// RUN: llvm-mc -filetype=obj -triple i386-pc-linux %s -o - | llvm-readobj -r | FileCheck %s 2// RUN: llvm-mc -filetype=obj -relax-relocations=false -triple i386-pc-linux %s -o - | llvm-readobj -r | FileCheck --check-prefix=OLD %s 3 4 movl mov@GOT(%ebx), %eax 5 mull mul@GOT(%ebx) 6 .long long@GOT 7 8// CHECK: Relocations [ 9// CHECK-NEXT: Section ({{.*}}) .rel.text { 10// CHECK-NEXT: R_386_GOT32X mov 11// CHECK-NEXT: R_386_GOT32 mul 12// CHECK-NEXT: R_386_GOT32 long 13// CHECK-NEXT: } 14// CHECK-NEXT: ] 15 16// OLD: Relocations [ 17// OLD-NEXT: Section ({{.*}}) .rel.text { 18// OLD-NEXT: R_386_GOT32 mov 19// OLD-NEXT: R_386_GOT32 mul 20// OLD-NEXT: R_386_GOT32 long 21// OLD-NEXT: } 22// OLD-NEXT: ] 23