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