1# Verify that we support x86 old pic style internal calls accordingly in 2# relocation mode 3# 4 5REQUIRES: x86_64-linux 6 7RUN: %clang -O3 %S/Inputs/internalcall-main.c %S/Inputs/internalcall.S -Wl,-q \ 8RUN: -o %t.exe 9RUN: llvm-bolt %t.exe -o %t --relocs --lite=0 10RUN: %t | FileCheck %s 11 12CHECK: Case 1: Result is: DEADBEEF 13CHECK: Case 2: Result is: DEADBEEF 14CHECK: Case 3: Result is: DEADBEEF 15