~ubuntu-branches/ubuntu/saucy/mutextrace/saucy-proposed

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Package Import Robot
  • Author(s): Simon Richter
  • Date: 2013-05-03 14:01:37 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130503140137-jmevik7bws88ya2b
Tags: 0.1.2-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Configuration validation subroutine script.
3
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
 
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
5
 
#   Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
 
5
#   2011, 2012 Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2009-06-11'
 
7
timestamp='2012-04-18'
8
8
 
9
9
# This file is (in principle) common to ALL GNU software.
10
10
# The presence of a machine in this file suggests that SOME GNU software
21
21
# GNU General Public License for more details.
22
22
#
23
23
# You should have received a copy of the GNU General Public License
24
 
# along with this program; if not, write to the Free Software
25
 
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26
 
# 02110-1301, USA.
 
24
# along with this program; if not, see <http://www.gnu.org/licenses/>.
27
25
#
28
26
# As a special exception to the GNU General Public License, if you
29
27
# distribute this file as part of a program that contains a
32
30
 
33
31
 
34
32
# Please send patches to <config-patches@gnu.org>.  Submit a context
35
 
# diff and a properly formatted ChangeLog entry.
 
33
# diff and a properly formatted GNU ChangeLog entry.
36
34
#
37
35
# Configuration subroutine to validate and canonicalize a configuration type.
38
36
# Supply the specified configuration type as an argument.
39
37
# If it is invalid, we print an error message on stderr and exit with code 1.
40
38
# Otherwise, we print the canonical config type on stdout and succeed.
41
39
 
 
40
# You can get the latest version of this script from:
 
41
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
 
42
 
42
43
# This file is supposed to be the same for all GNU packages
43
44
# and recognize all the CPU types, system types and aliases
44
45
# that are meaningful with *any* GNU software.
72
73
version="\
73
74
GNU config.sub ($timestamp)
74
75
 
75
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
76
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
76
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
 
77
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
 
78
Free Software Foundation, Inc.
77
79
 
78
80
This is free software; see the source for copying conditions.  There is NO
79
81
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
120
122
# Here we must recognize all the valid KERNEL-OS combinations.
121
123
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
122
124
case $maybe_os in
123
 
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124
 
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
125
  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
 
126
  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
 
127
  knetbsd*-gnu* | netbsd*-gnu* | \
125
128
  kopensolaris*-gnu* | \
126
129
  storm-chaos* | os2-emx* | rtmk-nova*)
127
130
    os=-$maybe_os
128
131
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
129
132
    ;;
 
133
  android-linux)
 
134
    os=-linux-android
 
135
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
 
136
    ;;
130
137
  *)
131
138
    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
132
139
    if [ $basic_machine != $1 ]
149
156
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
150
157
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
151
158
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
152
 
        -apple | -axis | -knuth | -cray)
 
159
        -apple | -axis | -knuth | -cray | -microblaze)
153
160
                os=
154
161
                basic_machine=$1
155
162
                ;;
156
 
        -bluegene*)
157
 
                os=-cnk
 
163
        -bluegene*)
 
164
                os=-cnk
158
165
                ;;
159
166
        -sim | -cisco | -oki | -wec | -winbond)
160
167
                os=
170
177
                os=-chorusos
171
178
                basic_machine=$1
172
179
                ;;
173
 
        -chorusrdb)
174
 
                os=-chorusrdb
 
180
        -chorusrdb)
 
181
                os=-chorusrdb
175
182
                basic_machine=$1
176
 
                ;;
 
183
                ;;
177
184
        -hiux*)
178
185
                os=-hiuxwe2
179
186
                ;;
218
225
        -isc*)
219
226
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
220
227
                ;;
 
228
        -lynx*178)
 
229
                os=-lynxos178
 
230
                ;;
 
231
        -lynx*5)
 
232
                os=-lynxos5
 
233
                ;;
221
234
        -lynx*)
222
235
                os=-lynxos
223
236
                ;;
242
255
        # Some are omitted here because they have special meanings below.
243
256
        1750a | 580 \
244
257
        | a29k \
 
258
        | aarch64 | aarch64_be \
245
259
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
246
260
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
247
261
        | am33_2.0 \
248
262
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 
263
        | be32 | be64 \
249
264
        | bfin \
250
265
        | c4x | clipper \
251
266
        | d10v | d30v | dlx | dsp16xx \
 
267
        | epiphany \
252
268
        | fido | fr30 | frv \
253
269
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 
270
        | hexagon \
254
271
        | i370 | i860 | i960 | ia64 \
