blob: de24f009320a13ae4f789753e33a47af41bc409e [file] [log] [blame]
Peter Collingbourne9d9e1fc2013-05-27 21:40:20 +00001// RUN: touch %t.o
2
3// RUN: %clang -target i386-unknown-linux --dyld-prefix /foo -### %t.o 2>&1 | FileCheck --check-prefix=CHECK-32 %s
4// CHECK-32: "-dynamic-linker" "/foo/lib/ld-linux.so.2"
5
6// RUN: %clang -target x86_64-unknown-linux --dyld-prefix /foo -### %t.o 2>&1 | FileCheck --check-prefix=CHECK-64 %s
7// CHECK-64: "-dynamic-linker" "/foo/lib64/ld-linux-x86-64.so.2"