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