Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: config.sub

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « bfd/xsym.c ('k') | config/ChangeLog » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/sh 1 #! /bin/sh
2 # Configuration validation subroutine script. 2 # Configuration validation subroutine script.
3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5 # 2011 Free Software Foundation, Inc. 5 # 2011, 2012 Free Software Foundation, Inc.
6 6
7 timestamp='2011-10-29' 7 timestamp='2012-04-18'
8 8
9 # This file is (in principle) common to ALL GNU software. 9 # This file is (in principle) common to ALL GNU software.
10 # The presence of a machine in this file suggests that SOME GNU software 10 # The presence of a machine in this file suggests that SOME GNU software
11 # can handle that machine. It does not imply ALL GNU software can. 11 # can handle that machine. It does not imply ALL GNU software can.
12 # 12 #
13 # This file is free software; you can redistribute it and/or modify 13 # This file is free software; you can redistribute it and/or modify
14 # it under the terms of the GNU General Public License as published by 14 # it under the terms of the GNU General Public License as published by
15 # the Free Software Foundation; either version 2 of the License, or 15 # the Free Software Foundation; either version 2 of the License, or
16 # (at your option) any later version. 16 # (at your option) any later version.
17 # 17 #
18 # This program is distributed in the hope that it will be useful, 18 # This program is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of 19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 # GNU General Public License for more details. 21 # GNU General Public License for more details.
22 # 22 #
23 # You should have received a copy of the GNU General Public License 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 24 # along with this program; if not, see <http://www.gnu.org/licenses/>.
25 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26 # 02110-1301, USA.
27 # 25 #
28 # As a special exception to the GNU General Public License, if you 26 # As a special exception to the GNU General Public License, if you
29 # distribute this file as part of a program that contains a 27 # distribute this file as part of a program that contains a
30 # configuration script generated by Autoconf, you may include it under 28 # configuration script generated by Autoconf, you may include it under
31 # the same distribution terms that you use for the rest of that program. 29 # the same distribution terms that you use for the rest of that program.
32 30
33 31
34 # Please send patches to <config-patches@gnu.org>. Submit a context 32 # Please send patches to <config-patches@gnu.org>. Submit a context
35 # diff and a properly formatted GNU ChangeLog entry. 33 # diff and a properly formatted GNU ChangeLog entry.
36 # 34 #
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 -h, --help print this help, then exit 67 -h, --help print this help, then exit
70 -t, --time-stamp print date of last modification, then exit 68 -t, --time-stamp print date of last modification, then exit
71 -v, --version print version number, then exit 69 -v, --version print version number, then exit
72 70
73 Report bugs and patches to <config-patches@gnu.org>." 71 Report bugs and patches to <config-patches@gnu.org>."
74 72
75 version="\ 73 version="\
76 GNU config.sub ($timestamp) 74 GNU config.sub ($timestamp)
77 75
78 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 76 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
79 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free 77 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
80 Software Foundation, Inc. 78 Free Software Foundation, Inc.
81 79
82 This is free software; see the source for copying conditions. There is NO 80 This is free software; see the source for copying conditions. There is NO
83 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 81 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
84 82
85 help=" 83 help="
86 Try \`$me --help' for more information." 84 Try \`$me --help' for more information."
87 85
88 # Parse command line 86 # Parse command line
89 while test $# -gt 0 ; do 87 while test $# -gt 0 ; do
90 case $1 in 88 case $1 in
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 123 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
126 case $maybe_os in 124 case $maybe_os in
127 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ 125 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
128 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ 126 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
129 knetbsd*-gnu* | netbsd*-gnu* | \ 127 knetbsd*-gnu* | netbsd*-gnu* | \
130 kopensolaris*-gnu* | \ 128 kopensolaris*-gnu* | \
131 storm-chaos* | os2-emx* | rtmk-nova*) 129 storm-chaos* | os2-emx* | rtmk-nova*)
132 os=-$maybe_os 130 os=-$maybe_os
133 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 131 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
134 ;; 132 ;;
133 android-linux)
134 os=-linux-android
135 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
136 ;;
135 *) 137 *)
136 basic_machine=`echo $1 | sed 's/-[^-]*$//'` 138 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
137 if [ $basic_machine != $1 ] 139 if [ $basic_machine != $1 ]
138 then os=`echo $1 | sed 's/.*-/-/'` 140 then os=`echo $1 | sed 's/.*-/-/'`
139 else os=; fi 141 else os=; fi
140 ;; 142 ;;
141 esac 143 esac
142 144
143 ### Let's recognize common machines as not being operating systems so 145 ### Let's recognize common machines as not being operating systems so
144 ### that things like config.sub decstation-3100 work. We also 146 ### that things like config.sub decstation-3100 work. We also
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 -isc) 218 -isc)
217 os=-isc2.2 219 os=-isc2.2
218 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 220 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
219 ;; 221 ;;
220 -clix*) 222 -clix*)
221 basic_machine=clipper-intergraph 223 basic_machine=clipper-intergraph
222 ;; 224 ;;
223 -isc*) 225 -isc*)
224 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 226 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
225 ;; 227 ;;
228 -lynx*178)
229 os=-lynxos178
230 ;;
231 -lynx*5)
232 os=-lynxos5
233 ;;
226 -lynx*) 234 -lynx*)
227 os=-lynxos 235 os=-lynxos
228 ;; 236 ;;
229 -ptx*) 237 -ptx*)
230 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` 238 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
231 ;; 239 ;;
232 -windowsnt*) 240 -windowsnt*)
233 os=`echo $os | sed -e 's/windowsnt/winnt/'` 241 os=`echo $os | sed -e 's/windowsnt/winnt/'`
234 ;; 242 ;;
235 -psos*) 243 -psos*)
236 os=-psos 244 os=-psos
237 ;; 245 ;;
238 -mint | -mint[0-9]*) 246 -mint | -mint[0-9]*)
239 basic_machine=m68k-atari 247 basic_machine=m68k-atari
240 os=-mint 248 os=-mint
241 ;; 249 ;;
242 esac 250 esac
243 251
244 # Decode aliases for certain CPU-COMPANY combinations. 252 # Decode aliases for certain CPU-COMPANY combinations.
245 case $basic_machine in 253 case $basic_machine in
246 # Recognize the basic CPU types without company name. 254 # Recognize the basic CPU types without company name.
247 # Some are omitted here because they have special meanings below. 255 # Some are omitted here because they have special meanings below.
248 1750a | 580 \ 256 1750a | 580 \
249 | a29k \ 257 | a29k \
258 | aarch64 | aarch64_be \
250 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 259 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
251 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[ 67] \ 260 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[ 67] \
252 | am33_2.0 \ 261 | am33_2.0 \
253 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | a vr32 \ 262 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | a vr32 \
254 | be32 | be64 \ 263 | be32 | be64 \
255 | bfin \ 264 | bfin \
256 | c4x | clipper \ 265 | c4x | clipper \
257 | d10v | d30v | dlx | dsp16xx \ 266 | d10v | d30v | dlx | dsp16xx \
258 | epiphany \ 267 | epiphany \
259 | fido | fr30 | frv \ 268 | fido | fr30 | frv \
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 ;; 321 ;;
313 c54x) 322 c54x)
314 basic_machine=tic54x-unknown 323 basic_machine=tic54x-unknown
315 ;; 324 ;;
316 c55x) 325 c55x)
317 basic_machine=tic55x-unknown 326 basic_machine=tic55x-unknown
318 ;; 327 ;;
319 c6x) 328 c6x)
320 basic_machine=tic6x-unknown 329 basic_machine=tic6x-unknown
321 ;; 330 ;;
322 » m6811 | m68hc11 | m6812 | m68hc12 | picochip) 331 » m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
323 » » # Motorola 68HC11/12.
324 basic_machine=$basic_machine-unknown 332 basic_machine=$basic_machine-unknown
325 os=-none 333 os=-none
326 ;; 334 ;;
327 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 335 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
328 ;; 336 ;;
329 ms1) 337 ms1)
330 basic_machine=mt-unknown 338 basic_machine=mt-unknown
331 ;; 339 ;;
332 340
333 strongarm | thumb | xscale) 341 strongarm | thumb | xscale)
334 basic_machine=arm-unknown 342 basic_machine=arm-unknown
335 ;; 343 ;;
336 344 » xgate)
345 » » basic_machine=$basic_machine-unknown
346 » » os=-none
347 » » ;;
337 xscaleeb) 348 xscaleeb)
338 basic_machine=armeb-unknown 349 basic_machine=armeb-unknown
339 ;; 350 ;;
340 351
341 xscaleel) 352 xscaleel)
342 basic_machine=armel-unknown 353 basic_machine=armel-unknown
343 ;; 354 ;;
344 355
345 # We use `pc' rather than `unknown' 356 # We use `pc' rather than `unknown'
346 # because (1) that's what they normally are, and 357 # because (1) that's what they normally are, and
347 # (2) the word "unknown" tends to confuse beginning users. 358 # (2) the word "unknown" tends to confuse beginning users.
348 i*86 | x86_64) 359 i*86 | x86_64)
349 basic_machine=$basic_machine-pc 360 basic_machine=$basic_machine-pc
350 ;; 361 ;;
351 # Object if more than one company name word. 362 # Object if more than one company name word.
352 *-*-*) 363 *-*-*)
353 echo Invalid configuration \`$1\': machine \`$basic_machine\' no t recognized 1>&2 364 echo Invalid configuration \`$1\': machine \`$basic_machine\' no t recognized 1>&2
354 exit 1 365 exit 1
355 ;; 366 ;;
356 # Recognize the basic CPU types with company name. 367 # Recognize the basic CPU types with company name.
357 580-* \ 368 580-* \
358 | a29k-* \ 369 | a29k-* \
370 | aarch64-* | aarch64_be-* \
359 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 371 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
360 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 372 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
361 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 373 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
362 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 374 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
363 | avr-* | avr32-* \ 375 | avr-* | avr32-* \
364 | be32-* | be64-* \ 376 | be32-* | be64-* \
365 | bfin-* | bs2000-* \ 377 | bfin-* | bs2000-* \
366 | c[123]* | c30-* | [cjt]90-* | c4x-* \ 378 | c[123]* | c30-* | [cjt]90-* | c4x-* \
367 | clipper-* | craynv-* | cydra-* \ 379 | clipper-* | craynv-* | cydra-* \
368 | d10v-* | d30v-* | dlx-* \ 380 | d10v-* | d30v-* | dlx-* \
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 basic_machine=hppa1.1-hp 724 basic_machine=hppa1.1-hp
713 os=-osf 725 os=-osf
714 ;; 726 ;;
715 hppro) 727 hppro)
716 basic_machine=hppa1.1-hp 728 basic_machine=hppa1.1-hp
717 os=-proelf 729 os=-proelf
718 ;; 730 ;;
719 i370-ibm* | ibm*) 731 i370-ibm* | ibm*)
720 basic_machine=i370-ibm 732 basic_machine=i370-ibm
721 ;; 733 ;;
722 # I'm not sure what "Sysv32" means. Should this be sysv3.2?
723 i*86v32) 734 i*86v32)
724 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 735 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
725 os=-sysv32 736 os=-sysv32
726 ;; 737 ;;
727 i*86v4*) 738 i*86v4*)
728 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 739 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
729 os=-sysv4 740 os=-sysv4
730 ;; 741 ;;
731 i*86v) 742 i*86v)
732 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 743 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 basic_machine=powerpc-unknown 820 basic_machine=powerpc-unknown
810 os=-morphos 821 os=-morphos
811 ;; 822 ;;
812 msdos) 823 msdos)
813 basic_machine=i386-pc 824 basic_machine=i386-pc
814 os=-msdos 825 os=-msdos
815 ;; 826 ;;
816 ms1-*) 827 ms1-*)
817 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 828 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
818 ;; 829 ;;
830 msys)
831 basic_machine=i386-pc
832 os=-msys
833 ;;
819 mvs) 834 mvs)
820 basic_machine=i370-ibm 835 basic_machine=i370-ibm
821 os=-mvs 836 os=-mvs
822 ;; 837 ;;
823 nacl) 838 nacl)
824 basic_machine=le32-unknown 839 basic_machine=le32-unknown
825 os=-nacl 840 os=-nacl
826 ;; 841 ;;
827 ncr3000) 842 ncr3000)
828 basic_machine=i486-ncr 843 basic_machine=i486-ncr
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
1336 | -aos* | -aros* \ 1351 | -aos* | -aros* \
1337 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1352 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1338 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1353 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1339 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ 1354 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1340 | -openbsd* | -solidbsd* \ 1355 | -openbsd* | -solidbsd* \
1341 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1356 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1342 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1357 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1343 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1358 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1344 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1359 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1345 | -chorusos* | -chorusrdb* | -cegcc* \ 1360 | -chorusos* | -chorusrdb* | -cegcc* \
1346 » | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1361 » | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1347 | -mingw32* | -linux-gnu* | -linux-android* \ 1362 | -mingw32* | -linux-gnu* | -linux-android* \
1348 | -linux-newlib* | -linux-uclibc* \ 1363 | -linux-newlib* | -linux-uclibc* \
1349 | -uxpv* | -beos* | -mpeix* | -udk* \ 1364 | -uxpv* | -beos* | -mpeix* | -udk* \
1350 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1365 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1351 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1366 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1352 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1367 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1353 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1368 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1354 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1369 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1355 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1370 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1356 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) 1371 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
1548 os=-ultrix4.2 1563 os=-ultrix4.2
1549 ;; 1564 ;;
1550 m68*-apollo) 1565 m68*-apollo)
1551 os=-domain 1566 os=-domain
1552 ;; 1567 ;;
1553 i386-sun) 1568 i386-sun)
1554 os=-sunos4.0.2 1569 os=-sunos4.0.2
1555 ;; 1570 ;;
1556 m68000-sun) 1571 m68000-sun)
1557 os=-sunos3 1572 os=-sunos3
1558 # This also exists in the configure program, but was not the
1559 # default.
1560 # os=-sunos4
1561 ;; 1573 ;;
1562 m68*-cisco) 1574 m68*-cisco)
1563 os=-aout 1575 os=-aout
1564 ;; 1576 ;;
1565 mep-*) 1577 mep-*)
1566 os=-elf 1578 os=-elf
1567 ;; 1579 ;;
1568 mips*-cisco) 1580 mips*-cisco)
1569 os=-elf 1581 os=-elf
1570 ;; 1582 ;;
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1758 1770
1759 echo $basic_machine$os 1771 echo $basic_machine$os
1760 exit 1772 exit
1761 1773
1762 # Local variables: 1774 # Local variables:
1763 # eval: (add-hook 'write-file-hooks 'time-stamp) 1775 # eval: (add-hook 'write-file-hooks 'time-stamp)
1764 # time-stamp-start: "timestamp='" 1776 # time-stamp-start: "timestamp='"
1765 # time-stamp-format: "%:y-%02m-%02d" 1777 # time-stamp-format: "%:y-%02m-%02d"
1766 # time-stamp-end: "'" 1778 # time-stamp-end: "'"
1767 # End: 1779 # End:
OLDNEW
« no previous file with comments | « bfd/xsym.c ('k') | config/ChangeLog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698