255
272
        | ip2k | iq2000 \
 
273
        | le32 | le64 \
256
274
        | lm32 \
257
275
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
258
276
        | maxq | mb | microblaze | mcore | mep | metag \
278
296
        | moxie \
279
297
        | mt \
280
298
        | msp430 \
 
299
        | nds32 | nds32le | nds32be \
281
300
        | nios | nios2 \
282
301
        | ns16k | ns32k \
 
302
        | open8 \
283
303
        | or32 \
284
304
        | pdp10 | pdp11 | pj | pjl \
285
 
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
 
305
        | powerpc | powerpc64 | powerpc64le | powerpcle \
286
306
        | pyramid \
 
307
        | rl78 | rx \
287
308
        | score \
288
309
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
289
310
        | sh64 | sh64le \
290
311
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
291
312
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
292
 
        | spu | strongarm \
293
 
        | tahoe | thumb | tic4x | tic80 | tron \
294
 
        | v850 | v850e \
 
313
        | spu \
 
314
        | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
 
315
        | ubicom32 \
 
316
        | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
295
317
        | we32k \
296
 
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
318
        | x86 | xc16x | xstormy16 | xtensa \
297
319
        | z8k | z80)
298
320
                basic_machine=$basic_machine-unknown
299
321
                ;;
300
 
        m6811 | m68hc11 | m6812 | m68hc12)
301
 
                # Motorola 68HC11/12.
 
322
        c54x)
 
323
                basic_machine=tic54x-unknown
 
324
                ;;
 
325
        c55x)
 
326
                basic_machine=tic55x-unknown
 
327
                ;;
 
328
        c6x)
 
329
                basic_machine=tic6x-unknown
 
330
                ;;
 
331
        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
302
332
                basic_machine=$basic_machine-unknown
303
333
                os=-none
304
334
                ;;
308
338
                basic_machine=mt-unknown
309
339
                ;;
310
340
 
 
341
        strongarm | thumb | xscale)
 
342
                basic_machine=arm-unknown
 
343
                ;;
 
344
        xgate)
 
345
                basic_machine=$basic_machine-unknown
 
346
                os=-none
 
347
                ;;
 
348
        xscaleeb)
 
349
                basic_machine=armeb-unknown
 
350
                ;;
 
351
 
 
352
        xscaleel)
 
353
                basic_machine=armel-unknown
 
354
                ;;
 
355
 
311
356
        # We use `pc' rather than `unknown'
312
357
        # because (1) that's what they normally are, and
313
358
        # (2) the word "unknown" tends to confuse beginning users.
322
367
        # Recognize the basic CPU types with company name.
323
368
        580-* \
324
369
        | a29k-* \
 
370
        | aarch64-* | aarch64_be-* \
325
371
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
326
372
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
327
373
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
328
374
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
329
375
        | avr-* | avr32-* \
 
376
        | be32-* | be64-* \
330
377
        | bfin-* | bs2000-* \
331
 
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
 
378
        | c[123]* | c30-* | [cjt]90-* | c4x-* \
332
379
        | clipper-* | craynv-* | cydra-* \
333
380
        | d10v-* | d30v-* | dlx-* \
334
381
        | elxsi-* \
335
382
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
336
383
        | h8300-* | h8500-* \
337
384
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 
385
        | hexagon-* \
338
386
        | i*86-* | i860-* | i960-* | ia64-* \
339
387
        | ip2k-* | iq2000-* \
 
388
        | le32-* | le64-* \
340
389
        | lm32-* \
341
390
        | m32c-* | m32r-* | m32rle-* \
342
391
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
343
 
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
 
392
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
344
393
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
345
394
        | mips16-* \
346
395
        | mips64-* | mips64el-* \
362
411
        | mmix-* \
363
412
        | mt-* \
364
413
        | msp430-* \
 
414
        | nds32-* | nds32le-* | nds32be-* \
365
415
        | nios-* | nios2-* \
366
416
        | none-* | np1-* | ns16k-* | ns32k-* \
 
417
        | open8-* \
367
418
        | orion-* \
368
419
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
369
 
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
 
420
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
370
421
        | pyramid-* \
371
 
        | romp-* | rs6000-* \
 
422
        | rl78-* | romp-* | rs6000-* | rx-* \
372
423
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
373
424
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
374
425
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
375
426
        | sparclite-* \
376
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
377
 
        | tahoe-* | thumb-* \
378
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
 
427
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
 
428
        | tahoe-* \
 
429
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
430
        | tile*-* \
379
431
        | tron-* \
