diff options
author | Douglas Katzman <dougk@google.com> | 2015-08-20 18:32:26 +0000 |
---|---|---|
committer | Douglas Katzman <dougk@google.com> | 2015-08-20 18:32:26 +0000 |
commit | 38857551b5e3e6d40685c4a70948403b507aa52c (patch) | |
tree | d844471a852eb5fc05354bad585201d7f443be82 /clang/test/Driver/biarch.c | |
parent | e00b497242bcc40afab112f72d90397d0d769915 (diff) | |
download | bcm5719-llvm-38857551b5e3e6d40685c4a70948403b507aa52c.tar.gz bcm5719-llvm-38857551b5e3e6d40685c4a70948403b507aa52c.zip |
[Sparc] Add '-EL' when invoking gcc to link little-endian binaries.
Differential Revision: http://reviews.llvm.org/D12201
llvm-svn: 245595
Diffstat (limited to 'clang/test/Driver/biarch.c')
-rw-r--r-- | clang/test/Driver/biarch.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Driver/biarch.c b/clang/test/Driver/biarch.c index 80c42feb7f8..84208df3cba 100644 --- a/clang/test/Driver/biarch.c +++ b/clang/test/Driver/biarch.c @@ -28,6 +28,9 @@ // RUN: %clang -target sparc--netbsd -m64 %s -### 2> %t // RUN: grep '"-cc1" "-triple" "sparcv9--netbsd"' %t +// RUN: %clang -target sparcel -o foo %s -### 2> %t +// RUN: grep 'gcc" "-EL" "-o" "foo"' %t + // RUN: %clang -target mips64--netbsd -m32 %s -### 2> %t // RUN: grep '"-cc1" "-triple" "mips--netbsd"' %t |