1 // RUN: %clang -### -target x86_64-scei-ps4 %s -o - 2>&1 | \
3 // RUN: %clang -### -target x86_64-scei-ps4 -Wa,-mrelax-relocations=yes %s -o - 2>&1 | \
5 // RUN: %clang -### -target x86_64-scei-ps4 -Wa,-mrelax-relocations=no %s -o - 2>&1 | \
6 // RUN: FileCheck -check-prefix=UNSET %s
7 // RUN: %clang -### -x assembler -target x86_64-scei-ps4 %s -o - 2>&1 | \
9 // RUN: %clang -### -x assembler -target x86_64-scei-ps4 -Wa,-mrelax-relocations=yes %s -o - 2>&1 | \
11 // RUN: %clang -### -x assembler -target x86_64-scei-ps4 -Wa,-mrelax-relocations=no %s -o - 2>&1 | \
12 // RUN: FileCheck -check-prefix=UNSET %s
14 // RUN: %clang -### -target x86_64-sie-ps5 %s -o - 2>&1 | \
16 // RUN: %clang -### -target x86_64-sie-ps5 -Wa,-mrelax-relocations=yes %s -o - 2>&1 | \
18 // RUN: %clang -### -target x86_64-sie-ps5 -Wa,-mrelax-relocations=no %s -o - 2>&1 | \
19 // RUN: FileCheck -check-prefix=UNSET %s
20 // RUN: %clang -### -x assembler -target x86_64-sie-ps5 %s -o - 2>&1 | \
22 // RUN: %clang -### -x assembler -target x86_64-sie-ps5 -Wa,-mrelax-relocations=yes %s -o - 2>&1 | \
24 // RUN: %clang -### -x assembler -target x86_64-sie-ps5 -Wa,-mrelax-relocations=no %s -o - 2>&1 | \
25 // RUN: FileCheck -check-prefix=UNSET %s
27 // CHECK-NOT: "-mrelax-relocations
29 // UNSET: "-mrelax-relocations=no"