380
 
        | v850-* | v850e-* | vax-* \
 
432
        | ubicom32-* \
 
433
        | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
 
434
        | vax-* \
381
435
        | we32k-* \
382
 
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
436
        | x86-* | x86_64-* | xc16x-* | xps100-* \
383
437
        | xstormy16-* | xtensa*-* \
384
438
        | ymp-* \
385
439
        | z8k-* | z80-*)
404
458
                basic_machine=a29k-amd
405
459
                os=-udi
406
460
                ;;
407
 
        abacus)
 
461
        abacus)
408
462
                basic_machine=abacus-unknown
409
463
                ;;
410
464
        adobe68k)
474
528
                basic_machine=powerpc-ibm
475
529
                os=-cnk
476
530
                ;;
 
531
        c54x-*)
 
532
                basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
 
533
                ;;
 
534
        c55x-*)
 
535
                basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
 
536
                ;;
 
537
        c6x-*)
 
538
                basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
 
539
                ;;
477
540
        c90)
478
541
                basic_machine=c90-cray
479
542
                os=-unicos
480
543
                ;;
481
 
        cegcc)
 
544
        cegcc)
482
545
                basic_machine=arm-unknown
483
546
                os=-cegcc
484
547
                ;;
510
573
                basic_machine=craynv-cray
511
574
                os=-unicosmp
512
575
                ;;
513
 
        cr16)
 
576
        cr16 | cr16-*)
514
577
                basic_machine=cr16-unknown
515
578
                os=-elf
516
579
                ;;
668
731
        i370-ibm* | ibm*)
669
732
                basic_machine=i370-ibm
670
733
                ;;
671
 
# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
672
734
        i*86v32)
673
735
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
674
736
                os=-sysv32
726
788
                basic_machine=ns32k-utek
727
789
                os=-sysv
728
790
                ;;
 
791
        microblaze)
 
792
                basic_machine=microblaze-xilinx
 
793
                ;;
729
794
        mingw32)
730
795
                basic_machine=i386-pc
731
796
                os=-mingw32
762
827
        ms1-*)
763
828
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
764
829
                ;;
 
830
        msys)
 
831
                basic_machine=i386-pc
 
832
                os=-msys
 
833
                ;;
765
834
        mvs)
766
835
                basic_machine=i370-ibm
767
836
                os=-mvs
768
837
                ;;
 
838
        nacl)
 
839
                basic_machine=le32-unknown
 
840
                os=-nacl
 
841
                ;;
769
842
        ncr3000)
770
843
                basic_machine=i486-ncr
771
844
                os=-sysv4
830
903
        np1)
831
904
                basic_machine=np1-gould
832
905
                ;;
 
906
        neo-tandem)
 
907
                basic_machine=neo-tandem
 
908
                ;;
 
909
        nse-tandem)
 
910
                basic_machine=nse-tandem
 
911
                ;;
833
912
        nsr-tandem)
834
913
                basic_machine=nsr-tandem
835
914
                ;;
912
991
                ;;
913
992
        power)  basic_machine=power-ibm
914
993
                ;;
915
 
        ppc)    basic_machine=powerpc-unknown
 
994
        ppc | ppcbe)    basic_machine=powerpc-unknown
916
995
                ;;
917
 
        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
 
996
        ppc-* | ppcbe-*)
 
997
                basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
918
998
                ;;
919
999
        ppcle | powerpclittle | ppc-le | powerpc-little)
920
1000
                basic_machine=powerpcle-unknown
1008
1088
                basic_machine=i860-stratus
1009
1089
                os=-sysv4
1010
1090
                ;;
 
1091
        strongarm-* | thumb-*)
 
1092
                basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
 
1093
                ;;
1011
1094
        sun2)
1012
1095
                basic_machine=m68000-sun
1013
1096
                ;;
1064
1147
                basic_machine=t90-cray
1065
1148
                os=-unicos
1066
1149
                ;;
1067
 
        tic54x | c54x*)
1068
 
                basic_machine=tic54x-unknown
1069
 
                os=-coff
1070
 
                ;;
1071
 
        tic55x | c55x*)
1072
 
                basic_machine=tic55x-unknown
1073
 
                os=-coff
1074
 
                ;;
1075
 
        tic6x | c6x*)
1076
 
                basic_machine=tic6x-unknown
1077
 
                os=-coff
1078
 
                ;;
1079
1150
        tile*)
1080
 
                basic_machine=tile-unknown
 
1151
                basic_machine=$basic_machine-unknown
1081
1152
                os=-linux-gnu
1082
1153
                ;;
