[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git] / clang / test / Driver / relax.s
blob154d4db0a313851a61cec01cdac56de12f7c78f7
1 // REQUIRES: x86-registered-target
2 // RUN: %clang -### -c -target x86_64-pc-linux -integrated-as -Wa,--mrelax-relocations=no %s 2>&1 | FileCheck %s
4 // CHECK: "-cc1as"
5 // CHECK: "-mrelax-relocations=no"
7 // RUN: %clang -cc1as -triple x86_64-pc-linux %s -o %t -filetype obj
8 // RUN: llvm-readobj -r %t | FileCheck --check-prefix=REL %s
10 // REL: R_X86_64_REX_GOTPCRELX foo
12 movq foo@GOTPCREL(%rip), %rax