1 // RUN: %clang -no-canonical-prefixes -target x86_64--netbsd \ 2 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 3 // RUN: | FileCheck -check-prefix=X86_64 %s 4 // RUN: %clang -no-canonical-prefixes -target x86_64--netbsd7.0.0 \ 5 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 6 // RUN: | FileCheck -check-prefix=X86_64-7 %s 7 // RUN: %clang -no-canonical-prefixes -target x86_64--netbsd6.0.0 \ 8 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 9 // RUN: | FileCheck -check-prefix=X86_64-6 %s 10 // RUN: %clang -no-canonical-prefixes -target aarch64--netbsd \ 11 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 12 // RUN: | FileCheck -check-prefix=AARCH64 %s 13 // RUN: %clang -no-canonical-prefixes -target aarch64--netbsd7.0.0 \ 14 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 15 // RUN: | FileCheck -check-prefix=AARCH64-7 %s 16 // RUN: %clang -no-canonical-prefixes -target arm--netbsd-eabi \ 17 // RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 18 // RUN: | FileCheck -check-prefix=ARM %s 19 // RUN: %clang -no-canonical-prefixes -target armeb--netbsd-eabi \ 20 // RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 21 // RUN: | FileCheck -check-prefix=ARMEB %s 22 // RUN: %clang -no-canonical-prefixes -target armeb--netbsd-eabi -march=armv7 \ 23 // RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 24 // RUN: | FileCheck -check-prefix=ARMV7EB %s 25 // RUN: %clang -no-canonical-prefixes -target armv7eb--netbsd-eabi \ 26 // RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 27 // RUN: | FileCheck -check-prefix=ARMV7EB %s 28 // RUN: %clang -r -no-canonical-prefixes -target armeb--netbsd-eabi \ 29 // RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 30 // RUN: | FileCheck -check-prefix=ARMEB-R %s 31 // RUN: %clang -no-canonical-prefixes -target arm--netbsd \ 32 // RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 33 // RUN: | FileCheck -check-prefix=ARM-APCS %s 34 // RUN: %clang -no-canonical-prefixes -target arm--netbsd-eabihf \ 35 // RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 36 // RUN: | FileCheck -check-prefix=ARM-HF %s 37 // RUN: %clang -no-canonical-prefixes -target thumb--netbsd-eabi \ 38 // RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 39 // RUN: | FileCheck -check-prefix=THUMB %s 40 // RUN: %clang -no-canonical-prefixes -target thumbeb--netbsd-eabi \ 41 // RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 42 // RUN: | FileCheck -check-prefix=THUMBEB %s 43 // RUN: %clang -no-canonical-prefixes -target arm--netbsd7.0.0-eabi \ 44 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 45 // RUN: | FileCheck -check-prefix=ARM-7 %s 46 // RUN: %clang -no-canonical-prefixes -target arm--netbsd6.0.0-eabi \ 47 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 48 // RUN: | FileCheck -check-prefix=ARM-6 %s 49 // RUN: %clang -no-canonical-prefixes -target sparc--netbsd \ 50 // RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 51 // RUN: | FileCheck -check-prefix=SPARC %s 52 // RUN: %clang -no-canonical-prefixes -target sparc64--netbsd \ 53 // RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 54 // RUN: | FileCheck -check-prefix=SPARC64 %s 55 // RUN: %clang -no-canonical-prefixes -target powerpc--netbsd \ 56 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 57 // RUN: | FileCheck -check-prefix=POWERPC %s 58 // RUN: %clang -no-canonical-prefixes -target powerpc64--netbsd \ 59 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 60 // RUN: | FileCheck -check-prefix=POWERPC64 %s 61 62 // RUN: %clang -no-canonical-prefixes -target x86_64--netbsd -static \ 63 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 64 // RUN: | FileCheck -check-prefix=S-X86_64 %s 65 // RUN: %clang -no-canonical-prefixes -target x86_64--netbsd7.0.0 -static \ 66 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 67 // RUN: | FileCheck -check-prefix=S-X86_64-7 %s 68 // RUN: %clang -no-canonical-prefixes -target x86_64--netbsd6.0.0 -static \ 69 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 70 // RUN: | FileCheck -check-prefix=S-X86_64-6 %s 71 // RUN: %clang -no-canonical-prefixes -target aarch64--netbsd -static \ 72 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 73 // RUN: | FileCheck -check-prefix=S-AARCH64 %s 74 // RUN: %clang -no-canonical-prefixes -target aarch64--netbsd7.0.0 -static \ 75 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 76 // RUN: | FileCheck -check-prefix=S-AARCH64-7 %s 77 // RUN: %clang -no-canonical-prefixes -target arm--netbsd-eabi -static \ 78 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 79 // RUN: | FileCheck -check-prefix=S-ARM %s 80 // RUN: %clang -no-canonical-prefixes -target armeb--netbsd-eabi -static \ 81 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 82 // RUN: | FileCheck -check-prefix=S-ARMEB %s 83 // RUN: %clang -no-canonical-prefixes -target arm--netbsd7.0.0-eabi -static \ 84 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 85 // RUN: | FileCheck -check-prefix=S-ARM-7 %s 86 // RUN: %clang -no-canonical-prefixes -target arm--netbsd6.0.0-eabi -static \ 87 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 88 // RUN: | FileCheck -check-prefix=S-ARM-6 %s 89 // RUN: %clang -no-canonical-prefixes -target sparc--netbsd -static \ 90 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 91 // RUN: | FileCheck -check-prefix=S-SPARC %s 92 // RUN: %clang -no-canonical-prefixes -target sparc64--netbsd -static \ 93 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 94 // RUN: | FileCheck -check-prefix=S-SPARC64 %s 95 // RUN: %clang -no-canonical-prefixes -target powerpc--netbsd -static \ 96 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 97 // RUN: | FileCheck -check-prefix=S-POWERPC %s 98 // RUN: %clang -no-canonical-prefixes -target powerpc64--netbsd -static \ 99 // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 100 // RUN: | FileCheck -check-prefix=S-POWERPC64 %s 101 102 // X86_64: clang{{.*}}" "-cc1" "-triple" "x86_64--netbsd" 103 // X86_64: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 104 // X86_64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o" 105 // X86_64: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 106 // X86_64: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 107 108 // X86_64-7: clang{{.*}}" "-cc1" "-triple" "x86_64--netbsd7.0.0" 109 // X86_64-7: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 110 // X86_64-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o" 111 // X86_64-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 112 // X86_64-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 113 114 // X86_64-6: clang{{.*}}" "-cc1" "-triple" "x86_64--netbsd6.0.0" 115 // X86_64-6: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 116 // X86_64-6: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o" 117 // X86_64-6: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 118 // X86_64-6: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 119 120 // AARCH64: clang{{.*}}" "-cc1" "-triple" "aarch64--netbsd" 121 // AARCH64: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 122 // AARCH64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o" 123 // AARCH64: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 124 // AARCH64: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 125 126 // AARCH64-7: clang{{.*}}" "-cc1" "-triple" "aarch64--netbsd7.0.0" 127 // AARCH64-7: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 128 // AARCH64-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o" 129 // AARCH64-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 130 // AARCH64-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 131 132 // ARM: clang{{.*}}" "-cc1" "-triple" "armv5e--netbsd-eabi" 133 // ARM: as{{.*}}" "-mcpu=arm926ej-s" "-o" 134 // ARM: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 135 // ARM: "-m" "armelf_nbsd_eabi" 136 // ARM: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 137 // ARM: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o" 138 // ARM: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 139 // ARM: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 140 141 // ARMEB: clang{{.*}}" "-cc1" "-triple" "armebv5e--netbsd-eabi" 142 // ARMEB: as{{.*}}" "-mcpu=arm926ej-s" "-o" 143 // ARMEB: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 144 // ARMEB-NOT: "--be8" 145 // ARMEB: "-m" "armelfb_nbsd_eabi" 146 // ARMEB: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 147 // ARMEB: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o" 148 // ARMEB: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 149 // ARMEB: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 150 // ARMV7EB: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 151 // ARMV7EB: "--be8" "-m" "armelfb_nbsd_eabi" 152 153 // ARMEB-R: ld{{.*}}" 154 // ARMEB-R-NOT: "--be8" 155 156 // ARM-APCS: clang{{.*}}" "-cc1" "-triple" "armv4--netbsd" 157 // ARM-APCS: as{{.*}}" "-mcpu=strongarm" "-o" 158 // ARM-APCS: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 159 // ARM-APCS: "-m" "armelf_nbsd" 160 // ARM-APCS: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 161 // ARM-APCS: "{{.*}}/usr/lib{{/|\\\\}}oabi{{/|\\\\}}crti.o" 162 // ARM-APCS: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 163 // ARM-APCS: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 164 165 // ARM-HF: clang{{.*}}" "-cc1" "-triple" "armv5e--netbsd-eabihf" 166 // ARM-HF: as{{.*}}" "-mcpu=arm926ej-s" "-o" 167 // ARM-HF: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 168 // ARM-HF: "-m" "armelf_nbsd_eabihf" 169 // ARM-HF: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 170 // ARM-HF: "{{.*}}/usr/lib{{/|\\\\}}eabihf{{/|\\\\}}crti.o" 171 // ARM-HF: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 172 // ARM-HF: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 173 174 // THUMB: clang{{.*}}" "-cc1" "-triple" "armv5e--netbsd-eabi" 175 // THUMB: as{{.*}}" "-mcpu=arm926ej-s" "-o" 176 // THUMB: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 177 // THUMB: "-m" "armelf_nbsd_eabi" 178 // THUMB: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 179 // THUMB: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o" 180 // THUMB: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 181 // THUMB: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 182 183 // THUMBEB: clang{{.*}}" "-cc1" "-triple" "armebv5e--netbsd-eabi" 184 // THUMBEB: as{{.*}}" "-mcpu=arm926ej-s" "-o" 185 // THUMBEB: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 186 // THUMBEB: "-m" "armelfb_nbsd_eabi" 187 // THUMBEB: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 188 // THUMBEB: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o" 189 // THUMBEB: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 190 // THUMBEB: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 191 192 // ARM-7: clang{{.*}}" "-cc1" "-triple" "armv5e--netbsd7.0.0-eabi" 193 // ARM-7: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 194 // ARM-7: "-m" "armelf_nbsd_eabi" 195 // ARM-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 196 // ARM-7: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o" 197 // ARM-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 198 // ARM-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 199 200 // ARM-6: clang{{.*}}" "-cc1" "-triple" "armv5e--netbsd6.0.0-eabi" 201 // ARM-6: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 202 // ARM-6: "-m" "armelf_nbsd_eabi" 203 // ARM-6: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 204 // ARM-6: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o" 205 // ARM-6: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 206 // ARM-6: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 207 208 // SPARC: clang{{.*}}" "-cc1" "-triple" "sparc--netbsd" 209 // SPARC: as{{.*}}" "-32" "-Av8" "-o" 210 // SPARC: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 211 // SPARC: "-m" "elf32_sparc" 212 // SPARC: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 213 // SPARC: "{{.*}}/usr/lib{{/|\\\\}}sparc{{/|\\\\}}crti.o" 214 // SPARC: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 215 // SPARC: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 216 217 // SPARC64: clang{{.*}}" "-cc1" "-triple" "sparc64--netbsd" 218 // SPARC64: as{{.*}}" "-64" "-Av9" "-o" 219 // SPARC64: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 220 // SPARC64: "-m" "elf64_sparc" 221 // SPARC64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o" 222 // SPARC64: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 223 // SPARC64: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 224 225 // POWERPC: clang{{.*}}" "-cc1" "-triple" "powerpc--netbsd" 226 // POWERPC: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 227 // POWERPC: "-m" "elf32ppc_nbsd" 228 // POWERPC: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 229 // POWERPC: "{{.*}}/usr/lib{{/|\\\\}}powerpc{{/|\\\\}}crti.o" 230 // POWERPC: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 231 // POWERPC: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 232 233 // POWERPC64: clang{{.*}}" "-cc1" "-triple" "powerpc64--netbsd" 234 // POWERPC64: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so" 235 // POWERPC64: "-m" "elf64ppc" 236 // POWERPC64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 237 // POWERPC64: "{{.*}}/usr/lib{{/|\\\\}}crti.o" 238 // POWERPC64: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 239 // POWERPC64: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 240 241 // S-X86_64: clang{{.*}}" "-cc1" "-triple" "x86_64--netbsd" 242 // S-X86_64: ld{{.*}}" "--eh-frame-hdr" "-Bstatic" 243 // S-X86_64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o" 244 // S-X86_64: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 245 // S-X86_64: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 246 247 // S-X86_64-7: clang{{.*}}" "-cc1" "-triple" "x86_64--netbsd7.0.0" 248 // S-X86_64-7: ld{{.*}}" "--eh-frame-hdr" "-Bstatic" 249 // S-X86_64-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o" 250 // S-X86_64-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 251 // S-X86_64-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 252 253 // S-X86_64-6: clang{{.*}}" "-cc1" "-triple" "x86_64--netbsd6.0.0" 254 // S-X86_64-6: ld{{.*}}" "--eh-frame-hdr" "-Bstatic" 255 // S-X86_64-6: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o" 256 // S-X86_64-6: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 257 // S-X86_64-6: "-lgcc_eh" "-lc" "-lgcc" 258 // S-X86_64-6: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 259 260 // S-AARCH64: clang{{.*}}" "-cc1" "-triple" "aarch64--netbsd" 261 // S-AARCH64: ld{{.*}}" "--eh-frame-hdr" "-Bstatic" 262 // S-AARCH64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o" 263 // S-AARCH64: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 264 // S-AARCH64: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 265 266 // S-AARCH64-7: clang{{.*}}" "-cc1" "-triple" "aarch64--netbsd7.0.0" 267 // S-AARCH64-7: ld{{.*}}" "--eh-frame-hdr" "-Bstatic" 268 // S-AARCH64-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o" 269 // S-AARCH64-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 270 // S-AARCH64-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 271 272 // S-ARM: clang{{.*}}" "-cc1" "-triple" "armv5e--netbsd-eabi" 273 // S-ARM: ld{{.*}}" "--eh-frame-hdr" "-Bstatic" 274 // S-ARM: "-m" "armelf_nbsd_eabi" 275 // S-ARM: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 276 // S-ARM: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o" 277 // S-ARM: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 278 // S-ARM: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 279 280 // S-ARMEB: clang{{.*}}" "-cc1" "-triple" "armebv5e--netbsd-eabi" 281 // S-ARMEB: ld{{.*}}" "--eh-frame-hdr" "-Bstatic" 282 // S-ARMEB: "-m" "armelfb_nbsd_eabi" 283 // S-ARMEB: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 284 // S-ARMEB: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o" 285 // S-ARMEB: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 286 // S-ARMEB: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 287 288 // S-ARM-7: clang{{.*}}" "-cc1" "-triple" "armv5e--netbsd7.0.0-eabi" 289 // S-ARM-7: ld{{.*}}" "--eh-frame-hdr" "-Bstatic" 290 // S-ARM-7: "-m" "armelf_nbsd_eabi" 291 // S-ARM-7: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 292 // S-ARM-7: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o" 293 // S-ARM-7: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 294 // S-ARM-7: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 295 296 // S-ARM-6: clang{{.*}}" "-cc1" "-triple" "armv5e--netbsd6.0.0-eabi" 297 // S-ARM-6: ld{{.*}}" "--eh-frame-hdr" "-Bstatic" 298 // S-ARM-6: "-m" "armelf_nbsd_eabi" 299 // S-ARM-6: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 300 // S-ARM-6: "{{.*}}/usr/lib{{/|\\\\}}eabi{{/|\\\\}}crti.o" 301 // S-ARM-6: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 302 // S-ARM-6: "-lgcc_eh" "-lc" "-lgcc" 303 // S-ARM-6: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 304 305 // S-SPARC: clang{{.*}}" "-cc1" "-triple" "sparc--netbsd" 306 // S-SPARC: ld{{.*}}" "--eh-frame-hdr" "-Bstatic" 307 // S-SPARC: "-m" "elf32_sparc" 308 // S-SPARC: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 309 // S-SPARC: "{{.*}}/usr/lib{{/|\\\\}}sparc{{/|\\\\}}crti.o" 310 // S-SPARC: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 311 // S-SPARC: "-lgcc_eh" "-lc" "-lgcc" 312 // S-SPARC: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 313 314 // S-SPARC64: clang{{.*}}" "-cc1" "-triple" "sparc64--netbsd" 315 // S-SPARC64: ld{{.*}}" "--eh-frame-hdr" "-Bstatic" 316 // S-SPARC64: "-m" "elf64_sparc" 317 // S-SPARC64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" "{{.*}}/usr/lib{{/|\\\\}}crti.o" 318 // S-SPARC64: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 319 // S-SPARC64: "-lgcc_eh" "-lc" "-lgcc" 320 // S-SPARC64: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 321 322 // S-POWERPC: clang{{.*}}" "-cc1" "-triple" "powerpc--netbsd" 323 // S-POWERPC: ld{{.*}}" "--eh-frame-hdr" "-Bstatic" 324 // S-POWERPC: "-m" "elf32ppc_nbsd" 325 // S-POWERPC: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 326 // S-POWERPC: "{{.*}}/usr/lib{{/|\\\\}}powerpc{{/|\\\\}}crti.o" 327 // S-POWERPC: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 328 // S-POWERPC: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 329 330 // S-POWERPC64: clang{{.*}}" "-cc1" "-triple" "powerpc64--netbsd" 331 // S-POWERPC64: ld{{.*}}" "--eh-frame-hdr" "-Bstatic" 332 // S-POWERPC64: "-m" "elf64ppc" 333 // S-POWERPC64: "-o" "a.out" "{{.*}}/usr/lib{{/|\\\\}}crt0.o" 334 // S-POWERPC64: "{{.*}}/usr/lib{{/|\\\\}}crti.o" 335 // S-POWERPC64: "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" "{{.*}}.o" "-lc" 336 // S-POWERPC64: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" 337