brintos

brintos / llvm-project-archived public Read only

0
0
Text · 486 B · 7b084de Raw
15 lines · plain
1// REQUIRES: x86-registered-target2// RUN: %clang -### -c --target=x86_64-pc-linux -integrated-as -Wa,--mrelax-relocations=no %s 2>&1 | FileCheck %s3 4// CHECK: "-cc1as"5// CHECK: "-mrelax-relocations=no"6 7// RUN: %clang -cc1as -triple x86_64-pc-linux %s -o %t -filetype obj8// RUN: llvm-readobj -r %t | FileCheck --check-prefix=REL %s9 10// REL: R_X86_64_REX_GOTPCRELX foo11// REL: R_X86_64_CODE_4_GOTPCRELX foo12 13        movq	foo@GOTPCREL(%rip), %rax14        movq	foo@GOTPCREL(%rip), %r1615