1083
1154
        tx39)
1147
1218
        xps | xps100)
1148
1219
                basic_machine=xps100-honeywell
1149
1220
                ;;
 
1221
        xscale-* | xscalee[bl]-*)
 
1222
                basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
 
1223
                ;;
1150
1224
        ymp)
1151
1225
                basic_machine=ymp-cray
1152
1226
                os=-unicos
1244
1318
if [ x"$os" != x"" ]
1245
1319
then
1246
1320
case $os in
1247
 
        # First match some system type aliases
1248
 
        # that might get confused with valid system types.
 
1321
        # First match some system type aliases
 
1322
        # that might get confused with valid system types.
1249
1323
        # -solaris* is a basic system type, with this one exception.
 
1324
        -auroraux)
 
1325
                os=-auroraux
 
1326
                ;;
1250
1327
        -solaris1 | -solaris1.*)
1251
1328
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1252
1329
                ;;
1268
1345
        # -sysv* is not here because it comes later, after sysvr4.
1269
1346
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1270
1347
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1271
 
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1272
 
              | -kopensolaris* \
 
1348
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
 
1349
              | -sym* | -kopensolaris* \
1273
1350
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1274
1351
              | -aos* | -aros* \
1275
1352
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1281
1358
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1282
1359
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1283
1360
              | -chorusos* | -chorusrdb* | -cegcc* \
1284
 
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1285
 
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
 
1361
              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 
1362
              | -mingw32* | -linux-gnu* | -linux-android* \
 
1363
              | -linux-newlib* | -linux-uclibc* \
1286
1364
              | -uxpv* | -beos* | -mpeix* | -udk* \
1287
1365
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1288
1366
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1290
1368
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1291
1369
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1292
1370
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1293
 
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
 
1371
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1294
1372
        # Remember, each alternative MUST END IN *, to match a version number.
1295
1373
                ;;
1296
1374
        -qnx*)
1329
1407
        -opened*)
1330
1408
                os=-openedition
1331
1409
                ;;
1332
 
        -os400*)
 
1410
        -os400*)
1333
1411
                os=-os400
1334
1412
                ;;
1335
1413
        -wince*)
1378
1456
        -sinix*)
1379
1457
                os=-sysv4
1380
1458
                ;;
1381
 
        -tpf*)
 
1459
        -tpf*)
1382
1460
                os=-tpf
1383
1461
                ;;
1384
1462
        -triton*)
1423
1501
        -dicos*)
1424
1502
                os=-dicos
1425
1503
                ;;
 
1504
        -nacl*)
 
1505
                ;;
1426
1506
        -none)
1427
1507
                ;;
1428
1508
        *)
1445
1525
# system, and we'll never get to this point.
1446
1526
 
1447
1527
case $basic_machine in
1448
 
        score-*)
 
1528
        score-*)
1449
1529
                os=-elf
1450
1530
                ;;
1451
 
        spu-*)
 
1531
        spu-*)
1452
1532
                os=-elf
1453
1533
                ;;
1454
1534
        *-acorn)
1460
1540
        arm*-semi)
1461
1541
                os=-aout
1462
1542
                ;;
1463
 
        c4x-* | tic4x-*)
1464
 
                os=-coff
 
1543
        c4x-* | tic4x-*)
 
1544
                os=-coff
 
1545
                ;;
 
1546
        hexagon-*)
 
1547
                os=-elf
 
1548
                ;;
 
1549
        tic54x-*)
 
1550
                os=-coff
 
1551
                ;;
 
1552
        tic55x-*)
 
1553
                os=-coff
 
1554
                ;;
 
1555
        tic6x-*)
 
1556
                os=-coff
1465
1557
                ;;
1466
1558
        # This must come before the *-dec entry.
1467
1559
        pdp10-*)
1481
1573
                ;;
1482
1574
        m68000-sun)
1483
1575
                os=-sunos3
1484
 
                # This also exists in the configure program, but was not the
1485
 
                # default.
1486
 
                # os=-sunos4
1487
1576
                ;;
1488
1577
        m68*-cisco)
1489
1578
                os=-aout
1490
1579
                ;;
1491
 
        mep-*)
 
1580
        mep-*)
1492
1581
                os=-elf
1493
1582
                ;;
1494
1583
        mips*-cisco)
1515
1604
        *-ibm)
1516
1605
                os=-aix
1517
1606
                ;;
1518
 
        *-knuth)
 
1607
        *-knuth)
1519
1608
                os=-mmixware
1520
1609
                ;;
1521
1610
        *-wec)