2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target x86_64-unknown-netbsd \
|
2016-06-05 04:03:26 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=STATIC %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target x86_64-unknown-netbsd \
|
2016-06-05 04:03:26 +08:00
|
|
|
// RUN: -pie --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=PIE %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target x86_64-unknown-netbsd \
|
2018-07-13 05:21:29 +08:00
|
|
|
// RUN: -static -pie --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=STATIC-PIE %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target x86_64-unknown-netbsd \
|
2016-06-05 04:03:26 +08:00
|
|
|
// RUN: -shared --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=SHARED %s
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target x86_64-unknown-netbsd \
|
2013-10-15 07:26:44 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
2013-10-15 04:13:05 +08:00
|
|
|
// RUN: | FileCheck -check-prefix=X86_64 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target x86_64-unknown-netbsd7.0.0 \
|
2013-10-15 07:26:44 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
2013-10-15 04:13:05 +08:00
|
|
|
// RUN: | FileCheck -check-prefix=X86_64-7 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target x86_64-unknown-netbsd6.0.0 \
|
2013-10-15 07:26:44 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
2013-10-15 04:13:05 +08:00
|
|
|
// RUN: | FileCheck -check-prefix=X86_64-6 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target aarch64-unknown-netbsd \
|
2014-01-14 02:25:15 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=AARCH64 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target aarch64-unknown-netbsd7.0.0 \
|
2014-01-14 02:25:15 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=AARCH64-7 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target aarch64_be-unknown-netbsd \
|
2017-01-09 19:22:14 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=AARCH64_BE %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target aarch64_be-unknown-netbsd7.0.0 \
|
2017-01-09 19:22:14 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=AARCH64_BE-7 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target arm-unknown-netbsd-eabi \
|
2014-02-04 01:46:52 +08:00
|
|
|
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=ARM %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target armeb-unknown-netbsd-eabi \
|
2014-08-15 03:12:41 +08:00
|
|
|
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=ARMEB %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target armeb-unknown-netbsd-eabi -march=armv7 \
|
2015-01-29 07:30:39 +08:00
|
|
|
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=ARMV7EB %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target armv7eb-unknown-netbsd-eabi \
|
2015-01-29 07:30:39 +08:00
|
|
|
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=ARMV7EB %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -r -no-canonical-prefixes -target armeb-unknown-netbsd-eabi \
|
2015-01-26 20:30:16 +08:00
|
|
|
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=ARMEB-R %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target arm-unknown-netbsd \
|
2014-02-22 05:53:33 +08:00
|
|
|
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=ARM-APCS %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target arm-unknown-netbsd-eabihf \
|
2014-08-10 03:01:52 +08:00
|
|
|
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=ARM-HF %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target thumb-unknown-netbsd-eabi \
|
2014-02-04 01:46:52 +08:00
|
|
|
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=THUMB %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target thumbeb-unknown-netbsd-eabi \
|
2014-08-15 03:12:41 +08:00
|
|
|
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=THUMBEB %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target arm-unknown-netbsd7.0.0-eabi \
|
2014-02-04 01:46:52 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=ARM-7 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target arm-unknown-netbsd6.0.0-eabi \
|
2014-02-04 01:46:52 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=ARM-6 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target sparc-unknown-netbsd \
|
2014-02-20 06:40:18 +08:00
|
|
|
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=SPARC %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target sparc64-unknown-netbsd \
|
2014-02-20 06:40:18 +08:00
|
|
|
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=SPARC64 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target powerpc-unknown-netbsd \
|
2014-08-13 22:17:32 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
2014-07-26 04:57:24 +08:00
|
|
|
// RUN: | FileCheck -check-prefix=POWERPC %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target powerpc64-unknown-netbsd \
|
2014-08-13 22:17:32 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=POWERPC64 %s
|
2013-10-15 04:13:05 +08:00
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target x86_64-unknown-netbsd -static \
|
2013-10-15 07:26:44 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
2013-10-15 04:13:05 +08:00
|
|
|
// RUN: | FileCheck -check-prefix=S-X86_64 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target x86_64-unknown-netbsd7.0.0 -static \
|
2013-10-15 07:26:44 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
2013-10-15 04:13:05 +08:00
|
|
|
// RUN: | FileCheck -check-prefix=S-X86_64-7 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target x86_64-unknown-netbsd6.0.0 -static \
|
2013-10-15 07:26:44 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
2013-10-15 04:13:05 +08:00
|
|
|
// RUN: | FileCheck -check-prefix=S-X86_64-6 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target aarch64-unknown-netbsd -static \
|
2014-01-14 02:25:15 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=S-AARCH64 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target aarch64-unknown-netbsd7.0.0 -static \
|
2014-01-14 02:25:15 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=S-AARCH64-7 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target aarch64_be-unknown-netbsd -static \
|
2017-01-09 19:22:14 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=S-AARCH64_BE %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target aarch64_be-unknown-netbsd7.0.0 -static \
|
2017-01-09 19:22:14 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=S-AARCH64_BE-7 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target arm-unknown-netbsd-eabi -static \
|
2014-02-04 01:46:52 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=S-ARM %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target armeb-unknown-netbsd-eabi -static \
|
2014-08-15 03:12:41 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=S-ARMEB %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target arm-unknown-netbsd7.0.0-eabi -static \
|
2014-02-04 01:46:52 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=S-ARM-7 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target arm-unknown-netbsd6.0.0-eabi -static \
|
2014-02-04 01:46:52 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=S-ARM-6 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target sparc-unknown-netbsd7.0.0 -static \
|
2014-02-20 06:40:18 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
2016-02-12 07:18:36 +08:00
|
|
|
// RUN: | FileCheck -check-prefix=S-SPARC-7 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target sparc-unknown-netbsd6.0.0 -static \
|
2014-02-20 06:40:18 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
2016-02-12 07:18:36 +08:00
|
|
|
// RUN: | FileCheck -check-prefix=S-SPARC-6 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target sparc64-unknown-netbsd7.0.0 -static \
|
2016-02-12 07:18:36 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=S-SPARC64-7 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target sparc64-unknown-netbsd6.0.0 -static \
|
2016-02-12 07:18:36 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=S-SPARC64-6 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target powerpc-unknown-netbsd -static \
|
2014-07-26 04:57:24 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=S-POWERPC %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes -target powerpc64-unknown-netbsd -static \
|
2014-08-13 22:17:32 +08:00
|
|
|
// RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=S-POWERPC64 %s
|
2018-08-09 06:23:57 +08:00
|
|
|
// RUN: %clang -target x86_64-unknown-netbsd -pthread -dM -E %s \
|
2017-01-16 22:07:24 +08:00
|
|
|
// RUN: | FileCheck -check-prefix=PTHREAD %s
|
2013-10-15 04:13:05 +08:00
|
|
|
|
2016-06-06 21:13:12 +08:00
|
|
|
// STATIC: ld{{.*}}" "--eh-frame-hdr"
|
2016-06-05 04:03:26 +08:00
|
|
|
// STATIC-NOT: "-pie"
|
|
|
|
// STATIC-NOT: "-Bshareable"
|
|
|
|
// STATIC: "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// STATIC-NOT: "-pie"
|
|
|
|
// STATIC-NOT: "-Bshareable"
|
|
|
|
// STATIC: "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// STATIC: "{{.*}}/usr/lib{{/|\\\\}}crti.o" "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o"
|
|
|
|
// STATIC: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-07-13 05:21:29 +08:00
|
|
|
// STATIC-PIE: ld{{.*}}" "--eh-frame-hdr"
|
|
|
|
// STATIC-PIE-NOT: "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// STATIC-PIE-NOT: "-Bshareable"
|
|
|
|
// STATIC-PIE: "-pie"
|
|
|
|
// STATIC-PIE-NOT: "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// STATIC-PIE-NOT: "-Bshareable"
|
|
|
|
// STATIC-PIE: "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// STATIC-PIE: "{{.*}}/usr/lib{{/|\\\\}}crti.o" "{{.*}}/usr/lib{{/|\\\\}}crtbeginS.o"
|
|
|
|
// STATIC-PIE: "{{.*}}/usr/lib{{/|\\\\}}crtendS.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2016-06-06 21:13:12 +08:00
|
|
|
// SHARED: ld{{.*}}" "--eh-frame-hdr"
|
2016-06-05 04:03:26 +08:00
|
|
|
// SHARED-NOT: "-pie"
|
|
|
|
// SHARED-NOT: "-dynamic-linker"
|
|
|
|
// SHARED-NOT: "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// SHARED: "{{.*}}/usr/lib{{/|\\\\}}crti.o" "{{.*}}/usr/lib{{/|\\\\}}crtbeginS.o"
|
|
|
|
// SHARED: "{{.*}}/usr/lib{{/|\\\\}}crtendS.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2016-06-06 21:13:12 +08:00
|
|
|
// PIE: ld{{.*}}" "--eh-frame-hdr"
|
2016-06-05 04:03:26 +08:00
|
|
|
// PIE-NOT: "-Bshareable"
|
2020-04-15 00:46:21 +08:00
|
|
|
// PIE: "-pie" "-dynamic-linker" "/libexec/ld.elf_so"
|
2016-06-05 04:03:26 +08:00
|
|
|
// PIE-NOT: "-Bshareable"
|
|
|
|
// PIE: "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// PIE: "{{.*}}/usr/lib{{/|\\\\}}crtbeginS.o"
|
|
|
|
// PIE: "{{.*}}/usr/lib{{/|\\\\}}crtendS.o"
|
|
|
|
// PIE: "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// X86_64: clang{{.*}}" "-cc1" "-triple" "x86_64-unknown-netbsd"
|
2019-12-12 13:48:59 +08:00
|
|
|
// X86_64-NOT: "-fno-use-init-array"
|
2013-10-15 04:13:05 +08:00
|
|
|
// X86_64: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
2013-10-15 14:36:47 +08:00
|
|
|
// X86_64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// X86_64: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// X86_64: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
2013-10-15 04:13:05 +08:00
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// X86_64-7: clang{{.*}}" "-cc1" "-triple" "x86_64-unknown-netbsd7.0.0"
|
2019-12-12 13:48:59 +08:00
|
|
|
// X86_64-7: "-fno-use-init-array"
|
2013-10-15 04:13:05 +08:00
|
|
|
// X86_64-7: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
2013-10-15 14:36:47 +08:00
|
|
|
// X86_64-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// X86_64-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// X86_64-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
2013-10-15 04:13:05 +08:00
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// X86_64-6: clang{{.*}}" "-cc1" "-triple" "x86_64-unknown-netbsd6.0.0"
|
2013-10-15 04:13:05 +08:00
|
|
|
// X86_64-6: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
2013-10-15 14:36:47 +08:00
|
|
|
// X86_64-6: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// X86_64-6: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// X86_64-6: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
2013-10-15 04:13:05 +08:00
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// AARCH64: clang{{.*}}" "-cc1" "-triple" "aarch64-unknown-netbsd"
|
2019-12-12 13:48:59 +08:00
|
|
|
// AARCH64-NOT: "-fno-use-init-array"
|
2014-01-14 02:25:15 +08:00
|
|
|
// AARCH64: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// AARCH64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// AARCH64: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// AARCH64: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// AARCH64-7: clang{{.*}}" "-cc1" "-triple" "aarch64-unknown-netbsd7.0.0"
|
2019-12-12 13:48:59 +08:00
|
|
|
// AARCH64-7-NOT: "-fno-use-init-array"
|
2014-01-14 02:25:15 +08:00
|
|
|
// AARCH64-7: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// AARCH64-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// AARCH64-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// AARCH64-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// AARCH64_BE: clang{{.*}}" "-cc1" "-triple" "aarch64_be-unknown-netbsd"
|
2019-12-12 13:48:59 +08:00
|
|
|
// AARCH64_BE-NOT: "-fno-use-init-array"
|
2017-01-09 19:22:14 +08:00
|
|
|
// AARCH64_BE: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// AARCH64_BE: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// AARCH64_BE: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// AARCH64_BE: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// AARCH64_BE-7: clang{{.*}}" "-cc1" "-triple" "aarch64_be-unknown-netbsd7.0.0"
|
2019-12-12 13:48:59 +08:00
|
|
|
// AARCH64_BE-7-NOT: "-fno-use-init-array"
|
2017-01-09 19:22:14 +08:00
|
|
|
// AARCH64_BE-7: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// AARCH64_BE-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// AARCH64_BE-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// AARCH64_BE-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// ARM: clang{{.*}}" "-cc1" "-triple" "armv5e-unknown-netbsd-eabi"
|
2019-12-12 13:48:59 +08:00
|
|
|
// ARM-NOT: "-fno-use-init-array"
|
2014-02-22 05:53:33 +08:00
|
|
|
// ARM: as{{.*}}" "-mcpu=arm926ej-s" "-o"
|
2014-02-04 01:46:52 +08:00
|
|
|
// ARM: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// ARM: "-m" "armelf_nbsd_eabi"
|
2014-04-17 04:44:17 +08:00
|
|
|
// ARM: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// ARM: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o"
|
2014-02-04 01:46:52 +08:00
|
|
|
// ARM: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// ARM: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// ARMEB: clang{{.*}}" "-cc1" "-triple" "armebv5e-unknown-netbsd-eabi"
|
2019-12-12 13:48:59 +08:00
|
|
|
// ARMEB-NOT: "-fno-use-init-array"
|
2014-08-15 03:12:41 +08:00
|
|
|
// ARMEB: as{{.*}}" "-mcpu=arm926ej-s" "-o"
|
|
|
|
// ARMEB: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
2015-01-29 07:30:39 +08:00
|
|
|
// ARMEB-NOT: "--be8"
|
|
|
|
// ARMEB: "-m" "armelfb_nbsd_eabi"
|
2014-08-15 03:12:41 +08:00
|
|
|
// ARMEB: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// ARMEB: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o"
|
|
|
|
// ARMEB: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// ARMEB: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
2015-01-29 07:30:39 +08:00
|
|
|
// ARMV7EB: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// ARMV7EB: "--be8" "-m" "armelfb_nbsd_eabi"
|
2014-08-15 03:12:41 +08:00
|
|
|
|
2015-01-26 20:30:16 +08:00
|
|
|
// ARMEB-R: ld{{.*}}"
|
|
|
|
// ARMEB-R-NOT: "--be8"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// ARM-APCS: clang{{.*}}" "-cc1" "-triple" "armv4-unknown-netbsd"
|
2014-02-22 05:53:33 +08:00
|
|
|
// ARM-APCS: as{{.*}}" "-mcpu=strongarm" "-o"
|
|
|
|
// ARM-APCS: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// ARM-APCS: "-m" "armelf_nbsd"
|
2014-04-17 04:44:17 +08:00
|
|
|
// ARM-APCS: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// ARM-APCS: "{{.*}}/usr/lib{{/|\\\\}}oabi{{/|\\\\}}crti.o"
|
2014-02-22 05:53:33 +08:00
|
|
|
// ARM-APCS: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// ARM-APCS: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// ARM-HF: clang{{.*}}" "-cc1" "-triple" "armv5e-unknown-netbsd-eabihf"
|
2014-08-10 03:01:52 +08:00
|
|
|
// ARM-HF: as{{.*}}" "-mcpu=arm926ej-s" "-o"
|
|
|
|
// ARM-HF: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// ARM-HF: "-m" "armelf_nbsd_eabihf"
|
|
|
|
// ARM-HF: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// ARM-HF: "{{.*}}/usr/lib{{/|\\\\}}eabihf{{/|\\\\}}crti.o"
|
|
|
|
// ARM-HF: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// ARM-HF: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// THUMB: clang{{.*}}" "-cc1" "-triple" "armv5e-unknown-netbsd-eabi"
|
2014-02-22 05:53:33 +08:00
|
|
|
// THUMB: as{{.*}}" "-mcpu=arm926ej-s" "-o"
|
2014-02-04 01:46:52 +08:00
|
|
|
// THUMB: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// THUMB: "-m" "armelf_nbsd_eabi"
|
2014-04-17 04:44:17 +08:00
|
|
|
// THUMB: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// THUMB: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o"
|
2014-02-04 01:46:52 +08:00
|
|
|
// THUMB: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// THUMB: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// THUMBEB: clang{{.*}}" "-cc1" "-triple" "armebv5e-unknown-netbsd-eabi"
|
2014-08-15 03:12:41 +08:00
|
|
|
// THUMBEB: as{{.*}}" "-mcpu=arm926ej-s" "-o"
|
|
|
|
// THUMBEB: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// THUMBEB: "-m" "armelfb_nbsd_eabi"
|
|
|
|
// THUMBEB: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// THUMBEB: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o"
|
|
|
|
// THUMBEB: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// THUMBEB: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// ARM-7: clang{{.*}}" "-cc1" "-triple" "armv5e-unknown-netbsd7.0.0-eabi"
|
2019-12-12 13:48:59 +08:00
|
|
|
// ARM-7-NOT: "-fno-use-init-array"
|
2014-02-04 01:46:52 +08:00
|
|
|
// ARM-7: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// ARM-7: "-m" "armelf_nbsd_eabi"
|
2014-04-17 04:44:17 +08:00
|
|
|
// ARM-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// ARM-7: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o"
|
2014-02-04 01:46:52 +08:00
|
|
|
// ARM-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// ARM-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// ARM-6: clang{{.*}}" "-cc1" "-triple" "armv5e-unknown-netbsd6.0.0-eabi"
|
2014-02-04 01:46:52 +08:00
|
|
|
// ARM-6: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// ARM-6: "-m" "armelf_nbsd_eabi"
|
2014-04-17 04:44:17 +08:00
|
|
|
// ARM-6: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// ARM-6: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o"
|
2014-02-04 01:46:52 +08:00
|
|
|
// ARM-6: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// ARM-6: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// SPARC: clang{{.*}}" "-cc1" "-triple" "sparc-unknown-netbsd"
|
2019-12-12 13:48:59 +08:00
|
|
|
// SPARC-NOT: "-fno-use-init-array"
|
2015-11-10 07:39:45 +08:00
|
|
|
// SPARC: as{{.*}}" "-32" "-Av8" "-o"
|
2014-02-20 06:40:18 +08:00
|
|
|
// SPARC: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// SPARC: "-m" "elf32_sparc"
|
2014-04-17 04:44:17 +08:00
|
|
|
// SPARC: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// SPARC: "{{.*}}/usr/lib{{/|\\\\}}sparc{{/|\\\\}}crti.o"
|
2014-02-20 06:40:18 +08:00
|
|
|
// SPARC: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// SPARC: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// SPARC64: clang{{.*}}" "-cc1" "-triple" "sparc64-unknown-netbsd"
|
2019-12-12 13:48:59 +08:00
|
|
|
// SPARC64-NOT: "-fno-use-init-array"
|
2014-02-20 06:40:18 +08:00
|
|
|
// SPARC64: as{{.*}}" "-64" "-Av9" "-o"
|
|
|
|
// SPARC64: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// SPARC64: "-m" "elf64_sparc"
|
|
|
|
// SPARC64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// SPARC64: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// SPARC64: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// POWERPC: clang{{.*}}" "-cc1" "-triple" "powerpc-unknown-netbsd"
|
2019-12-12 13:48:59 +08:00
|
|
|
// POWERPC-NOT: "-fno-use-init-array"
|
2014-07-26 04:57:24 +08:00
|
|
|
// POWERPC: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
2014-08-13 22:17:32 +08:00
|
|
|
// POWERPC: "-m" "elf32ppc_nbsd"
|
2014-07-26 04:57:24 +08:00
|
|
|
// POWERPC: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
2014-08-13 22:17:32 +08:00
|
|
|
// POWERPC: "{{.*}}/usr/lib{{/|\\\\}}powerpc{{/|\\\\}}crti.o"
|
2014-07-26 04:57:24 +08:00
|
|
|
// POWERPC: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// POWERPC: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// POWERPC64: clang{{.*}}" "-cc1" "-triple" "powerpc64-unknown-netbsd"
|
2019-12-12 13:48:59 +08:00
|
|
|
// POWERPC64-NOT: "-fno-use-init-array"
|
2014-08-13 22:17:32 +08:00
|
|
|
// POWERPC64: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
|
|
|
|
// POWERPC64: "-m" "elf64ppc"
|
|
|
|
// POWERPC64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// POWERPC64: "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// POWERPC64: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// POWERPC64: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-X86_64: clang{{.*}}" "-cc1" "-triple" "x86_64-unknown-netbsd"
|
2014-03-13 08:42:01 +08:00
|
|
|
// S-X86_64: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
2013-10-15 14:36:47 +08:00
|
|
|
// S-X86_64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// S-X86_64: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-X86_64: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
2013-10-15 04:13:05 +08:00
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-X86_64-7: clang{{.*}}" "-cc1" "-triple" "x86_64-unknown-netbsd7.0.0"
|
2014-03-13 08:42:01 +08:00
|
|
|
// S-X86_64-7: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
2013-10-15 14:36:47 +08:00
|
|
|
// S-X86_64-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// S-X86_64-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-X86_64-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
2013-10-15 04:13:05 +08:00
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-X86_64-6: clang{{.*}}" "-cc1" "-triple" "x86_64-unknown-netbsd6.0.0"
|
2014-03-13 08:42:01 +08:00
|
|
|
// S-X86_64-6: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
2013-10-15 14:36:47 +08:00
|
|
|
// S-X86_64-6: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// S-X86_64-6: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
2013-10-15 04:13:05 +08:00
|
|
|
// S-X86_64-6: "-lgcc_eh" "-lc" "-lgcc"
|
2013-10-15 14:36:47 +08:00
|
|
|
// S-X86_64-6: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
2014-01-14 02:25:15 +08:00
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-AARCH64: clang{{.*}}" "-cc1" "-triple" "aarch64-unknown-netbsd"
|
2014-03-13 08:42:01 +08:00
|
|
|
// S-AARCH64: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
2014-01-14 02:25:15 +08:00
|
|
|
// S-AARCH64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// S-AARCH64: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-AARCH64: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-AARCH64-7: clang{{.*}}" "-cc1" "-triple" "aarch64-unknown-netbsd7.0.0"
|
2014-03-13 08:42:01 +08:00
|
|
|
// S-AARCH64-7: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
2014-01-14 02:25:15 +08:00
|
|
|
// S-AARCH64-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// S-AARCH64-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-AARCH64-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
2014-02-04 01:46:52 +08:00
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-AARCH64_BE: clang{{.*}}" "-cc1" "-triple" "aarch64_be-unknown-netbsd"
|
2017-01-09 19:22:14 +08:00
|
|
|
// S-AARCH64_BE: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
|
|
|
// S-AARCH64_BE: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// S-AARCH64_BE: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-AARCH64_BE: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-AARCH64_BE-7: clang{{.*}}" "-cc1" "-triple" "aarch64_be-unknown-netbsd7.0.0"
|
2017-01-09 19:22:14 +08:00
|
|
|
// S-AARCH64_BE-7: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
|
|
|
// S-AARCH64_BE-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// S-AARCH64_BE-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-AARCH64_BE-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-ARM: clang{{.*}}" "-cc1" "-triple" "armv5e-unknown-netbsd-eabi"
|
2014-03-13 08:42:01 +08:00
|
|
|
// S-ARM: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
2014-02-04 01:46:52 +08:00
|
|
|
// S-ARM: "-m" "armelf_nbsd_eabi"
|
2014-04-17 04:44:17 +08:00
|
|
|
// S-ARM: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// S-ARM: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o"
|
2014-02-04 01:46:52 +08:00
|
|
|
// S-ARM: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-ARM: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-ARMEB: clang{{.*}}" "-cc1" "-triple" "armebv5e-unknown-netbsd-eabi"
|
2014-08-15 03:12:41 +08:00
|
|
|
// S-ARMEB: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
|
|
|
// S-ARMEB: "-m" "armelfb_nbsd_eabi"
|
|
|
|
// S-ARMEB: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// S-ARMEB: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o"
|
|
|
|
// S-ARMEB: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-ARMEB: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-ARM-7: clang{{.*}}" "-cc1" "-triple" "armv5e-unknown-netbsd7.0.0-eabi"
|
2014-03-13 08:42:01 +08:00
|
|
|
// S-ARM-7: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
2014-02-04 01:46:52 +08:00
|
|
|
// S-ARM-7: "-m" "armelf_nbsd_eabi"
|
2014-04-17 04:44:17 +08:00
|
|
|
// S-ARM-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// S-ARM-7: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o"
|
2014-02-04 01:46:52 +08:00
|
|
|
// S-ARM-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-ARM-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-ARM-6: clang{{.*}}" "-cc1" "-triple" "armv5e-unknown-netbsd6.0.0-eabi"
|
2014-03-13 08:42:01 +08:00
|
|
|
// S-ARM-6: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
2014-02-04 01:46:52 +08:00
|
|
|
// S-ARM-6: "-m" "armelf_nbsd_eabi"
|
2014-04-17 04:44:17 +08:00
|
|
|
// S-ARM-6: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// S-ARM-6: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o"
|
2014-02-04 01:46:52 +08:00
|
|
|
// S-ARM-6: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-ARM-6: "-lgcc_eh" "-lc" "-lgcc"
|
|
|
|
// S-ARM-6: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
2014-02-20 06:40:18 +08:00
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-SPARC-6: clang{{.*}}" "-cc1" "-triple" "sparc-unknown-netbsd6.0.0"
|
2016-02-12 07:18:36 +08:00
|
|
|
// S-SPARC-6: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
|
|
|
// S-SPARC-6: "-m" "elf32_sparc"
|
|
|
|
// S-SPARC-6: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// S-SPARC-6: "{{.*}}/usr/lib{{/|\\\\}}sparc{{/|\\\\}}crti.o"
|
|
|
|
// S-SPARC-6: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-SPARC-6: "-lgcc_eh" "-lc" "-lgcc"
|
|
|
|
// S-SPARC-6: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-SPARC-7: clang{{.*}}" "-cc1" "-triple" "sparc-unknown-netbsd7.0.0"
|
2019-12-12 13:48:59 +08:00
|
|
|
// S-SPARC-7: "-fno-use-init-array"
|
2016-02-12 07:18:36 +08:00
|
|
|
// S-SPARC-7: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
|
|
|
// S-SPARC-7: "-m" "elf32_sparc"
|
|
|
|
// S-SPARC-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// S-SPARC-7: "{{.*}}/usr/lib{{/|\\\\}}sparc{{/|\\\\}}crti.o"
|
|
|
|
// S-SPARC-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-SPARC-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-SPARC64-6: clang{{.*}}" "-cc1" "-triple" "sparc64-unknown-netbsd6.0.0"
|
2016-02-12 07:18:36 +08:00
|
|
|
// S-SPARC64-6: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
|
|
|
// S-SPARC64-6: "-m" "elf64_sparc"
|
|
|
|
// S-SPARC64-6: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// S-SPARC64-6: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-SPARC64-6: "-lgcc_eh" "-lc" "-lgcc"
|
|
|
|
// S-SPARC64-6: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-SPARC64-7: clang{{.*}}" "-cc1" "-triple" "sparc64-unknown-netbsd7.0.0"
|
2019-12-12 13:48:59 +08:00
|
|
|
// S-SPARC64-7: "-fno-use-init-array"
|
2016-02-12 07:18:36 +08:00
|
|
|
// S-SPARC64-7: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
|
|
|
// S-SPARC64-7: "-m" "elf64_sparc"
|
|
|
|
// S-SPARC64-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// S-SPARC64-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-SPARC64-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
2014-07-26 04:57:24 +08:00
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-POWERPC: clang{{.*}}" "-cc1" "-triple" "powerpc-unknown-netbsd"
|
2014-07-26 04:57:24 +08:00
|
|
|
// S-POWERPC: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
2014-08-13 22:17:32 +08:00
|
|
|
// S-POWERPC: "-m" "elf32ppc_nbsd"
|
2014-07-26 04:57:24 +08:00
|
|
|
// S-POWERPC: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
2014-08-13 22:17:32 +08:00
|
|
|
// S-POWERPC: "{{.*}}/usr/lib{{/|\\\\}}powerpc{{/|\\\\}}crti.o"
|
2014-07-26 04:57:24 +08:00
|
|
|
// S-POWERPC: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-POWERPC: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
2014-08-13 22:17:32 +08:00
|
|
|
|
2018-08-09 06:23:57 +08:00
|
|
|
// S-POWERPC64: clang{{.*}}" "-cc1" "-triple" "powerpc64-unknown-netbsd"
|
2014-08-13 22:17:32 +08:00
|
|
|
// S-POWERPC64: ld{{.*}}" "--eh-frame-hdr" "-Bstatic"
|
|
|
|
// S-POWERPC64: "-m" "elf64ppc"
|
|
|
|
// S-POWERPC64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o"
|
|
|
|
// S-POWERPC64: "{{.*}}/usr/lib{{/|\\\\}}crti.o"
|
|
|
|
// S-POWERPC64: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc"
|
|
|
|
// S-POWERPC64: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o"
|
2017-01-16 22:07:24 +08:00
|
|
|
|
|
|
|
// PTHREAD-NOT: _POSIX_THREADS
|
|
|
|
// PTHREAD: _REENTRANT
|
|
|
|
// PTHREAD-NOT: _POSIX_THREADS
|
2019-02-28 05:46:01 +08:00
|
|
|
|
|
|
|
// Check PowerPC for Secure PLT
|
|
|
|
// RUN: %clang -target powerpc-unknown-netbsd -### -c %s 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=POWERPC-SECUREPLT %s
|
|
|
|
// POWERPC-SECUREPLT: "-target-feature" "+secure-plt"
|