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