@port-labs/jq-node-bindings 1.0.5 → 1.1.0-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +12 -0
- package/configure +6 -5
- package/deps/jq/.claude/settings.local.json +7 -0
- package/deps/jq/.gitattributes +1 -3
- package/deps/jq/AUTHORS +55 -1
- package/deps/jq/COPYING +40 -0
- package/deps/jq/Makefile.am +40 -36
- package/deps/jq/NEWS.md +277 -2
- package/deps/jq/README.md +23 -5
- package/deps/jq/compile-ios.sh +1 -1
- package/deps/jq/config/m4/check-math-func.m4 +2 -2
- package/deps/jq/config/m4/find-func-no-libs2.m4 +3 -3
- package/deps/jq/configure.ac +10 -18
- package/deps/jq/docs/Pipfile.lock +368 -313
- package/deps/jq/docs/README.md +3 -4
- package/deps/jq/docs/build_manpage.py +1 -1
- package/deps/jq/docs/build_mantests.py +1 -1
- package/deps/jq/docs/build_website.py +1 -8
- package/deps/jq/docs/content/download/default.yml +49 -9
- package/deps/jq/docs/content/index.yml +9 -0
- package/deps/jq/docs/content/manual/{manual.yml → dev/manual.yml} +218 -61
- package/deps/jq/docs/content/manual/v1.3/manual.yml +0 -5
- package/deps/jq/docs/content/manual/v1.4/manual.yml +0 -5
- package/deps/jq/docs/content/manual/v1.5/manual.yml +3 -8
- package/deps/jq/docs/content/manual/v1.6/manual.yml +3 -8
- package/deps/jq/docs/content/manual/v1.7/manual.yml +499 -500
- package/deps/jq/docs/content/manual/v1.8/manual.yml +3858 -0
- package/deps/jq/docs/content/tutorial/default.yml +3 -3
- package/deps/jq/docs/manual_schema.yml +0 -3
- package/deps/jq/docs/public/CNAME +1 -0
- package/deps/jq/docs/templates/index.html.j2 +10 -10
- package/deps/jq/docs/templates/manual.html.j2 +14 -3
- package/deps/jq/docs/templates/shared/_head.html.j2 +8 -3
- package/deps/jq/docs/templates/shared/_navbar.html.j2 +4 -4
- package/deps/jq/jq.1.prebuilt +219 -44
- package/deps/jq/jq.spec +2 -2
- package/deps/jq/libjq.pc.in +1 -1
- package/deps/jq/scripts/version +1 -1
- package/deps/jq/sig/v1.7.1/jq-1.7.1.tar.gz.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-1.7.1.zip.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-amd64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-arm64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-armel.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-armhf.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-i386.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mips.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mips64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mips64el.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mips64r6.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mips64r6el.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mipsel.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mipsr6.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mipsr6el.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-powerpc.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-ppc64el.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-riscv64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-s390x.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-macos-amd64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-macos-arm64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-osx-amd64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-win64.exe.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-windows-amd64.exe.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-windows-i386.exe.asc +16 -0
- package/deps/jq/sig/v1.7.1/sha256sum.txt +26 -0
- package/deps/jq/sig/v1.8.0/jq-1.8.0.tar.gz.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-1.8.0.zip.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-amd64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-arm64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-armel.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-armhf.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-i386.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mips.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mips64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mips64el.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mips64r6.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mips64r6el.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mipsel.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mipsr6.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mipsr6el.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-powerpc.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-ppc64el.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-riscv64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-s390x.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-macos-amd64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-macos-arm64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-osx-amd64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-win64.exe.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-windows-amd64.exe.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-windows-i386.exe.asc +16 -0
- package/deps/jq/sig/v1.8.0/sha256sum.txt +26 -0
- package/deps/jq/src/builtin.c +446 -271
- package/deps/jq/src/builtin.jq +25 -60
- package/deps/jq/src/bytecode.h +8 -3
- package/deps/jq/src/compile.c +22 -43
- package/deps/jq/src/compile.h +1 -1
- package/deps/jq/src/execute.c +20 -25
- package/deps/jq/src/jq_test.c +113 -44
- package/deps/jq/src/jv.c +134 -42
- package/deps/jq/src/jv.h +10 -3
- package/deps/jq/src/jv_alloc.c +8 -5
- package/deps/jq/src/jv_alloc.h +0 -1
- package/deps/jq/src/jv_aux.c +41 -8
- package/deps/jq/src/jv_dtoa.c +4 -12
- package/deps/jq/src/jv_dtoa_tsd.c +5 -4
- package/deps/jq/src/jv_dtoa_tsd.h +1 -1
- package/deps/jq/src/jv_parse.c +5 -3
- package/deps/jq/src/jv_print.c +87 -65
- package/deps/jq/src/jv_unicode.c +18 -0
- package/deps/jq/src/jv_unicode.h +2 -0
- package/deps/jq/src/lexer.c +303 -278
- package/deps/jq/src/lexer.h +5 -4
- package/deps/jq/src/lexer.l +8 -2
- package/deps/jq/src/libm.h +15 -5
- package/deps/jq/src/linker.c +6 -4
- package/deps/jq/src/locfile.c +12 -12
- package/deps/jq/src/main.c +204 -270
- package/deps/jq/src/parser.c +1105 -1273
- package/deps/jq/src/parser.y +149 -181
- package/deps/jq/src/util.c +46 -48
- package/deps/jq/src/util.h +1 -1
- package/deps/jq/tests/base64.test +12 -0
- package/deps/jq/tests/jq.test +429 -37
- package/deps/jq/tests/jq_fuzz_load_file.c +1 -0
- package/deps/jq/tests/man.test +46 -13
- package/deps/jq/tests/manonig.test +13 -0
- package/deps/jq/tests/onig.test +40 -2
- package/deps/jq/tests/optional.test +4 -12
- package/deps/jq/tests/setup +5 -1
- package/deps/jq/tests/shtest +358 -130
- package/deps/jq/tests/uri.test +38 -0
- package/deps/jq/tests/uritest +5 -0
- package/deps/jq/{src → vendor}/decNumber/decBasic.c +1 -1
- package/deps/jq/{src → vendor}/decNumber/decCommon.c +1 -1
- package/deps/jq/{src → vendor}/decNumber/decNumber.c +4 -4
- package/deps/jq/{modules → vendor}/oniguruma/CMakeLists.txt +5 -3
- package/deps/jq/{modules → vendor}/oniguruma/HISTORY +45 -7
- package/deps/jq/{modules → vendor}/oniguruma/Makefile.am +1 -1
- package/deps/jq/{modules → vendor}/oniguruma/README.md +10 -23
- package/deps/jq/{modules → vendor}/oniguruma/compile +29 -13
- package/deps/jq/{modules → vendor}/oniguruma/config.guess +91 -27
- package/deps/jq/{modules → vendor}/oniguruma/config.sub +716 -242
- package/deps/jq/{modules → vendor}/oniguruma/configure.ac +2 -2
- package/deps/jq/{modules → vendor}/oniguruma/depcomp +10 -9
- package/deps/jq/{modules → vendor}/oniguruma/doc/API +3 -1
- package/deps/jq/{modules → vendor}/oniguruma/doc/API.ja +3 -1
- package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.BUILTIN +10 -1
- package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.BUILTIN.ja +9 -1
- package/deps/jq/{modules → vendor}/oniguruma/doc/RE +12 -13
- package/deps/jq/{modules → vendor}/oniguruma/doc/RE.ja +12 -13
- package/deps/jq/{modules → vendor}/oniguruma/doc/SYNTAX.md +202 -167
- package/deps/jq/{modules → vendor}/oniguruma/doc/UNICODE_PROPERTIES +33 -1
- package/deps/jq/vendor/oniguruma/doc/onig_syn_md.c +667 -0
- package/deps/jq/{modules → vendor}/oniguruma/harnesses/base.c +1 -1
- package/deps/jq/{modules → vendor}/oniguruma/install-sh +9 -9
- package/deps/jq/{modules → vendor}/oniguruma/missing +50 -29
- package/deps/jq/{modules → vendor}/oniguruma/sample/callback_each_match.c +1 -3
- package/deps/jq/vendor/oniguruma/sbom.cdx.json +44 -0
- package/deps/jq/{modules → vendor}/oniguruma/src/ascii.c +4 -1
- package/deps/jq/{modules → vendor}/oniguruma/src/gperf_fold_key_conv.py +4 -4
- package/deps/jq/{modules → vendor}/oniguruma/src/gperf_unfold_key_conv.py +4 -4
- package/deps/jq/vendor/oniguruma/src/make_unicode_egcb.sh +7 -0
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_egcb_data.py +20 -19
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_fold.sh +5 -5
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_fold_data.py +37 -37
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_property.sh +2 -2
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_property_data.py +66 -65
- package/deps/jq/vendor/oniguruma/src/make_unicode_wb.sh +7 -0
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_wb_data.py +20 -19
- package/deps/jq/{modules → vendor}/oniguruma/src/oniguruma.h +6 -3
- package/deps/jq/{modules → vendor}/oniguruma/src/regcomp.c +14 -6
- package/deps/jq/{modules → vendor}/oniguruma/src/regerror.c +2 -2
- package/deps/jq/{modules → vendor}/oniguruma/src/regexec.c +85 -14
- package/deps/jq/{modules → vendor}/oniguruma/src/regint.h +17 -4
- package/deps/jq/{modules → vendor}/oniguruma/src/regparse.c +115 -27
- package/deps/jq/{modules → vendor}/oniguruma/src/regsyntax.c +10 -7
- package/deps/jq/{modules → vendor}/oniguruma/src/st.c +49 -75
- package/deps/jq/{modules → vendor}/oniguruma/src/st.h +3 -10
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_egcb_data.c +54 -49
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_fold1_key.c +1567 -1507
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_fold2_key.c +1 -1
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_fold3_key.c +1 -1
- package/deps/jq/vendor/oniguruma/src/unicode_fold_data.c +1619 -0
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_property_data.c +5520 -4178
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_property_data_posix.c +239 -83
- package/deps/jq/vendor/oniguruma/src/unicode_unfold_key.c +3497 -0
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_wb_data.c +51 -19
- package/deps/jq/{modules → vendor}/oniguruma/src/utf16_be.c +3 -2
- package/deps/jq/{modules → vendor}/oniguruma/src/utf16_le.c +3 -2
- package/deps/jq/{modules → vendor}/oniguruma/test/test_back.c +3 -3
- package/deps/jq/{modules → vendor}/oniguruma/test/test_options.c +2 -2
- package/deps/jq/{modules → vendor}/oniguruma/test/test_syntax.c +54 -2
- package/deps/jq/{modules → vendor}/oniguruma/test/test_utf8.c +19 -5
- package/deps/jq/{modules → vendor}/oniguruma/test/testc.c +1 -1
- package/deps/jq/{modules → vendor}/oniguruma/test/testp.c +1 -1
- package/deps/jq/{modules → vendor}/oniguruma/test-driver +13 -6
- package/deps/jq/{modules → vendor}/oniguruma/windows/CMakeLists.txt +1 -1
- package/package.json +4 -3
- package/test/santiy-async.test.js +4 -4
- package/test/santiy.test.js +4 -4
- package/test/template.test.js +6 -6
- package/deps/jq/modules/oniguruma/src/make_unicode_egcb.sh +0 -7
- package/deps/jq/modules/oniguruma/src/make_unicode_wb.sh +0 -7
- package/deps/jq/modules/oniguruma/src/unicode_fold_data.c +0 -1592
- package/deps/jq/modules/oniguruma/src/unicode_unfold_key.c +0 -3394
- package/deps/jq/scripts/update-website +0 -30
- /package/deps/jq/{src → vendor}/decNumber/ICU-license.html +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decContext.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decContext.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decDPD.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decDouble.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decDouble.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decNumber.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decNumberLocal.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decPacked.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decPacked.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decQuad.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decQuad.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decSingle.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decSingle.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal128.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal128.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal32.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal32.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal64.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal64.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decnumber.pdf +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example1.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example2.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example3.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example4.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example5.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example6.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example7.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example8.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/readme.txt +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/.travis.yml +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/AUTHORS +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/COPYING +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/ChangeLog +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/NEWS +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/README +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/README_japanese +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/autogen.sh +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/cmake/Config.cmake.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.API +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.API.ja +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/doc/FAQ +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/doc/FAQ.ja +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/ascii_compatible.dict +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/deluxe.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/dict_conv.py +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/fuzzer.options +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/libfuzzer-onig.cpp +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/regset.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/index.html +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/index_ja.html +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/m4/.whatever +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/make_win.bat +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/make_win32.bat +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/make_win64.bat +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/onig-config.cmake.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/onig-config.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/oniguruma.pc.cmake.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/oniguruma.pc.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/CMakeLists.txt +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/Makefile.am +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/bug_fix.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/callout.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/count.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/crnl.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/echo.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/encode.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/listcap.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/names.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/posix.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/regset.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/scan.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/simple.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/sql.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/syntax.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/user_property.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/Makefile.am +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/Makefile.windows +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/big5.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.cmake.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.win32 +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.win64 +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.windows.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/cp1251.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/euc_jp.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/euc_jp_prop.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/euc_jp_prop.gperf +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/euc_kr.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/euc_tw.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/gb18030.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_1.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_10.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_11.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_13.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_14.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_15.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_16.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_2.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_3.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_4.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_5.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_6.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_7.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_8.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_9.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/koi8.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/koi8_r.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/make_property.sh +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/mktable.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/onig_init.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/oniggnu.h +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/onigposix.h +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regenc.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regenc.h +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regext.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/reggnu.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regparse.h +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regposerr.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regposix.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regtrav.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regversion.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/sjis.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/sjis_prop.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/sjis_prop.gperf +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/unicode.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/utf32_be.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/utf32_le.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/utf8.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/test/CMakeLists.txt +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/test/Makefile.am +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/test/test.sh +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/test/test_regset.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/test/testu.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/stub.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_back.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_regset.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_syntax.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_utf8.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/testc.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/testu.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/windows/testc.c +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#! /bin/sh
|
|
2
2
|
# Configuration validation subroutine script.
|
|
3
|
-
# Copyright 1992-
|
|
3
|
+
# Copyright 1992-2025 Free Software Foundation, Inc.
|
|
4
4
|
|
|
5
|
-
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
|
5
|
+
# shellcheck disable=SC2006,SC2268,SC2162 # see below for rationale
|
|
6
6
|
|
|
7
|
-
timestamp='
|
|
7
|
+
timestamp='2025-07-10'
|
|
8
8
|
|
|
9
9
|
# This file is free software; you can redistribute it and/or modify it
|
|
10
10
|
# under the terms of the GNU General Public License as published by
|
|
@@ -76,13 +76,13 @@ Report bugs and patches to <config-patches@gnu.org>."
|
|
|
76
76
|
version="\
|
|
77
77
|
GNU config.sub ($timestamp)
|
|
78
78
|
|
|
79
|
-
Copyright 1992-
|
|
79
|
+
Copyright 1992-2025 Free Software Foundation, Inc.
|
|
80
80
|
|
|
81
81
|
This is free software; see the source for copying conditions. There is NO
|
|
82
82
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
|
83
83
|
|
|
84
84
|
help="
|
|
85
|
-
Try
|
|
85
|
+
Try '$me --help' for more information."
|
|
86
86
|
|
|
87
87
|
# Parse command line
|
|
88
88
|
while test $# -gt 0 ; do
|
|
@@ -120,7 +120,6 @@ case $# in
|
|
|
120
120
|
esac
|
|
121
121
|
|
|
122
122
|
# Split fields of configuration type
|
|
123
|
-
# shellcheck disable=SC2162
|
|
124
123
|
saved_IFS=$IFS
|
|
125
124
|
IFS="-" read field1 field2 field3 field4 <<EOF
|
|
126
125
|
$1
|
|
@@ -130,7 +129,7 @@ IFS=$saved_IFS
|
|
|
130
129
|
# Separate into logical components for further validation
|
|
131
130
|
case $1 in
|
|
132
131
|
*-*-*-*-*)
|
|
133
|
-
echo Invalid configuration
|
|
132
|
+
echo "Invalid configuration '$1': more than four components" >&2
|
|
134
133
|
exit 1
|
|
135
134
|
;;
|
|
136
135
|
*-*-*-*)
|
|
@@ -142,10 +141,22 @@ case $1 in
|
|
|
142
141
|
# parts
|
|
143
142
|
maybe_os=$field2-$field3
|
|
144
143
|
case $maybe_os in
|
|
145
|
-
|
|
146
|
-
|
|
|
147
|
-
|
|
|
148
|
-
|
|
|
144
|
+
cloudabi*-eabi* \
|
|
145
|
+
| kfreebsd*-gnu* \
|
|
146
|
+
| knetbsd*-gnu* \
|
|
147
|
+
| kopensolaris*-gnu* \
|
|
148
|
+
| ironclad-* \
|
|
149
|
+
| linux-* \
|
|
150
|
+
| managarm-* \
|
|
151
|
+
| netbsd*-eabi* \
|
|
152
|
+
| netbsd*-gnu* \
|
|
153
|
+
| nto-qnx* \
|
|
154
|
+
| os2-emx* \
|
|
155
|
+
| rtmk-nova* \
|
|
156
|
+
| storm-chaos* \
|
|
157
|
+
| uclinux-gnu* \
|
|
158
|
+
| uclinux-uclibc* \
|
|
159
|
+
| windows-* )
|
|
149
160
|
basic_machine=$field1
|
|
150
161
|
basic_os=$maybe_os
|
|
151
162
|
;;
|
|
@@ -160,8 +171,12 @@ case $1 in
|
|
|
160
171
|
esac
|
|
161
172
|
;;
|
|
162
173
|
*-*)
|
|
163
|
-
# A lone config we happen to match not fitting any pattern
|
|
164
174
|
case $field1-$field2 in
|
|
175
|
+
# Shorthands that happen to contain a single dash
|
|
176
|
+
convex-c[12] | convex-c3[248])
|
|
177
|
+
basic_machine=$field2-convex
|
|
178
|
+
basic_os=
|
|
179
|
+
;;
|
|
165
180
|
decstation-3100)
|
|
166
181
|
basic_machine=mips-dec
|
|
167
182
|
basic_os=
|
|
@@ -169,28 +184,87 @@ case $1 in
|
|
|
169
184
|
*-*)
|
|
170
185
|
# Second component is usually, but not always the OS
|
|
171
186
|
case $field2 in
|
|
172
|
-
#
|
|
187
|
+
# Do not treat sunos as a manufacturer
|
|
173
188
|
sun*os*)
|
|
174
189
|
basic_machine=$field1
|
|
175
190
|
basic_os=$field2
|
|
176
191
|
;;
|
|
177
|
-
zephyr*)
|
|
178
|
-
basic_machine=$field1-unknown
|
|
179
|
-
basic_os=$field2
|
|
180
|
-
;;
|
|
181
192
|
# Manufacturers
|
|
182
|
-
|
|
183
|
-
|
|
|
184
|
-
|
|
|
185
|
-
|
|
|
186
|
-
|
|
|
187
|
-
|
|
|
188
|
-
|
|
|
189
|
-
|
|
|
190
|
-
|
|
|
193
|
+
3100* \
|
|
194
|
+
| 32* \
|
|
195
|
+
| 3300* \
|
|
196
|
+
| 3600* \
|
|
197
|
+
| 7300* \
|
|
198
|
+
| acorn \
|
|
199
|
+
| altos* \
|
|
200
|
+
| apollo \
|
|
201
|
+
| apple \
|
|
202
|
+
| atari \
|
|
203
|
+
| att* \
|
|
204
|
+
| axis \
|
|
205
|
+
| be \
|
|
206
|
+
| bull \
|
|
207
|
+
| cbm \
|
|
208
|
+
| ccur \
|
|
209
|
+
| cisco \
|
|
210
|
+
| commodore \
|
|
211
|
+
| convergent* \
|
|
212
|
+
| convex* \
|
|
213
|
+
| cray \
|
|
214
|
+
| crds \
|
|
215
|
+
| dec* \
|
|
216
|
+
| delta* \
|
|
217
|
+
| dg \
|
|
218
|
+
| digital \
|
|
219
|
+
| dolphin \
|
|
220
|
+
| encore* \
|
|
221
|
+
| gould \
|
|
222
|
+
| harris \
|
|
223
|
+
| highlevel \
|
|
224
|
+
| hitachi* \
|
|
225
|
+
| hp \
|
|
226
|
+
| ibm* \
|
|
227
|
+
| intergraph \
|
|
228
|
+
| isi* \
|
|
229
|
+
| knuth \
|
|
230
|
+
| masscomp \
|
|
231
|
+
| microblaze* \
|
|
232
|
+
| mips* \
|
|
233
|
+
| motorola* \
|
|
234
|
+
| ncr* \
|
|
235
|
+
| news \
|
|
236
|
+
| next \
|
|
237
|
+
| ns \
|
|
238
|
+
| oki \
|
|
239
|
+
| omron* \
|
|
240
|
+
| pc533* \
|
|
241
|
+
| rebel \
|
|
242
|
+
| rom68k \
|
|
243
|
+
| rombug \
|
|
244
|
+
| semi \
|
|
245
|
+
| sequent* \
|
|
246
|
+
| sgi* \
|
|
247
|
+
| siemens \
|
|
248
|
+
| sim \
|
|
249
|
+
| sni \
|
|
250
|
+
| sony* \
|
|
251
|
+
| stratus \
|
|
252
|
+
| sun \
|
|
253
|
+
| sun[234]* \
|
|
254
|
+
| tektronix \
|
|
255
|
+
| tti* \
|
|
256
|
+
| ultra \
|
|
257
|
+
| unicom* \
|
|
258
|
+
| wec \
|
|
259
|
+
| winbond \
|
|
260
|
+
| wrs)
|
|
191
261
|
basic_machine=$field1-$field2
|
|
192
262
|
basic_os=
|
|
193
263
|
;;
|
|
264
|
+
tock* | zephyr*)
|
|
265
|
+
basic_machine=$field1-unknown
|
|
266
|
+
basic_os=$field2
|
|
267
|
+
;;
|
|
194
268
|
*)
|
|
195
269
|
basic_machine=$field1
|
|
196
270
|
basic_os=$field2
|
|
@@ -271,26 +345,6 @@ case $1 in
|
|
|
271
345
|
basic_machine=arm-unknown
|
|
272
346
|
basic_os=cegcc
|
|
273
347
|
;;
|
|
274
|
-
convex-c1)
|
|
275
|
-
basic_machine=c1-convex
|
|
276
|
-
basic_os=bsd
|
|
277
|
-
;;
|
|
278
|
-
convex-c2)
|
|
279
|
-
basic_machine=c2-convex
|
|
280
|
-
basic_os=bsd
|
|
281
|
-
;;
|
|
282
|
-
convex-c32)
|
|
283
|
-
basic_machine=c32-convex
|
|
284
|
-
basic_os=bsd
|
|
285
|
-
;;
|
|
286
|
-
convex-c34)
|
|
287
|
-
basic_machine=c34-convex
|
|
288
|
-
basic_os=bsd
|
|
289
|
-
;;
|
|
290
|
-
convex-c38)
|
|
291
|
-
basic_machine=c38-convex
|
|
292
|
-
basic_os=bsd
|
|
293
|
-
;;
|
|
294
348
|
cray)
|
|
295
349
|
basic_machine=j90-cray
|
|
296
350
|
basic_os=unicos
|
|
@@ -713,15 +767,26 @@ case $basic_machine in
|
|
|
713
767
|
vendor=dec
|
|
714
768
|
basic_os=tops20
|
|
715
769
|
;;
|
|
716
|
-
delta | 3300 | motorola-
|
|
717
|
-
| 3300-motorola | delta-motorola)
|
|
770
|
+
delta | 3300 | delta-motorola | 3300-motorola | motorola-delta | motorola-3300)
|
|
718
771
|
cpu=m68k
|
|
719
772
|
vendor=motorola
|
|
720
773
|
;;
|
|
721
|
-
dpx2
|
|
774
|
+
# This used to be dpx2*, but that gets the RS6000-based
|
|
775
|
+
# DPX/20 and the x86-based DPX/2-100 wrong. See
|
|
776
|
+
# https://oldskool.silicium.org/stations/bull_dpx20.htm
|
|
777
|
+
# https://www.feb-patrimoine.com/english/bull_dpx2.htm
|
|
778
|
+
# https://www.feb-patrimoine.com/english/unix_and_bull.htm
|
|
779
|
+
dpx2 | dpx2[23]00 | dpx2[23]xx)
|
|
722
780
|
cpu=m68k
|
|
723
781
|
vendor=bull
|
|
724
|
-
|
|
782
|
+
;;
|
|
783
|
+
dpx2100 | dpx21xx)
|
|
784
|
+
cpu=i386
|
|
785
|
+
vendor=bull
|
|
786
|
+
;;
|
|
787
|
+
dpx20)
|
|
788
|
+
cpu=rs6000
|
|
789
|
+
vendor=bull
|
|
725
790
|
;;
|
|
726
791
|
encore | umax | mmax)
|
|
727
792
|
cpu=ns32k
|
|
@@ -836,18 +901,6 @@ case $basic_machine in
|
|
|
836
901
|
next | m*-next)
|
|
837
902
|
cpu=m68k
|
|
838
903
|
vendor=next
|
|
839
|
-
case $basic_os in
|
|
840
|
-
openstep*)
|
|
841
|
-
;;
|
|
842
|
-
nextstep*)
|
|
843
|
-
;;
|
|
844
|
-
ns2*)
|
|
845
|
-
basic_os=nextstep2
|
|
846
|
-
;;
|
|
847
|
-
*)
|
|
848
|
-
basic_os=nextstep3
|
|
849
|
-
;;
|
|
850
|
-
esac
|
|
851
904
|
;;
|
|
852
905
|
np1)
|
|
853
906
|
cpu=np1
|
|
@@ -936,14 +989,13 @@ case $basic_machine in
|
|
|
936
989
|
;;
|
|
937
990
|
|
|
938
991
|
*-*)
|
|
939
|
-
# shellcheck disable=SC2162
|
|
940
992
|
saved_IFS=$IFS
|
|
941
993
|
IFS="-" read cpu vendor <<EOF
|
|
942
994
|
$basic_machine
|
|
943
995
|
EOF
|
|
944
996
|
IFS=$saved_IFS
|
|
945
997
|
;;
|
|
946
|
-
# We use
|
|
998
|
+
# We use 'pc' rather than 'unknown'
|
|
947
999
|
# because (1) that's what they normally are, and
|
|
948
1000
|
# (2) the word "unknown" tends to confuse beginning users.
|
|
949
1001
|
i*86 | x86_64)
|
|
@@ -971,15 +1023,19 @@ unset -v basic_machine
|
|
|
971
1023
|
|
|
972
1024
|
# Decode basic machines in the full and proper CPU-Company form.
|
|
973
1025
|
case $cpu-$vendor in
|
|
974
|
-
# Here we handle the default manufacturer of certain CPU types in canonical form.
|
|
975
|
-
# some cases the only manufacturer, in others, it is the most popular.
|
|
1026
|
+
# Here we handle the default manufacturer of certain CPU types in canonical form.
|
|
1027
|
+
# It is in some cases the only manufacturer, in others, it is the most popular.
|
|
1028
|
+
c[12]-convex | c[12]-unknown | c3[248]-convex | c3[248]-unknown)
|
|
1029
|
+
vendor=convex
|
|
1030
|
+
basic_os=${basic_os:-bsd}
|
|
1031
|
+
;;
|
|
976
1032
|
craynv-unknown)
|
|
977
1033
|
vendor=cray
|
|
978
1034
|
basic_os=${basic_os:-unicosmp}
|
|
979
1035
|
;;
|
|
980
1036
|
c90-unknown | c90-cray)
|
|
981
1037
|
vendor=cray
|
|
982
|
-
basic_os=${
|
|
1038
|
+
basic_os=${basic_os:-unicos}
|
|
983
1039
|
;;
|
|
984
1040
|
fx80-unknown)
|
|
985
1041
|
vendor=alliant
|
|
@@ -1025,11 +1081,29 @@ case $cpu-$vendor in
|
|
|
1025
1081
|
vendor=alt
|
|
1026
1082
|
basic_os=${basic_os:-linux-gnueabihf}
|
|
1027
1083
|
;;
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1084
|
+
|
|
1085
|
+
# Normalized CPU+vendor pairs that imply an OS, if not otherwise specified
|
|
1086
|
+
m68k-isi)
|
|
1087
|
+
basic_os=${basic_os:-sysv}
|
|
1088
|
+
;;
|
|
1089
|
+
m68k-sony)
|
|
1090
|
+
basic_os=${basic_os:-newsos}
|
|
1091
|
+
;;
|
|
1092
|
+
m68k-tektronix)
|
|
1093
|
+
basic_os=${basic_os:-bsd}
|
|
1094
|
+
;;
|
|
1095
|
+
m88k-harris)
|
|
1096
|
+
basic_os=${basic_os:-sysv3}
|
|
1097
|
+
;;
|
|
1098
|
+
i386-bull | m68k-bull)
|
|
1099
|
+
basic_os=${basic_os:-sysv3}
|
|
1100
|
+
;;
|
|
1101
|
+
rs6000-bull)
|
|
1031
1102
|
basic_os=${basic_os:-bosx}
|
|
1032
1103
|
;;
|
|
1104
|
+
mips-sni)
|
|
1105
|
+
basic_os=${basic_os:-sysv4}
|
|
1106
|
+
;;
|
|
1033
1107
|
|
|
1034
1108
|
# Here we normalize CPU types irrespective of the vendor
|
|
1035
1109
|
amd64-*)
|
|
@@ -1037,7 +1111,7 @@ case $cpu-$vendor in
|
|
|
1037
1111
|
;;
|
|
1038
1112
|
blackfin-*)
|
|
1039
1113
|
cpu=bfin
|
|
1040
|
-
basic_os
|
|
1114
|
+
basic_os=${basic_os:-linux}
|
|
1041
1115
|
;;
|
|
1042
1116
|
c54x-*)
|
|
1043
1117
|
cpu=tic54x
|
|
@@ -1060,7 +1134,7 @@ case $cpu-$vendor in
|
|
|
1060
1134
|
;;
|
|
1061
1135
|
m68knommu-*)
|
|
1062
1136
|
cpu=m68k
|
|
1063
|
-
basic_os
|
|
1137
|
+
basic_os=${basic_os:-linux}
|
|
1064
1138
|
;;
|
|
1065
1139
|
m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
|
|
1066
1140
|
cpu=s12z
|
|
@@ -1070,12 +1144,12 @@ case $cpu-$vendor in
|
|
|
1070
1144
|
;;
|
|
1071
1145
|
parisc-*)
|
|
1072
1146
|
cpu=hppa
|
|
1073
|
-
basic_os
|
|
1147
|
+
basic_os=${basic_os:-linux}
|
|
1074
1148
|
;;
|
|
1075
1149
|
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
|
|
1076
1150
|
cpu=i586
|
|
1077
1151
|
;;
|
|
1078
|
-
pentiumpro-* | p6-* | 6x86-* | athlon-* |
|
|
1152
|
+
pentiumpro-* | p6-* | 6x86-* | athlon-* | athlon_*-*)
|
|
1079
1153
|
cpu=i686
|
|
1080
1154
|
;;
|
|
1081
1155
|
pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
|
|
@@ -1084,9 +1158,6 @@ case $cpu-$vendor in
|
|
|
1084
1158
|
pentium4-*)
|
|
1085
1159
|
cpu=i786
|
|
1086
1160
|
;;
|
|
1087
|
-
pc98-*)
|
|
1088
|
-
cpu=i386
|
|
1089
|
-
;;
|
|
1090
1161
|
ppc-* | ppcbe-*)
|
|
1091
1162
|
cpu=powerpc
|
|
1092
1163
|
;;
|
|
@@ -1120,13 +1191,10 @@ case $cpu-$vendor in
|
|
|
1120
1191
|
tx39el-*)
|
|
1121
1192
|
cpu=mipstx39el
|
|
1122
1193
|
;;
|
|
1123
|
-
x64-*)
|
|
1124
|
-
cpu=x86_64
|
|
1125
|
-
;;
|
|
1126
1194
|
xscale-* | xscalee[bl]-*)
|
|
1127
1195
|
cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
|
|
1128
1196
|
;;
|
|
1129
|
-
arm64-* | aarch64le-*)
|
|
1197
|
+
arm64-* | aarch64le-* | arm64_32-*)
|
|
1130
1198
|
cpu=aarch64
|
|
1131
1199
|
;;
|
|
1132
1200
|
|
|
@@ -1178,114 +1246,232 @@ case $cpu-$vendor in
|
|
|
1178
1246
|
# Recognize the canonical CPU types that are allowed with any
|
|
1179
1247
|
# company name.
|
|
1180
1248
|
case $cpu in
|
|
1181
|
-
|
|
1249
|
+
1750a \
|
|
1250
|
+
| 580 \
|
|
1251
|
+
| [cjt]90 \
|
|
1182
1252
|
| a29k \
|
|
1183
|
-
| aarch64
|
|
1253
|
+
| aarch64 \
|
|
1254
|
+
| aarch64_be \
|
|
1255
|
+
| aarch64c \
|
|
1184
1256
|
| abacus \
|
|
1185
|
-
| alpha
|
|
1186
|
-
| alpha64
|
|
1187
|
-
|
|
|
1257
|
+
| alpha \
|
|
1258
|
+
| alpha64 \
|
|
1259
|
+
| alpha64ev56 \
|
|
1260
|
+
| alpha64ev6[78] \
|
|
1261
|
+
| alpha64ev[4-8] \
|
|
1262
|
+
| alpha64pca5[67] \
|
|
1263
|
+
| alphaev56 \
|
|
1264
|
+
| alphaev6[78] \
|
|
1265
|
+
| alphaev[4-8] \
|
|
1266
|
+
| alphapca5[67] \
|
|
1188
1267
|
| am33_2.0 \
|
|
1189
1268
|
| amdgcn \
|
|
1190
|
-
| arc
|
|
1191
|
-
|
|
|
1192
|
-
|
|
|
1269
|
+
| arc \
|
|
1270
|
+
| arc32 \
|
|
1271
|
+
| arc64 \
|
|
1272
|
+
| arceb \
|
|
1273
|
+
| arm \
|
|
1274
|
+
| arm64e \
|
|
1275
|
+
| arm64ec \
|
|
1276
|
+
| arm[lb]e \
|
|
1277
|
+
| arme[lb] \
|
|
1278
|
+
| armv* \
|
|
1193
1279
|
| asmjs \
|
|
1280
|
+
| avr \
|
|
1281
|
+
| avr32 \
|
|
1194
1282
|
| ba \
|
|
1195
|
-
| be32
|
|
1196
|
-
|
|
|
1197
|
-
|
|
|
1198
|
-
|
|
|
1199
|
-
|
|
|
1200
|
-
|
|
|
1201
|
-
|
|
|
1202
|
-
|
|
|
1203
|
-
|
|
|
1283
|
+
| be32 \
|
|
1284
|
+
| be64 \
|
|
1285
|
+
| bfin \
|
|
1286
|
+
| bpf \
|
|
1287
|
+
| bs2000 \
|
|
1288
|
+
| c30 \
|
|
1289
|
+
| c4x \
|
|
1290
|
+
| c8051 \
|
|
1291
|
+
| c[123]* \
|
|
1292
|
+
| clipper \
|
|
1293
|
+
| craynv \
|
|
1294
|
+
| csky \
|
|
1295
|
+
| cydra \
|
|
1296
|
+
| d10v \
|
|
1297
|
+
| d30v \
|
|
1298
|
+
| dlx \
|
|
1299
|
+
| dsp16xx \
|
|
1300
|
+
| e2k \
|
|
1301
|
+
| elxsi \
|
|
1302
|
+
| epiphany \
|
|
1303
|
+
| f30[01] \
|
|
1304
|
+
| f700 \
|
|
1305
|
+
| fido \
|
|
1306
|
+
| fr30 \
|
|
1307
|
+
| frv \
|
|
1308
|
+
| ft32 \
|
|
1309
|
+
| fx80 \
|
|
1310
|
+
| h8300 \
|
|
1311
|
+
| h8500 \
|
|
1204
1312
|
| hexagon \
|
|
1205
|
-
|
|
|
1206
|
-
|
|
|
1313
|
+
| hppa \
|
|
1314
|
+
| hppa1.[01] \
|
|
1315
|
+
| hppa2.0 \
|
|
1316
|
+
| hppa2.0[nw] \
|
|
1317
|
+
| hppa64 \
|
|
1318
|
+
| i*86 \
|
|
1319
|
+
| i370 \
|
|
1320
|
+
| i860 \
|
|
1321
|
+
| i960 \
|
|
1322
|
+
| ia16 \
|
|
1323
|
+
| ia64 \
|
|
1324
|
+
| intelgt \
|
|
1325
|
+
| ip2k \
|
|
1326
|
+
| iq2000 \
|
|
1327
|
+
| javascript \
|
|
1207
1328
|
| k1om \
|
|
1208
|
-
|
|
|
1329
|
+
| kvx \
|
|
1330
|
+
| le32 \
|
|
1331
|
+
| le64 \
|
|
1209
1332
|
| lm32 \
|
|
1210
|
-
| loongarch32
|
|
1211
|
-
|
|
|
1212
|
-
|
|
|
1213
|
-
|
|
|
1214
|
-
|
|
|
1215
|
-
|
|
|
1216
|
-
|
|
|
1217
|
-
|
|
|
1218
|
-
|
|
|
1219
|
-
|
|
|
1220
|
-
|
|
|
1221
|
-
|
|
|
1222
|
-
|
|
|
1223
|
-
|
|
|
1224
|
-
|
|
|
1225
|
-
|
|
|
1226
|
-
|
|
|
1227
|
-
|
|
|
1228
|
-
|
|
|
1229
|
-
|
|
|
1230
|
-
|
|
|
1231
|
-
|
|
|
1232
|
-
|
|
|
1233
|
-
|
|
|
1234
|
-
|
|
|
1235
|
-
|
|
|
1236
|
-
| mipsisa64r6 | mipsisa64r6el \
|
|
1237
|
-
| mipsisa64sb1 | mipsisa64sb1el \
|
|
1238
|
-
| mipsisa64sr71k | mipsisa64sr71kel \
|
|
1239
|
-
| mipsr5900 | mipsr5900el \
|
|
1240
|
-
| mipstx39 | mipstx39el \
|
|
1333
|
+
| loongarch32 \
|
|
1334
|
+
| loongarch64 \
|
|
1335
|
+
| m32c \
|
|
1336
|
+
| m32r \
|
|
1337
|
+
| m32rle \
|
|
1338
|
+
| m5200 \
|
|
1339
|
+
| m68000 \
|
|
1340
|
+
| m680[012346]0 \
|
|
1341
|
+
| m6811 \
|
|
1342
|
+
| m6812 \
|
|
1343
|
+
| m68360 \
|
|
1344
|
+
| m683?2 \
|
|
1345
|
+
| m68hc11 \
|
|
1346
|
+
| m68hc12 \
|
|
1347
|
+
| m68hcs12x \
|
|
1348
|
+
| m68k \
|
|
1349
|
+
| m88110 \
|
|
1350
|
+
| m88k \
|
|
1351
|
+
| maxq \
|
|
1352
|
+
| mb \
|
|
1353
|
+
| mcore \
|
|
1354
|
+
| mep \
|
|
1355
|
+
| metag \
|
|
1356
|
+
| microblaze \
|
|
1357
|
+
| microblazeel \
|
|
1358
|
+
| mips* \
|
|
1241
1359
|
| mmix \
|
|
1242
|
-
| mn10200
|
|
1360
|
+
| mn10200 \
|
|
1361
|
+
| mn10300 \
|
|
1243
1362
|
| moxie \
|
|
1244
|
-
| mt \
|
|
1245
1363
|
| msp430 \
|
|
1246
|
-
|
|
|
1364
|
+
| mt \
|
|
1365
|
+
| nanomips* \
|
|
1366
|
+
| nds32 \
|
|
1367
|
+
| nds32be \
|
|
1368
|
+
| nds32le \
|
|
1247
1369
|
| nfp \
|
|
1248
|
-
| nios
|
|
1249
|
-
|
|
|
1370
|
+
| nios \
|
|
1371
|
+
| nios2 \
|
|
1372
|
+
| nios2eb \
|
|
1373
|
+
| nios2el \
|
|
1374
|
+
| none \
|
|
1375
|
+
| np1 \
|
|
1376
|
+
| ns16k \
|
|
1377
|
+
| ns32k \
|
|
1378
|
+
| nvptx \
|
|
1250
1379
|
| open8 \
|
|
1251
1380
|
| or1k* \
|
|
1252
1381
|
| or32 \
|
|
1253
1382
|
| orion \
|
|
1383
|
+
| pdp10 \
|
|
1384
|
+
| pdp11 \
|
|
1254
1385
|
| picochip \
|
|
1255
|
-
|
|
|
1256
|
-
|
|
|
1386
|
+
| pj \
|
|
1387
|
+
| pjl \
|
|
1388
|
+
| pn \
|
|
1389
|
+
| power \
|
|
1390
|
+
| powerpc \
|
|
1391
|
+
| powerpc64 \
|
|
1392
|
+
| powerpc64le \
|
|
1393
|
+
| powerpcle \
|
|
1394
|
+
| powerpcspe \
|
|
1257
1395
|
| pru \
|
|
1258
1396
|
| pyramid \
|
|
1259
|
-
| riscv
|
|
1260
|
-
|
|
|
1261
|
-
|
|
|
1397
|
+
| riscv \
|
|
1398
|
+
| riscv32 \
|
|
1399
|
+
| riscv32be \
|
|
1400
|
+
| riscv64 \
|
|
1401
|
+
| riscv64be \
|
|
1402
|
+
| rl78 \
|
|
1403
|
+
| romp \
|
|
1404
|
+
| rs6000 \
|
|
1405
|
+
| rx \
|
|
1406
|
+
| s390 \
|
|
1407
|
+
| s390x \
|
|
1262
1408
|
| score \
|
|
1263
|
-
| sh
|
|
1264
|
-
|
|
|
1265
|
-
|
|
|
1266
|
-
|
|
|
1409
|
+
| sh \
|
|
1410
|
+
| sh64 \
|
|
1411
|
+
| sh64le \
|
|
1412
|
+
| sh[12345][lb]e \
|
|
1413
|
+
| sh[1234] \
|
|
1414
|
+
| sh[1234]e[lb] \
|
|
1415
|
+
| sh[23]e \
|
|
1416
|
+
| sh[23]ele \
|
|
1417
|
+
| sh[24]a \
|
|
1418
|
+
| sh[24]ae[lb] \
|
|
1419
|
+
| sh[lb]e \
|
|
1420
|
+
| she[lb] \
|
|
1421
|
+
| shl \
|
|
1422
|
+
| sparc \
|
|
1423
|
+
| sparc64 \
|
|
1424
|
+
| sparc64b \
|
|
1425
|
+
| sparc64v \
|
|
1426
|
+
| sparc86x \
|
|
1427
|
+
| sparclet \
|
|
1267
1428
|
| sparclite \
|
|
1268
|
-
| sparcv8
|
|
1429
|
+
| sparcv8 \
|
|
1430
|
+
| sparcv9 \
|
|
1431
|
+
| sparcv9b \
|
|
1432
|
+
| sparcv9v \
|
|
1269
1433
|
| spu \
|
|
1434
|
+
| sv1 \
|
|
1435
|
+
| sx* \
|
|
1270
1436
|
| tahoe \
|
|
1271
1437
|
| thumbv7* \
|
|
1272
|
-
| tic30
|
|
1438
|
+
| tic30 \
|
|
1439
|
+
| tic4x \
|
|
1440
|
+
| tic54x \
|
|
1441
|
+
| tic55x \
|
|
1442
|
+
| tic6x \
|
|
1443
|
+
| tic80 \
|
|
1273
1444
|
| tron \
|
|
1274
1445
|
| ubicom32 \
|
|
1275
|
-
| v70
|
|
1446
|
+
| v70 \
|
|
1447
|
+
| v810 \
|
|
1448
|
+
| v850 \
|
|
1449
|
+
| v850e \
|
|
1450
|
+
| v850e1 \
|
|
1451
|
+
| v850e2 \
|
|
1452
|
+
| v850e2v3 \
|
|
1453
|
+
| v850es \
|
|
1276
1454
|
| vax \
|
|
1455
|
+
| vc4 \
|
|
1277
1456
|
| visium \
|
|
1278
1457
|
| w65 \
|
|
1279
|
-
| wasm32
|
|
1458
|
+
| wasm32 \
|
|
1459
|
+
| wasm64 \
|
|
1280
1460
|
| we32k \
|
|
1281
|
-
| x86
|
|
1282
|
-
|
|
|
1461
|
+
| x86 \
|
|
1462
|
+
| x86_64 \
|
|
1463
|
+
| xc16x \
|
|
1464
|
+
| xgate \
|
|
1465
|
+
| xps100 \
|
|
1466
|
+
| xstormy16 \
|
|
1467
|
+
| xtensa* \
|
|
1283
1468
|
| ymp \
|
|
1284
|
-
|
|
|
1469
|
+
| z80 \
|
|
1470
|
+
| z8k)
|
|
1285
1471
|
;;
|
|
1286
1472
|
|
|
1287
1473
|
*)
|
|
1288
|
-
echo Invalid configuration
|
|
1474
|
+
echo "Invalid configuration '$1': machine '$cpu-$vendor' not recognized" 1>&2
|
|
1289
1475
|
exit 1
|
|
1290
1476
|
;;
|
|
1291
1477
|
esac
|
|
@@ -1306,11 +1492,12 @@ esac
|
|
|
1306
1492
|
|
|
1307
1493
|
# Decode manufacturer-specific aliases for certain operating systems.
|
|
1308
1494
|
|
|
1309
|
-
if test x$basic_os != x
|
|
1495
|
+
if test x"$basic_os" != x
|
|
1310
1496
|
then
|
|
1311
1497
|
|
|
1312
1498
|
# First recognize some ad-hoc cases, or perhaps split kernel-os, or else just
|
|
1313
1499
|
# set os.
|
|
1500
|
+
obj=
|
|
1314
1501
|
case $basic_os in
|
|
1315
1502
|
gnu/linux*)
|
|
1316
1503
|
kernel=linux
|
|
@@ -1325,7 +1512,6 @@ case $basic_os in
|
|
|
1325
1512
|
os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'`
|
|
1326
1513
|
;;
|
|
1327
1514
|
*-*)
|
|
1328
|
-
# shellcheck disable=SC2162
|
|
1329
1515
|
saved_IFS=$IFS
|
|
1330
1516
|
IFS="-" read kernel os <<EOF
|
|
1331
1517
|
$basic_os
|
|
@@ -1337,10 +1523,18 @@ EOF
|
|
|
1337
1523
|
kernel=nto
|
|
1338
1524
|
os=`echo "$basic_os" | sed -e 's|nto|qnx|'`
|
|
1339
1525
|
;;
|
|
1526
|
+
ironclad*)
|
|
1527
|
+
kernel=ironclad
|
|
1528
|
+
os=`echo "$basic_os" | sed -e 's|ironclad|mlibc|'`
|
|
1529
|
+
;;
|
|
1340
1530
|
linux*)
|
|
1341
1531
|
kernel=linux
|
|
1342
1532
|
os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
|
|
1343
1533
|
;;
|
|
1534
|
+
managarm*)
|
|
1535
|
+
kernel=managarm
|
|
1536
|
+
os=`echo "$basic_os" | sed -e 's|managarm|mlibc|'`
|
|
1537
|
+
;;
|
|
1344
1538
|
*)
|
|
1345
1539
|
kernel=
|
|
1346
1540
|
os=$basic_os
|
|
@@ -1368,6 +1562,23 @@ case $os in
|
|
|
1368
1562
|
unixware*)
|
|
1369
1563
|
os=sysv4.2uw
|
|
1370
1564
|
;;
|
|
1565
|
+
# The marketing names for NeXT's operating systems were
|
|
1566
|
+
# NeXTSTEP, NeXTSTEP 2, OpenSTEP 3, OpenSTEP 4. 'openstep' is
|
|
1567
|
+
# mapped to 'openstep3', but 'openstep1' and 'openstep2' are
|
|
1568
|
+
# mapped to 'nextstep' and 'nextstep2', consistent with the
|
|
1569
|
+
# treatment of SunOS/Solaris.
|
|
1570
|
+
ns | ns1 | nextstep | nextstep1 | openstep1)
|
|
1571
|
+
os=nextstep
|
|
1572
|
+
;;
|
|
1573
|
+
ns2 | nextstep2 | openstep2)
|
|
1574
|
+
os=nextstep2
|
|
1575
|
+
;;
|
|
1576
|
+
ns3 | nextstep3 | openstep | openstep3)
|
|
1577
|
+
os=openstep3
|
|
1578
|
+
;;
|
|
1579
|
+
ns4 | nextstep4 | openstep4)
|
|
1580
|
+
os=openstep4
|
|
1581
|
+
;;
|
|
1371
1582
|
# es1800 is here to avoid being matched by es* (a different OS)
|
|
1372
1583
|
es1800*)
|
|
1373
1584
|
os=ose
|
|
@@ -1438,6 +1649,7 @@ case $os in
|
|
|
1438
1649
|
;;
|
|
1439
1650
|
utek*)
|
|
1440
1651
|
os=bsd
|
|
1652
|
+
vendor=`echo "$vendor" | sed -e 's|^unknown$|tektronix|'`
|
|
1441
1653
|
;;
|
|
1442
1654
|
dynix*)
|
|
1443
1655
|
os=bsd
|
|
@@ -1454,21 +1666,25 @@ case $os in
|
|
|
1454
1666
|
386bsd)
|
|
1455
1667
|
os=bsd
|
|
1456
1668
|
;;
|
|
1457
|
-
ctix*
|
|
1669
|
+
ctix*)
|
|
1458
1670
|
os=sysv
|
|
1671
|
+
vendor=`echo "$vendor" | sed -e 's|^unknown$|convergent|'`
|
|
1459
1672
|
;;
|
|
1460
|
-
|
|
1461
|
-
os=
|
|
1673
|
+
uts*)
|
|
1674
|
+
os=sysv
|
|
1462
1675
|
;;
|
|
1463
|
-
|
|
1464
|
-
|
|
1676
|
+
nova*)
|
|
1677
|
+
kernel=rtmk
|
|
1678
|
+
os=nova
|
|
1465
1679
|
;;
|
|
1466
1680
|
# Preserve the version number of sinix5.
|
|
1467
1681
|
sinix5.*)
|
|
1468
1682
|
os=`echo "$os" | sed -e 's|sinix|sysv|'`
|
|
1683
|
+
vendor=`echo "$vendor" | sed -e 's|^unknown$|sni|'`
|
|
1469
1684
|
;;
|
|
1470
1685
|
sinix*)
|
|
1471
1686
|
os=sysv4
|
|
1687
|
+
vendor=`echo "$vendor" | sed -e 's|^unknown$|sni|'`
|
|
1472
1688
|
;;
|
|
1473
1689
|
tpf*)
|
|
1474
1690
|
os=tpf
|
|
@@ -1506,10 +1722,16 @@ case $os in
|
|
|
1506
1722
|
os=eabi
|
|
1507
1723
|
;;
|
|
1508
1724
|
*)
|
|
1509
|
-
os=
|
|
1725
|
+
os=
|
|
1726
|
+
obj=elf
|
|
1510
1727
|
;;
|
|
1511
1728
|
esac
|
|
1512
1729
|
;;
|
|
1730
|
+
aout* | coff* | elf* | pe*)
|
|
1731
|
+
# These are machine code file formats, not OSes
|
|
1732
|
+
obj=$os
|
|
1733
|
+
os=
|
|
1734
|
+
;;
|
|
1513
1735
|
*)
|
|
1514
1736
|
# No normalization, but not necessarily accepted, that comes below.
|
|
1515
1737
|
;;
|
|
@@ -1528,12 +1750,15 @@ else
|
|
|
1528
1750
|
# system, and we'll never get to this point.
|
|
1529
1751
|
|
|
1530
1752
|
kernel=
|
|
1753
|
+
obj=
|
|
1531
1754
|
case $cpu-$vendor in
|
|
1532
1755
|
score-*)
|
|
1533
|
-
os=
|
|
1756
|
+
os=
|
|
1757
|
+
obj=elf
|
|
1534
1758
|
;;
|
|
1535
1759
|
spu-*)
|
|
1536
|
-
os=
|
|
1760
|
+
os=
|
|
1761
|
+
obj=elf
|
|
1537
1762
|
;;
|
|
1538
1763
|
*-acorn)
|
|
1539
1764
|
os=riscix1.2
|
|
@@ -1543,28 +1768,35 @@ case $cpu-$vendor in
|
|
|
1543
1768
|
os=gnu
|
|
1544
1769
|
;;
|
|
1545
1770
|
arm*-semi)
|
|
1546
|
-
os=
|
|
1771
|
+
os=
|
|
1772
|
+
obj=aout
|
|
1547
1773
|
;;
|
|
1548
1774
|
c4x-* | tic4x-*)
|
|
1549
|
-
os=
|
|
1775
|
+
os=
|
|
1776
|
+
obj=coff
|
|
1550
1777
|
;;
|
|
1551
1778
|
c8051-*)
|
|
1552
|
-
os=
|
|
1779
|
+
os=
|
|
1780
|
+
obj=elf
|
|
1553
1781
|
;;
|
|
1554
1782
|
clipper-intergraph)
|
|
1555
1783
|
os=clix
|
|
1556
1784
|
;;
|
|
1557
1785
|
hexagon-*)
|
|
1558
|
-
os=
|
|
1786
|
+
os=
|
|
1787
|
+
obj=elf
|
|
1559
1788
|
;;
|
|
1560
1789
|
tic54x-*)
|
|
1561
|
-
os=
|
|
1790
|
+
os=
|
|
1791
|
+
obj=coff
|
|
1562
1792
|
;;
|
|
1563
1793
|
tic55x-*)
|
|
1564
|
-
os=
|
|
1794
|
+
os=
|
|
1795
|
+
obj=coff
|
|
1565
1796
|
;;
|
|
1566
1797
|
tic6x-*)
|
|
1567
|
-
os=
|
|
1798
|
+
os=
|
|
1799
|
+
obj=coff
|
|
1568
1800
|
;;
|
|
1569
1801
|
# This must come before the *-dec entry.
|
|
1570
1802
|
pdp10-*)
|
|
@@ -1586,28 +1818,43 @@ case $cpu-$vendor in
|
|
|
1586
1818
|
os=sunos3
|
|
1587
1819
|
;;
|
|
1588
1820
|
m68*-cisco)
|
|
1589
|
-
os=
|
|
1821
|
+
os=
|
|
1822
|
+
obj=aout
|
|
1590
1823
|
;;
|
|
1591
1824
|
mep-*)
|
|
1592
|
-
os=
|
|
1825
|
+
os=
|
|
1826
|
+
obj=elf
|
|
1827
|
+
;;
|
|
1828
|
+
# The -sgi and -siemens entries must be before the mips- entry
|
|
1829
|
+
# or we get the wrong os.
|
|
1830
|
+
*-sgi)
|
|
1831
|
+
os=irix
|
|
1832
|
+
;;
|
|
1833
|
+
*-siemens)
|
|
1834
|
+
os=sysv4
|
|
1593
1835
|
;;
|
|
1594
1836
|
mips*-cisco)
|
|
1595
|
-
os=
|
|
1837
|
+
os=
|
|
1838
|
+
obj=elf
|
|
1596
1839
|
;;
|
|
1597
|
-
mips*-*)
|
|
1598
|
-
os=
|
|
1840
|
+
mips*-*|nanomips*-*)
|
|
1841
|
+
os=
|
|
1842
|
+
obj=elf
|
|
1599
1843
|
;;
|
|
1600
1844
|
or32-*)
|
|
1601
|
-
os=
|
|
1845
|
+
os=
|
|
1846
|
+
obj=coff
|
|
1602
1847
|
;;
|
|
1603
|
-
|
|
1848
|
+
# This must be before the sparc-* entry or we get the wrong os.
|
|
1849
|
+
*-tti)
|
|
1604
1850
|
os=sysv3
|
|
1605
1851
|
;;
|
|
1606
1852
|
sparc-* | *-sun)
|
|
1607
1853
|
os=sunos4.1.1
|
|
1608
1854
|
;;
|
|
1609
1855
|
pru-*)
|
|
1610
|
-
os=
|
|
1856
|
+
os=
|
|
1857
|
+
obj=elf
|
|
1611
1858
|
;;
|
|
1612
1859
|
*-be)
|
|
1613
1860
|
os=beos
|
|
@@ -1631,7 +1878,7 @@ case $cpu-$vendor in
|
|
|
1631
1878
|
os=hpux
|
|
1632
1879
|
;;
|
|
1633
1880
|
*-hitachi)
|
|
1634
|
-
os=
|
|
1881
|
+
os=hiuxwe2
|
|
1635
1882
|
;;
|
|
1636
1883
|
i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
|
|
1637
1884
|
os=sysv
|
|
@@ -1675,12 +1922,6 @@ case $cpu-$vendor in
|
|
|
1675
1922
|
*-encore)
|
|
1676
1923
|
os=bsd
|
|
1677
1924
|
;;
|
|
1678
|
-
*-sgi)
|
|
1679
|
-
os=irix
|
|
1680
|
-
;;
|
|
1681
|
-
*-siemens)
|
|
1682
|
-
os=sysv4
|
|
1683
|
-
;;
|
|
1684
1925
|
*-masscomp)
|
|
1685
1926
|
os=rtu
|
|
1686
1927
|
;;
|
|
@@ -1688,10 +1929,12 @@ case $cpu-$vendor in
|
|
|
1688
1929
|
os=uxpv
|
|
1689
1930
|
;;
|
|
1690
1931
|
*-rom68k)
|
|
1691
|
-
os=
|
|
1932
|
+
os=
|
|
1933
|
+
obj=coff
|
|
1692
1934
|
;;
|
|
1693
1935
|
*-*bug)
|
|
1694
|
-
os=
|
|
1936
|
+
os=
|
|
1937
|
+
obj=coff
|
|
1695
1938
|
;;
|
|
1696
1939
|
*-apple)
|
|
1697
1940
|
os=macos
|
|
@@ -1709,10 +1952,11 @@ esac
|
|
|
1709
1952
|
|
|
1710
1953
|
fi
|
|
1711
1954
|
|
|
1712
|
-
# Now, validate our (potentially fixed-up) OS.
|
|
1955
|
+
# Now, validate our (potentially fixed-up) individual pieces (OS, OBJ).
|
|
1956
|
+
|
|
1713
1957
|
case $os in
|
|
1714
1958
|
# Sometimes we do "kernel-libc", so those need to count as OSes.
|
|
1715
|
-
musl* | newlib* | relibc* | uclibc*)
|
|
1959
|
+
llvm* | musl* | newlib* | relibc* | uclibc*)
|
|
1716
1960
|
;;
|
|
1717
1961
|
# Likewise for "kernel-abi"
|
|
1718
1962
|
eabi* | gnueabi*)
|
|
@@ -1720,83 +1964,313 @@ case $os in
|
|
|
1720
1964
|
# VxWorks passes extra cpu info in the 4th filed.
|
|
1721
1965
|
simlinux | simwindows | spe)
|
|
1722
1966
|
;;
|
|
1967
|
+
# See `case $cpu-$os` validation below
|
|
1968
|
+
ghcjs)
|
|
1969
|
+
;;
|
|
1723
1970
|
# Now accept the basic system types.
|
|
1724
|
-
# The portable systems comes first.
|
|
1725
1971
|
# Each alternative MUST end in a * to match a version number.
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1972
|
+
abug \
|
|
1973
|
+
| aix* \
|
|
1974
|
+
| amdhsa* \
|
|
1975
|
+
| amigados* \
|
|
1976
|
+
| amigaos* \
|
|
1977
|
+
| android* \
|
|
1978
|
+
| aof* \
|
|
1979
|
+
| aos* \
|
|
1980
|
+
| aros* \
|
|
1981
|
+
| atheos* \
|
|
1982
|
+
| auroraux* \
|
|
1983
|
+
| aux* \
|
|
1984
|
+
| banan_os* \
|
|
1985
|
+
| beos* \
|
|
1986
|
+
| bitrig* \
|
|
1987
|
+
| bme* \
|
|
1988
|
+
| bosx* \
|
|
1989
|
+
| bsd* \
|
|
1990
|
+
| cegcc* \
|
|
1991
|
+
| chorusos* \
|
|
1992
|
+
| chorusrdb* \
|
|
1993
|
+
| clix* \
|
|
1994
|
+
| cloudabi* \
|
|
1995
|
+
| cnk* \
|
|
1996
|
+
| conix* \
|
|
1997
|
+
| cos* \
|
|
1998
|
+
| cxux* \
|
|
1999
|
+
| cygwin* \
|
|
2000
|
+
| darwin* \
|
|
2001
|
+
| dgux* \
|
|
2002
|
+
| dicos* \
|
|
2003
|
+
| dnix* \
|
|
2004
|
+
| domain* \
|
|
2005
|
+
| dragonfly* \
|
|
2006
|
+
| drops* \
|
|
2007
|
+
| ebmon* \
|
|
2008
|
+
| ecoff* \
|
|
2009
|
+
| ekkobsd* \
|
|
2010
|
+
| emscripten* \
|
|
2011
|
+
| emx* \
|
|
2012
|
+
| es* \
|
|
2013
|
+
| fiwix* \
|
|
2014
|
+
| freebsd* \
|
|
2015
|
+
| fuchsia* \
|
|
2016
|
+
| genix* \
|
|
2017
|
+
| genode* \
|
|
2018
|
+
| glidix* \
|
|
2019
|
+
| gnu* \
|
|
2020
|
+
| go32* \
|
|
2021
|
+
| haiku* \
|
|
2022
|
+
| hcos* \
|
|
2023
|
+
| hiux* \
|
|
2024
|
+
| hms* \
|
|
2025
|
+
| hpux* \
|
|
2026
|
+
| ieee* \
|
|
2027
|
+
| interix* \
|
|
2028
|
+
| ios* \
|
|
2029
|
+
| iris* \
|
|
2030
|
+
| irix* \
|
|
2031
|
+
| isc* \
|
|
2032
|
+
| its* \
|
|
2033
|
+
| l4re* \
|
|
2034
|
+
| libertybsd* \
|
|
2035
|
+
| lites* \
|
|
2036
|
+
| lnews* \
|
|
2037
|
+
| luna* \
|
|
2038
|
+
| lynxos* \
|
|
2039
|
+
| mach* \
|
|
2040
|
+
| macos* \
|
|
2041
|
+
| magic* \
|
|
2042
|
+
| mbr* \
|
|
2043
|
+
| midipix* \
|
|
2044
|
+
| midnightbsd* \
|
|
2045
|
+
| mingw32* \
|
|
2046
|
+
| mingw64* \
|
|
2047
|
+
| minix* \
|
|
2048
|
+
| mint* \
|
|
2049
|
+
| mirbsd* \
|
|
2050
|
+
| mks* \
|
|
2051
|
+
| mlibc* \
|
|
2052
|
+
| mmixware* \
|
|
2053
|
+
| mon960* \
|
|
2054
|
+
| morphos* \
|
|
2055
|
+
| moss* \
|
|
2056
|
+
| moxiebox* \
|
|
2057
|
+
| mpeix* \
|
|
2058
|
+
| mpw* \
|
|
2059
|
+
| msdos* \
|
|
2060
|
+
| msys* \
|
|
2061
|
+
| mvs* \
|
|
2062
|
+
| nacl* \
|
|
2063
|
+
| netbsd* \
|
|
2064
|
+
| netware* \
|
|
2065
|
+
| newsos* \
|
|
2066
|
+
| nextstep* \
|
|
2067
|
+
| nindy* \
|
|
2068
|
+
| nonstopux* \
|
|
2069
|
+
| nova* \
|
|
2070
|
+
| nsk* \
|
|
2071
|
+
| nucleus* \
|
|
2072
|
+
| nx6 \
|
|
2073
|
+
| nx7 \
|
|
2074
|
+
| oabi* \
|
|
2075
|
+
| ohos* \
|
|
2076
|
+
| onefs* \
|
|
2077
|
+
| openbsd* \
|
|
2078
|
+
| openedition* \
|
|
2079
|
+
| openstep* \
|
|
2080
|
+
| os108* \
|
|
2081
|
+
| os2* \
|
|
2082
|
+
| os400* \
|
|
2083
|
+
| os68k* \
|
|
2084
|
+
| os9* \
|
|
2085
|
+
| ose* \
|
|
2086
|
+
| osf* \
|
|
2087
|
+
| oskit* \
|
|
2088
|
+
| osx* \
|
|
2089
|
+
| palmos* \
|
|
2090
|
+
| phoenix* \
|
|
2091
|
+
| plan9* \
|
|
2092
|
+
| powermax* \
|
|
2093
|
+
| powerunix* \
|
|
2094
|
+
| proelf* \
|
|
2095
|
+
| psos* \
|
|
2096
|
+
| psp* \
|
|
2097
|
+
| ptx* \
|
|
2098
|
+
| pw32* \
|
|
2099
|
+
| qnx* \
|
|
2100
|
+
| rdos* \
|
|
2101
|
+
| redox* \
|
|
2102
|
+
| rhapsody* \
|
|
2103
|
+
| riscix* \
|
|
2104
|
+
| riscos* \
|
|
2105
|
+
| rtems* \
|
|
2106
|
+
| rtmk* \
|
|
2107
|
+
| rtu* \
|
|
2108
|
+
| scout* \
|
|
2109
|
+
| secbsd* \
|
|
2110
|
+
| sei* \
|
|
2111
|
+
| serenity* \
|
|
2112
|
+
| sim* \
|
|
2113
|
+
| skyos* \
|
|
2114
|
+
| solaris* \
|
|
2115
|
+
| solidbsd* \
|
|
2116
|
+
| sortix* \
|
|
2117
|
+
| storm-chaos* \
|
|
2118
|
+
| sunos \
|
|
2119
|
+
| sunos[34]* \
|
|
2120
|
+
| superux* \
|
|
2121
|
+
| syllable* \
|
|
2122
|
+
| sym* \
|
|
2123
|
+
| sysv* \
|
|
2124
|
+
| tenex* \
|
|
2125
|
+
| tirtos* \
|
|
2126
|
+
| tock* \
|
|
2127
|
+
| toppers* \
|
|
2128
|
+
| tops10* \
|
|
2129
|
+
| tops20* \
|
|
2130
|
+
| tpf* \
|
|
2131
|
+
| tvos* \
|
|
2132
|
+
| twizzler* \
|
|
2133
|
+
| uclinux* \
|
|
2134
|
+
| udi* \
|
|
2135
|
+
| udk* \
|
|
2136
|
+
| ultrix* \
|
|
2137
|
+
| unicos* \
|
|
2138
|
+
| uniplus* \
|
|
2139
|
+
| unleashed* \
|
|
2140
|
+
| unos* \
|
|
2141
|
+
| uwin* \
|
|
2142
|
+
| uxpv* \
|
|
2143
|
+
| v88r* \
|
|
2144
|
+
|*vms* \
|
|
2145
|
+
| vos* \
|
|
2146
|
+
| vsta* \
|
|
2147
|
+
| vxsim* \
|
|
2148
|
+
| vxworks* \
|
|
2149
|
+
| wasi* \
|
|
2150
|
+
| watchos* \
|
|
2151
|
+
| wince* \
|
|
2152
|
+
| windiss* \
|
|
2153
|
+
| windows* \
|
|
2154
|
+
| winnt* \
|
|
2155
|
+
| xenix* \
|
|
2156
|
+
| xray* \
|
|
2157
|
+
| zephyr* \
|
|
2158
|
+
| zvmoe* )
|
|
1758
2159
|
;;
|
|
1759
2160
|
# This one is extra strict with allowed versions
|
|
1760
2161
|
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
|
|
1761
2162
|
# Don't forget version if it is 3.2v4 or newer.
|
|
1762
2163
|
;;
|
|
2164
|
+
# This refers to builds using the UEFI calling convention
|
|
2165
|
+
# (which depends on the architecture) and PE file format.
|
|
2166
|
+
# Note that this is both a different calling convention and
|
|
2167
|
+
# different file format than that of GNU-EFI
|
|
2168
|
+
# (x86_64-w64-mingw32).
|
|
2169
|
+
uefi)
|
|
2170
|
+
;;
|
|
1763
2171
|
none)
|
|
1764
2172
|
;;
|
|
2173
|
+
kernel* | msvc* )
|
|
2174
|
+
# Restricted further below
|
|
2175
|
+
;;
|
|
2176
|
+
'')
|
|
2177
|
+
if test x"$obj" = x
|
|
2178
|
+
then
|
|
2179
|
+
echo "Invalid configuration '$1': Blank OS only allowed with explicit machine code file format" 1>&2
|
|
2180
|
+
fi
|
|
2181
|
+
;;
|
|
2182
|
+
*)
|
|
2183
|
+
echo "Invalid configuration '$1': OS '$os' not recognized" 1>&2
|
|
2184
|
+
exit 1
|
|
2185
|
+
;;
|
|
2186
|
+
esac
|
|
2187
|
+
|
|
2188
|
+
case $obj in
|
|
2189
|
+
aout* | coff* | elf* | pe*)
|
|
2190
|
+
;;
|
|
2191
|
+
'')
|
|
2192
|
+
# empty is fine
|
|
2193
|
+
;;
|
|
1765
2194
|
*)
|
|
1766
|
-
echo Invalid configuration
|
|
2195
|
+
echo "Invalid configuration '$1': Machine code format '$obj' not recognized" 1>&2
|
|
2196
|
+
exit 1
|
|
2197
|
+
;;
|
|
2198
|
+
esac
|
|
2199
|
+
|
|
2200
|
+
# Here we handle the constraint that a (synthetic) cpu and os are
|
|
2201
|
+
# valid only in combination with each other and nowhere else.
|
|
2202
|
+
case $cpu-$os in
|
|
2203
|
+
# The "javascript-unknown-ghcjs" triple is used by GHC; we
|
|
2204
|
+
# accept it here in order to tolerate that, but reject any
|
|
2205
|
+
# variations.
|
|
2206
|
+
javascript-ghcjs)
|
|
2207
|
+
;;
|
|
2208
|
+
javascript-* | *-ghcjs)
|
|
2209
|
+
echo "Invalid configuration '$1': cpu '$cpu' is not valid with os '$os$obj'" 1>&2
|
|
1767
2210
|
exit 1
|
|
1768
2211
|
;;
|
|
1769
2212
|
esac
|
|
1770
2213
|
|
|
1771
2214
|
# As a final step for OS-related things, validate the OS-kernel combination
|
|
1772
2215
|
# (given a valid OS), if there is a kernel.
|
|
1773
|
-
case $kernel-$os in
|
|
1774
|
-
linux-gnu
|
|
1775
|
-
|
|
2216
|
+
case $kernel-$os-$obj in
|
|
2217
|
+
linux-gnu*- | linux-android*- | linux-dietlibc*- | linux-llvm*- \
|
|
2218
|
+
| linux-mlibc*- | linux-musl*- | linux-newlib*- \
|
|
2219
|
+
| linux-relibc*- | linux-uclibc*- | linux-ohos*- )
|
|
2220
|
+
;;
|
|
2221
|
+
uclinux-uclibc*- | uclinux-gnu*- )
|
|
1776
2222
|
;;
|
|
1777
|
-
|
|
2223
|
+
ironclad-mlibc*-)
|
|
1778
2224
|
;;
|
|
1779
|
-
-
|
|
2225
|
+
managarm-mlibc*- | managarm-kernel*- )
|
|
2226
|
+
;;
|
|
2227
|
+
windows*-msvc*-)
|
|
2228
|
+
;;
|
|
2229
|
+
-dietlibc*- | -llvm*- | -mlibc*- | -musl*- | -newlib*- | -relibc*- \
|
|
2230
|
+
| -uclibc*- )
|
|
1780
2231
|
# These are just libc implementations, not actual OSes, and thus
|
|
1781
2232
|
# require a kernel.
|
|
1782
|
-
echo "Invalid configuration
|
|
2233
|
+
echo "Invalid configuration '$1': libc '$os' needs explicit kernel." 1>&2
|
|
1783
2234
|
exit 1
|
|
1784
2235
|
;;
|
|
1785
|
-
|
|
2236
|
+
-kernel*- )
|
|
2237
|
+
echo "Invalid configuration '$1': '$os' needs explicit kernel." 1>&2
|
|
2238
|
+
exit 1
|
|
1786
2239
|
;;
|
|
1787
|
-
|
|
2240
|
+
*-kernel*- )
|
|
2241
|
+
echo "Invalid configuration '$1': '$kernel' does not support '$os'." 1>&2
|
|
2242
|
+
exit 1
|
|
1788
2243
|
;;
|
|
1789
|
-
|
|
2244
|
+
*-msvc*- )
|
|
2245
|
+
echo "Invalid configuration '$1': '$os' needs 'windows'." 1>&2
|
|
2246
|
+
exit 1
|
|
1790
2247
|
;;
|
|
1791
|
-
|
|
2248
|
+
kfreebsd*-gnu*- | knetbsd*-gnu*- | netbsd*-gnu*- | kopensolaris*-gnu*-)
|
|
2249
|
+
;;
|
|
2250
|
+
vxworks-simlinux- | vxworks-simwindows- | vxworks-spe-)
|
|
2251
|
+
;;
|
|
2252
|
+
nto-qnx*-)
|
|
2253
|
+
;;
|
|
2254
|
+
os2-emx-)
|
|
1792
2255
|
;;
|
|
1793
|
-
|
|
2256
|
+
rtmk-nova-)
|
|
1794
2257
|
;;
|
|
1795
|
-
|
|
2258
|
+
*-eabi*- | *-gnueabi*-)
|
|
2259
|
+
;;
|
|
2260
|
+
ios*-simulator- | tvos*-simulator- | watchos*-simulator- )
|
|
2261
|
+
;;
|
|
2262
|
+
none--*)
|
|
2263
|
+
# None (no kernel, i.e. freestanding / bare metal),
|
|
2264
|
+
# can be paired with an machine code file format
|
|
2265
|
+
;;
|
|
2266
|
+
-*-)
|
|
1796
2267
|
# Blank kernel with real OS is always fine.
|
|
1797
2268
|
;;
|
|
1798
|
-
|
|
1799
|
-
|
|
2269
|
+
--*)
|
|
2270
|
+
# Blank kernel and OS with real machine code file format is always fine.
|
|
2271
|
+
;;
|
|
2272
|
+
*-*-*)
|
|
2273
|
+
echo "Invalid configuration '$1': Kernel '$kernel' not known to work with OS '$os'." 1>&2
|
|
1800
2274
|
exit 1
|
|
1801
2275
|
;;
|
|
1802
2276
|
esac
|
|
@@ -1809,7 +2283,7 @@ case $vendor in
|
|
|
1809
2283
|
*-riscix*)
|
|
1810
2284
|
vendor=acorn
|
|
1811
2285
|
;;
|
|
1812
|
-
*-sunos*)
|
|
2286
|
+
*-sunos* | *-solaris*)
|
|
1813
2287
|
vendor=sun
|
|
1814
2288
|
;;
|
|
1815
2289
|
*-cnk* | *-aix*)
|
|
@@ -1879,12 +2353,12 @@ case $vendor in
|
|
|
1879
2353
|
;;
|
|
1880
2354
|
esac
|
|
1881
2355
|
|
|
1882
|
-
echo "$cpu-$vendor
|
|
2356
|
+
echo "$cpu-$vendor${kernel:+-$kernel}${os:+-$os}${obj:+-$obj}"
|
|
1883
2357
|
exit
|
|
1884
2358
|
|
|
1885
2359
|
# Local variables:
|
|
1886
|
-
# eval: (add-hook 'before-save-hook 'time-stamp)
|
|
2360
|
+
# eval: (add-hook 'before-save-hook 'time-stamp nil t)
|
|
1887
2361
|
# time-stamp-start: "timestamp='"
|
|
1888
|
-
# time-stamp-format: "
|
|
2362
|
+
# time-stamp-format: "%Y-%02m-%02d"
|
|
1889
2363
|
# time-stamp-end: "'"
|
|
1890
2364
|
# End:
|