summaryrefslogtreecommitdiffstats
path: root/test/Driver/netbsd.c
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-02-06 21:04:32 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-02-06 21:04:32 +0000
commit8bc7719d6beb8a553d0d73b923774d4724b05fee (patch)
treecc3e594379cb289e5c655aa79fd86a12649abaef /test/Driver/netbsd.c
parent46cd8580e3b5908390153bc4eccc59f5ae32befb (diff)
Use correct ld emulation for EABI hardware float triple on NetBSD.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200946 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/netbsd.c')
-rw-r--r--test/Driver/netbsd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/netbsd.c b/test/Driver/netbsd.c
index 05350e608e..45bd90d344 100644
--- a/test/Driver/netbsd.c
+++ b/test/Driver/netbsd.c
@@ -25,6 +25,9 @@
// RUN: %clang -no-canonical-prefixes -target arm--netbsd6.0.0-eabi \
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
// RUN: | FileCheck -check-prefix=ARM-6 %s
+// RUN: %clang -no-canonical-prefixes -target arm--netbsd-eabihf \
+// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
+// RUN: | FileCheck -check-prefix=ARM-HF %s
// RUN: %clang -no-canonical-prefixes -target x86_64--netbsd -static \
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
@@ -113,6 +116,9 @@
// ARM-6: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
// ARM-6: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
+// ARM-HF: clang{{.*}}" "-cc1" "-triple" "armv4t--netbsd-eabihf"
+// ARM-HF: ld{{.*}}" "-m" "armelf_nbsd_eabihf"
+
// S-X86_64: clang{{.*}}" "-cc1" "-triple" "x86_64--netbsd"
// S-X86_64: ld{{.*}}" "-Bstatic"
// S-X86_64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"