Commit Graph

  • 0e62f680f8 * testsuite/config-sub.data: Add legacy test cases. John Ericson 2018-08-20 16:45:39 +10:00
  • 588e779320 * config.sub (sequent): Make this a one-component alias. * testsuite/config-sub.data (sequent-ptx): Adjust test case. John Ericson 2018-08-14 10:11:14 +10:00
  • 7397e860d9 * config.sub: Move some erroneous foo-* aliases to be single component aliases. John Ericson 2018-08-14 10:07:33 +10:00
  • 0b99e39a4e * testsuite/config-sub.data: Add legacy test cases for cydra, da30, dec3100, decstation, decstation-3100, decstatn, orion, pc98, pmin, pmax, romp, rs6000, vax, x64, xps and xps100. Ben Elliston 2018-08-13 20:25:15 +10:00
  • b06a862db4 * config.sub: Make a few basic_machines short-hands only. John Ericson 2018-08-13 14:28:54 +10:00
  • 1ae6c5d42f * config.sub: Combine match arms. John Ericson 2018-08-13 14:25:52 +10:00
  • f4f9b29a8c * config.sub (craynv): Move back as a basic_machine pattern. * testsuite/config-sub.data: Add test case. John Ericson 2018-08-13 14:17:53 +10:00
  • c0ba970d17 * testsuite/config-sub.data: Add some legacy test cases. Ben Elliston 2018-08-13 10:10:23 +10:00
  • 019c1a9f7a Bump timestamp. Ben Elliston 2018-08-12 21:55:13 +10:00
  • 1eb41eb778 * config.sub (basic_machine): Move up manufacturer-defaulting patterns. John Ericson 2018-08-12 21:53:44 +10:00
  • ad274839e2 * config.sub: Eliminate some dead code for SH targets. * testsuite/config-sub.data: Add tests for sh2ele and sh2ele-elf. John Ericson 2018-08-08 14:00:07 +10:00
  • ea0e5a6f5b * config.sub (tile*): Only set 'os' to -linux-gnu if unset. John Ericson 2018-08-08 11:54:28 +10:00
  • 437d5d59dc * config.sub (abacus, asmjs): Combine some redundant case arms. John Ericson 2018-08-08 11:50:59 +10:00
  • 1225baf116 * config.sub: Don't need 'os=${os:-none}' defaults because that is already the default. John Ericson 2018-08-08 11:48:35 +10:00
  • 08ede0dcc1 * testsuiteb/config-sub.sh (run_config_sub_idempotent): New. * config.sub: Fixes to pass the testsuite. John Ericson 2018-08-08 11:45:12 +10:00
  • dbe15d73a8 * testsuite/config-guess.sh: Make 'rc' a local variable. * testsuite/config-sub.sh: Likewise. John Ericson 2018-08-03 18:03:14 +10:00
  • f52be464ee * testsuite/config-guess.sh: Re-indent with tabs. * testsuite/config-sub.sh: Likewise. John Ericson 2018-08-02 21:19:03 +10:00
  • 8de5d27282 * config.guess: Fix SC2234 diagnostic from Shellcheck ("Remove superfluous (..) around test command". Also remove redirection as test(1) should never produce any output. Ben Elliston 2018-08-02 19:42:42 +10:00
  • 05049e403e * Makefile (check-guess, check-sub): Run tests under bash. Ben Elliston 2018-07-30 09:57:40 +10:00
  • 4761c20494 * config.sub: Fix some more i386-pc-* defaults. * testsuite/config-sub.data: Update. John Ericson 2018-07-25 12:25:15 +10:00
  • c85e3fc03c From Apostolos Syropoulos <asyropoulos@gmail.com>: * config.guess (i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*): Use the isainfo(1) command to guess what kind of system we have. Running isainfo -b returns either "32" or "64". Ben Elliston 2018-07-18 16:51:33 +10:00
  • afe1fa96bf * config.guess (arm*:FreeBSD:*:*): New. * testsuite/config-guess.data: Add a test case. Mikaël Urankar 2018-07-18 22:38:44 +10:00
  • 5c3c4a9647 * testsuite/config-guess.data: Sort. Ben Elliston 2018-07-15 10:50:45 +10:00
  • 9f9b3d365a * testsuite/config-guess.sh: Strip off spaces around pipe delimiter as test data is read in. (run_config_guess): Set IFS to '|'. * testsuite/config-guess.data: Use ' | ' as the delimeter. Ben Elliston 2018-07-13 22:20:28 +10:00
  • 09da403c82 * config.guess (set_cc_for_build): Disable SC2039 ("In POSIX sh, RANDOM is undefined"). * Makefile (shellcheck): Don't disable SC2039 globally. Ben Elliston 2018-07-13 21:43:28 +10:00
  • a4b36a6939 * config.guess: Disable SC2154 and SC2172 Shellcheck warnings. * Makefile (shellcheck): Don't disable SC2172 globally. Ben Elliston 2018-07-13 21:37:46 +10:00
  • 30d53fc428 Bump timestamp. Ben Elliston 2018-07-13 10:00:13 +10:00
  • baaaa582bf * config.sub: Don't recognize every *-unknown as a basic_machine. John Ericson 2018-07-13 09:58:06 +10:00
  • 1e826a0344 * config.guess: Replace large 'set_cc_for_build' shell variable, that is executed via eval, with a POSIX shell function. * Makefile (shellcheck): Ignore SC2039 diagnostics ("In POSIX sh, RANDOM is undefined") and SC2172 ("Trapping signals by number is not well defined. Prefer signal names"). Ben Elliston 2018-07-12 07:56:15 +10:00
  • ba47464ef7 * config.guess (set_cc_for_build): Suppress possible mkdir output. Ben Elliston 2018-07-06 22:45:59 +10:00
  • dd5d5dd697 * config.sub: Do not rewrite riscv -> riscv32. * testsuite/config-sub.data: Adjust tests. Ben Elliston 2018-07-03 21:18:29 +10:00
  • b47fd674df Update timestamp. Ben Elliston 2018-07-02 23:43:07 +10:00
  • 0388bdcb11 * config.guess (*:Minix:*:*): Accept any machine. * testsuite/config-guess.data: Add a test case. Sevan Janiyan 2018-06-26 11:54:17 +10:00
  • a06fbed616 * config.sub: Add riscv-* as an alias for riscv32-*. * testsuite/config-sub.data: Add tests. Palmer Dabbelt 2018-06-22 09:28:40 +10:00
  • 3a2a927f54 * testsuite/config-sub.data: Add tests for Sequent and DYNIX/ptx. Ben Elliston 2018-05-24 18:25:10 +10:00
  • 8b7ef99acd * config.sub: Consolidate $os checking. John Ericson 2018-05-24 14:58:59 +10:00
  • 44afabad0c Revert "Fix top of file comments." Ben Elliston 2018-05-23 13:22:23 +10:00
  • 629b235120 * config.sub: Don't force basic_machine based on $os just for "mint" and "clix". John Ericson 2018-05-23 13:11:57 +10:00
  • 437b9abd44 * config.sub: No more OS-driven substitution of -pc with sed. John Ericson 2018-05-23 12:59:07 +10:00
  • 63fe500bb8 * config.sub: Simplify *-wrs handling. John Ericson 2018-05-23 11:33:44 +10:00
  • ca138e34d0 * config.sub: Cordon off two-component aliases. John Ericson 2018-05-23 11:30:06 +10:00
  • cc35b3ce10 * testsuite/config-sub.data: Add clipper-clix and m68k-mint tests. John Ericson 2018-05-21 12:42:26 +10:00
  • ab84f2cea4 * testsuite/config-sub.data: Sort. Ben Elliston 2018-05-19 19:03:54 +10:00
  • ed15654af0 Fix top of file comments. Ben Elliston 2018-05-19 19:02:02 +10:00
  • 382847f038 * config.guess (set_cc_for_build): Guard against $CC_FOR_BUILD, $HOST_CC and $CC being undefined by using ${var-} style expansion. (*:NetBSD:*:*): Likewise for $abi. * testsuite/config-guess.sh: Run config.guess under `sh -eu'. Ben Elliston 2018-05-19 18:58:37 +10:00
  • 32d5bd9cec * testsuite/config-guess.sh: Set -eu for robustness. Run config.guess under sh -e' to catch more problems. * testsuite/config-sub.sh: Run config.sub under sh -eu'. Ben Elliston 2018-05-19 18:34:15 +10:00
  • 14ec0b015e * config.sub: Cordon off single component aliases. John Ericson 2018-05-19 13:59:45 +10:00
  • 45e7cb552c * Makefile (shellcheck): Include testsuite/*.sh scripts. Ben Elliston 2018-05-14 21:06:06 +10:00
  • 5b1c9fc952 * config.sub: Don't prepend $os with '-' everywhere. Include it in the output instead. John Ericson 2018-05-14 07:21:35 +10:00
  • bb2048934b * config.sub: Error if there is more than four components. John Ericson 2018-05-13 20:35:04 +10:00
  • c34561d03c * config.sub: Remove do-nothing case. Ben Elliston 2018-05-12 11:20:45 +10:00
  • 2f8d0c496f Typo fix from Paul Eggert. Ben Elliston 2018-05-11 14:57:38 +10:00
  • b75cdc942a * config.sub: Simplify an if expression. Ben Elliston 2018-05-05 21:11:00 +10:00
  • 09df750b99 * config.sub (arm*-*-none-eabi): Recognise. John Ericson 2018-05-05 21:09:43 +10:00
  • 65463c5913 * config.sub: Pass the -r option to 'read'. Ben Elliston 2018-05-05 21:00:21 +10:00
  • 50a0413a5b * config.sub: Properly recognise configuration types with four components. Re-work the old logic to simplify the shell code. John Ericson 2018-05-05 15:15:12 +10:00
  • 642dd8df5e * Makefile (shellcheck): New. Ben Elliston 2018-05-04 14:13:26 +10:00
  • 76d82de19f * config.sub: Whitespace tweak. Ben Elliston 2018-05-03 04:49:10 +10:00
  • 0bb25285e2 * config.sub (maybe_os): Reindent this block. Ben Elliston 2018-05-01 15:45:14 +10:00
  • f3e464fb69 * config.sub: Rewrite basic_machine 'if' with 'case'. John Ericson 2018-05-01 15:41:39 +10:00
  • d23f148145 * config.sub (nfp, nfp-*): New. * testsuite/config-sub.data: Add test cases. Francois H. Theron 2018-05-01 15:29:04 +10:00
  • c62a41f36a * config.sub (arm6m, armv[78][arm]): Recognise. * testsuite/config-sub.data: Add tests. John Ericson 2018-04-24 09:06:53 +10:00
  • 63b4ce2e8c * config.sub (csky, csky-*): Recognise. * testsuite/config-sub.data: Add a test case. Mao Han 2018-04-16 14:46:36 +10:00
  • 1aefff3bbb * testsuite/config-sub.data: Sort. Ben Elliston 2018-04-16 14:35:12 +10:00
  • c3818bbab0 * config.sub (s12z, hcs12z, m68hcs12z, m9s12z): New. * testsuite/config-sub.data: Add test cases. John Darrington 2018-04-16 14:33:13 +10:00
  • 614ae20b93 * config.guess: Use before-save-hook not write-file-functions. * config.sub: Ditto. Paul Eggert 2018-03-08 11:29:55 +11:00
  • 6b2374c795 Fix config.guess timestamp. Ben Elliston 2018-03-01 07:09:48 +11:00
  • 8d4e4ce15b Revert for now: Ben Elliston 2018-03-01 07:08:40 +11:00
  • b69837cbbd * config.sub (hcos-*): Recognise. * testsuite/config-sub.data: Add a test case. Rishi Khan 2018-02-28 09:15:47 +11:00
  • bd9626458c * config.guess (x86_64:Linux:*:*): Detect x32 ABI. James Clarke 2018-02-24 12:34:33 +11:00
  • 365ea7edee Reported by Nelson H. F. Beebe: * config.sub (os): Recognise midnightbsd*. * testsuite/config-sub.data: Add a test case. Ben Elliston 2018-02-22 13:50:09 +11:00
  • 3d00f60242 * config.guess: Try to detect musl libc on GNU/Linux systems using ldd --version. Henri Menke 2018-01-26 14:04:08 +11:00
  • 827c77253b * config.guess: Use double quotes on any remaining unquoted variables to prevent globbing and word splitting. Ben Elliston 2018-01-16 18:09:53 +11:00
  • 9ca5f17e49 * config.guess: Change most ${foo} expansions to "$foo" to: (1) double quote to prevent globbing and word splitting; and (2) remove extraneous braces. Ben Elliston 2018-01-16 12:06:26 +11:00
  • 68b4eebf4d * config.guess: Quote $dummy.c, $dummy.o and $dummy to prevent globbing and word splitting in the filename. Ben Elliston 2018-01-16 11:32:22 +11:00
  • 12c6a5c16e * config.sub: Double quote variables to silence warning SC2086 (double quote to prevent globbing and word splitting). Ben Elliston 2018-01-15 07:33:04 +11:00
  • 391ea45d14 * config.sub (os): Move -es1800* case above -es*. * testsuite/config-sub.data: Add several test cases. Ben Elliston 2018-01-14 11:18:55 +11:00
  • 8ca6442e66 * config.sub (os): Remove overlapping pattern -svr4*. Ben Elliston 2018-01-14 11:01:37 +11:00
  • e8c56e37c2 * config.sub (maybe_os): Remove duplicate pattern -hms*. * testsuite/config-sub.data: Add a test. Ben Elliston 2018-01-14 10:57:24 +11:00
  • 10438e2050 * config.sub (maybe_os): Remove duplicate pattern -beos*. * testsuite/config-sub.data: Add a test. Ben Elliston 2018-01-14 10:54:49 +11:00
  • d1a4abff22 * config.sub (maybe_os): Remove duplicated pattern -haiku*. (basic_machine): Don't match haiku in the manufacturer field. * testsuite/config-sub.data: Add a test. Ben Elliston 2018-01-14 10:51:48 +11:00
  • aaaf06062a * config.sub (maybe_os): Remove duplicated pattern -opened* which prevents the more specific case matching on line 1427. * testsuite/config-sub.data: Add a test. Ben Elliston 2018-01-14 10:29:58 +11:00
  • 53fa691097 * config.sub (maybe_os): Remove first and duplicate -none* case. This is matched further down. Found by Shellcheck. Ben Elliston 2018-01-14 08:31:27 +11:00
  • 5960fa40b2 * config.sub (maybe_os): Remove duplicate case for z8k. Ben Elliston 2018-01-13 23:10:33 +11:00
  • 8af31e838c * config.sub (maybe_os): Remove duplicate case for sh. * testsuite/config-sub.data: Add test cases for sh and sh-elf. Ben Elliston 2018-01-13 23:06:49 +11:00
  • f22522a600 * config.sub (maybe_os): Remove duplicate patterns for sparc, sparcv8, sparcv9, sparcv9b and sparcv9v. Found by Shellcheck. Ben Elliston 2018-01-13 22:12:38 +11:00
  • efc9a4d8d5 * config.sub (maybe_os): Remove cases z8k-*-coff and z80-*-coff as these are never matched. Found by Shellcheck. Ben Elliston 2018-01-13 22:09:07 +11:00
  • dea159d913 * config.sub (maybe_os): Remove duplicate m88k-omron* case. Found by Shellcheck. * testsuite/config-sub.data: Add a test case. Ben Elliston 2018-01-13 22:06:51 +11:00
  • 1ea2427f47 * config.sub (maybe_os): Remove pdp10 case as it is handled above. Found by Shellcheck. Ben Elliston 2018-01-13 21:45:29 +11:00
  • 97447f42ae * config.sub (basic_machine): Remove first pdp11 case so that the second, specialised case will match instead. Found by Shellcheck. * testsuite/config-sub.data: Adjust test case. Ben Elliston 2018-01-13 21:43:46 +11:00
  • 0ce3d2f0c0 * config.sub (maybe_os): Clean up 386BSD. * testsuite/config-sub.data: Adjust test cases. Ben Elliston 2018-01-13 21:37:16 +11:00
  • ae1acbbff7 * testsuite/config-guess.data: Sort. * testsuite/config-sub.data: Likewise. Ben Elliston 2018-01-13 21:11:12 +11:00
  • 702204e47b * config.sub (maybe_os): Remove sparclite-wrs pattern as it is matched by sparclite-* above. Found by Shellcheck. * testsuite/config-sub.data: Add test cases. Ben Elliston 2018-01-13 21:00:55 +11:00
  • a592387de4 * config.sub (maybe_os): Remove -rtmk-nova* pattern as it is matched by -rtmk* immediately preceding it. Found by Shellcheck. Ben Elliston 2018-01-13 20:55:11 +11:00
  • e8ad65b91a * config.sub (maybe_os): Remove duplicate sh64 case as it is matched above. Found by Shellcheck. Ben Elliston 2018-01-13 20:53:14 +11:00
  • f22c2fe826 * config.sub (maybe_os): Remove duplicate wasm32 case as it is matched above. Found by Shellcheck. Ben Elliston 2018-01-13 20:51:52 +11:00
  • 6189f8e47a * config.sub (maybe_os): Remove duplicate -osfrose* and -osf* cases as these are matched above by -osf*. Found by Shellcheck. Ben Elliston 2018-01-13 20:43:28 +11:00
  • 8503c24298 * config.sub (maybe_os): Remove second and duplicate *-xenix case as only the first will match. Found by Shellcheck. * testsuite/config-sub.data: Add test case. Ben Elliston 2018-01-13 20:12:27 +11:00
  • a9f681360d * config.sub (maybe_os): Remove hppa-next which can never match due to an earlier pattern. Found by Shellcheck. * testsuite/config-sub.data: Add test cases. Ben Elliston 2018-01-13 20:05:24 +11:00
  • e9fbad7e05 * config.sub (maybe_os): Remove i386-vsta which can never match due to an earlier pattern (but retain vsta). Found by Shellcheck. * testsuite/config-sub.data: Add test cases. Ben Elliston 2018-01-13 20:01:54 +11:00