├── .gitignore ├── .version ├── COPYING ├── LICENSES ├── Makefile.in ├── README ├── README.md ├── TODO ├── bootstrap ├── config ├── .gitignore ├── arch │ ├── alpha.in │ ├── alpha.in.2 │ ├── arm.in │ ├── arm.in.2 │ ├── avr32.in │ ├── blackfin.in │ ├── m68k.in │ ├── microblaze.in │ ├── mips.in │ ├── mips.in.2 │ ├── powerpc.in │ ├── powerpc.in.2 │ ├── s390.in │ ├── sh.in │ ├── sh.in.2 │ ├── sparc.in │ ├── x86.in │ ├── xtensa.in │ └── xtensa.in.2 ├── backend.in ├── binutils.in ├── binutils │ ├── binutils.in │ └── binutils.in.2 ├── cc.in ├── cc │ ├── gcc.in │ ├── gcc.in.2 │ └── gcc.in.mips ├── companion_libs.in ├── companion_libs │ ├── cloog.in │ ├── gmp.in │ ├── isl.in │ ├── libelf.in │ ├── mpc.in │ ├── mpfr.in │ └── ppl.in ├── companion_tools.in ├── config.in ├── config.mk ├── debug.in ├── debug │ ├── dmalloc.in │ ├── duma.in │ ├── gdb.in │ ├── gdb.in.cross │ ├── gdb.in.gdbserver │ ├── gdb.in.native │ ├── ltrace.in │ └── strace.in ├── global.in ├── global │ ├── build-behave.in │ ├── ct-behave.in │ ├── download.in │ ├── extract.in │ ├── logging.in │ └── paths.in ├── kernel.in ├── kernel │ ├── bare-metal.in │ ├── linux.in │ ├── linux.in.2 │ └── windows.in ├── libc.in ├── libc │ ├── eglibc.in │ ├── eglibc.in.2 │ ├── glibc-eglibc.in-common │ ├── glibc.in │ ├── glibc.in.2 │ ├── mingw.in │ ├── musl.in │ ├── musl.in.2 │ ├── newlib.in │ ├── newlib.in.2 │ ├── none.in │ ├── uClibc.in │ └── uClibc.in.2 ├── target.in ├── test_suite.in └── toolchain.in ├── configure.ac ├── contrib ├── gcc-test-suite │ ├── Makefile │ ├── README │ └── default.cfg └── openrisc-or32.patch.lzma ├── ct-ng.comp ├── ct-ng.in ├── docs ├── .gitignore ├── 0 - Table of content.txt ├── 1 - Introduction.txt ├── 2 - Installing crosstool-NG.txt ├── 3 - Configuring a toolchain.txt ├── 4 - Building the toolchain.txt ├── 5 - Using the toolchain.txt ├── 6 - Toolchain types.txt ├── 7 - Contributing to crosstool-NG.txt ├── 8 - Internals.txt ├── 9 - How is a toolchain constructed.txt ├── A - Credits.txt ├── B - Known issues.txt ├── C - Misc. tutorials.txt └── ct-ng.1.in ├── kconfig ├── .gitignore ├── Makefile ├── check.sh ├── conf.c ├── confdata.c ├── expr.c ├── expr.h ├── kconfig.mk ├── lkc.h ├── lkc_proto.h ├── lxdialog │ ├── BIG.FAT.WARNING │ ├── check-lxdialog.sh │ ├── checklist.c │ ├── dialog.h │ ├── inputbox.c │ ├── menubox.c │ ├── textbox.c │ ├── util.c │ └── yesno.c ├── mconf.c ├── menu.c ├── nconf.c ├── nconf.gui.c ├── nconf.h ├── symbol.c ├── util.c ├── zconf.gperf ├── zconf.l └── zconf.y ├── licenses.d ├── by-sa │ ├── deed.en │ ├── deed_files │ │ ├── deed.gif │ │ ├── deed_002.gif │ │ ├── deeds.css │ │ ├── logo_deed.gif │ │ └── popup.gif │ ├── legalcode │ └── legalcode_files │ │ ├── deeds.css │ │ └── logo_code.gif ├── gpl.txt └── lgpl.txt ├── local-patches └── gcc │ └── 4.8.2 │ ├── 0001-WIP-xtensa-fix-lib-code-for-call0-ABI.patch │ ├── 0002-WIP-xtensa-implement-call0-ABI.patch │ ├── 0003-WIP-xtensa-implement-callee-saved-register-saving.patch │ ├── 0004-xtensa-always-emit-.literal_position-for-call0-ABI.patch │ └── 0005-xtensa-use-subsi3-instead-of-addsi3-in-call0-prologu.patch ├── overlays └── xtensa_lx106.tar ├── patches ├── ELFkickers │ └── 2.0a │ │ └── 100-use_CC_not_gcc.patch ├── binutils │ ├── 2.16.1a │ │ ├── 100-bfd-hash-tweak.patch │ │ ├── 110-psignal.patch │ │ ├── 120-skip-comments.patch │ │ ├── 130-callahan.patch │ │ ├── 140-cross-gprof.patch │ │ ├── 150-stabs-tweak.patch │ │ └── 160-i386-no-divide-comment.patch │ ├── 2.17a │ │ ├── 100-uclibc-conf.patch │ │ ├── 110-arm-eabi-conf.patch │ │ ├── 120-makeinfo-version.patch │ │ ├── 130-ld_makefile_patch.patch │ │ ├── 140-better_file_error.patch │ │ ├── 150-check_ldrunpath_length.patch │ │ ├── 160-mips-ELF_MAXPAGESIZE-4K.patch │ │ ├── 170-bfd-hash-tweak.patch │ │ ├── 180-psignal.patch │ │ ├── 190-skip-comments.patch │ │ ├── 200-cross-gprof.patch │ │ └── 210-i386-no-divide-comment.patch │ ├── 2.18a │ │ ├── 100-makeinfo-version.patch │ │ ├── 110-enable-dash-v2.patch │ │ ├── 120-i386-no-divide-comment.patch │ │ └── 130-avr32-atmel-v1.0.1.patch │ ├── 2.19.1a │ │ ├── 100-ppc64-pie.patch │ │ ├── 110-RPATH_ENVVAR-smack.patch │ │ ├── 120-sh-targets.patch │ │ ├── 130-check_ldrunpath_length.patch │ │ ├── 140-pt-pax-flags-20081101.patch │ │ ├── 150-warn-textrel.patch │ │ ├── 160-use-new-ld-dtags.patch │ │ ├── 170-use-relro.patch │ │ ├── 180-libiberty-pic.patch │ │ └── 190-mips64-defaultemul.patch │ ├── 2.20.1a │ │ ├── 100-ppc64-pie.patch │ │ ├── 110-RPATH_ENVVAR-smack.patch │ │ ├── 120-sh-targets.patch │ │ ├── 130-ld-sysroot.patch │ │ ├── 140-check_ldrunpath_length.patch │ │ ├── 150-pt-pax-flags-20090909.patch │ │ ├── 160-amd64-32bit-path.patch │ │ ├── 170-warn-textrel.patch │ │ ├── 190-use-new-ld-dtags.patch │ │ ├── 200-document-new-dtags-behaviour.patch │ │ ├── 220-use-relro.patch │ │ ├── 230-libiberty-pic.patch │ │ ├── 240-ld_makefile.patch │ │ ├── 250-arm-eabi-conf.patch │ │ ├── 270-better_file_error.patch │ │ ├── 280-unexport_LD_LIBRARY_PATH.patch │ │ ├── 290-ld-stub-crash.patch │ │ └── 300-mips64-defaultemul.patch │ ├── 2.21.1a │ │ ├── 110-arm-eabi-conf.patch │ │ ├── 120-sh-conf.patch │ │ ├── 300-001_ld_makefile_patch.patch │ │ └── 300-012_check_ldrunpath_length.patch │ ├── 2.22 │ │ ├── 120-sh-conf.patch │ │ ├── 300-001_ld_makefile_patch.patch │ │ ├── 300-012_check_ldrunpath_length.patch │ │ ├── 400-fix_arm_gc_sections.patch │ │ ├── 500-fix-struct-stat.patch │ │ ├── 900-xtensa-trampolines.patch │ │ ├── 901-xtensa-gas-first-frag-alignment.patch │ │ ├── 902-xtensa-gas-ld-diff-relocation-signed.patch │ │ ├── 903-xtensa-fix-ld-segfault-when-linking-linux-modules.patch │ │ ├── 904-Fix-call8-call-target-out-of-range-xtensa-ld-relaxation.patch │ │ └── 999-ppc-textrels.patch │ └── 2.24 │ │ ├── 120-sh-conf.patch │ │ ├── 300-001_ld_makefile_patch.patch │ │ ├── 300-012_check_ldrunpath_length.patch │ │ ├── 900-xtensa-trampolines.patch │ │ ├── 901-xtensa-gas-first-frag-alignment.patch │ │ ├── 902-xtensa-gas-ld-diff-relocation-signed.patch │ │ ├── 903-xtensa-fix-ld-segfault-when-linking-linux-modules.patch │ │ └── 904-Fix-call8-call-target-out-of-range-xtensa-ld-relaxation.patch ├── cloog-ppl │ ├── 0.15.10 │ │ └── 100-add_on_libs_position.patch │ ├── 0.15.11 │ │ └── 100-add_on_libs_position.patch │ ├── 0.15.6 │ │ └── 100-add_on_libs_position.patch │ ├── 0.15.7 │ │ └── 100-add_on_libs_position.patch │ ├── 0.15.8 │ │ └── 100-add_on_libs_position.patch │ └── 0.15.9 │ │ └── 100-add_on_libs_position.patch ├── cygwin │ └── 1.5.15-1 │ │ └── 100-crossbuild.patch ├── dmalloc │ └── 5.5.2 │ │ ├── 100-use-xtools.patch │ │ ├── 110-block_size.patch │ │ ├── 120-g++_check.patch │ │ ├── 130-mips.patch │ │ ├── 140-shared_library.patch │ │ ├── 150-use_DESTDIR.patch │ │ └── 160-strdup_macro.patch ├── duma │ ├── 2_5_1 │ │ ├── 100-cross-compile.patch │ │ └── 110-separate_cpp.patch │ ├── 2_5_12 │ │ ├── 100-cross-compile.patch │ │ └── 110-separate_cpp.patch │ ├── 2_5_14 │ │ ├── 100-cross-compile.patch │ │ └── 110-separate_cpp.patch │ ├── 2_5_15 │ │ ├── 100-cross-compile.patch │ │ └── 110-separate_cpp.patch │ └── 2_5_8 │ │ ├── 100-cross-compile.patch │ │ └── 110-separate_cpp.patch ├── eglibc │ ├── 2_10 │ │ └── 100-powerpc-8xx-CPU15-errata.patch │ ├── 2_15 │ │ └── 100-Remove-test-for-__builtin_expect.patch │ ├── 2_16 │ │ └── 001-Avoid-use-of-libgcc_s-and-libgcc_eh-when-building-gl.patch │ ├── 2_8 │ │ └── 100-powerpc-private_futex.patch │ ├── 2_9 │ │ └── 100-powerpc-8xx-CPU15-errata.patch │ └── ports-2_16 │ │ ├── 001-Avoid-use-of-libgcc_s-and-libgcc_eh-when-building-gl.patch │ │ ├── 002-Add-ARM-specific-static-stubs.c.patch │ │ └── 003-mips-rld-map-check.patch ├── experimental │ └── gcc │ │ ├── 4.8.0 │ │ ├── 0001-musl_dynamic-linker.patch │ │ ├── 0002-musl_disable-fixincludes.patch │ │ ├── 0003-musl_microblaze-size_t.patch │ │ ├── 0004-musl_libstdcxx.patch │ │ ├── 0005-musl-libc-support.patch │ │ ├── 0006-musl_unwind-dliterate.patch │ │ └── 0007-musl_gomp-posix-time.patch │ │ ├── 4.8.1 │ │ ├── 0001-musl_dynamic-linker.patch │ │ ├── 0002-musl_disable-fixincludes.patch │ │ ├── 0003-musl_microblaze-size_t.patch │ │ ├── 0004-musl_libstdcxx.patch │ │ ├── 0005-musl-libc-support.patch │ │ ├── 0006-musl_unwind-dliterate.patch │ │ └── 0007-musl_gomp-posix-time.patch │ │ ├── 4.8.2 │ │ ├── 0001-musl_dynamic-linker.patch │ │ ├── 0002-musl_disable-fixincludes.patch │ │ ├── 0003-musl_microblaze-size_t.patch │ │ ├── 0004-musl_libstdcxx.patch │ │ ├── 0005-musl-libc-support.patch │ │ ├── 0006-musl_unwind-dliterate.patch │ │ └── 0007-musl_gomp-posix-time.patch │ │ ├── 4.8.3 │ │ ├── 0001-musl_dynamic-linker.patch │ │ ├── 0002-musl_disable-fixincludes.patch │ │ ├── 0003-musl_microblaze-size_t.patch │ │ ├── 0004-musl_libstdcxx.patch │ │ ├── 0005-musl-libc-support.patch │ │ ├── 0006-musl_unwind-dliterate.patch │ │ └── 0007-musl_gomp-posix-time.patch │ │ ├── 4.9.0 │ │ ├── 0001-musl_dynamic-linker.patch │ │ ├── 0002-musl_disable-fixincludes.patch │ │ ├── 0003-musl_microblaze-size_t.patch │ │ ├── 0004-musl_libstdcxx.patch │ │ ├── 0005-musl-libc-support.patch │ │ ├── 0006-musl_unwind-dliterate.patch │ │ └── 0007-musl_gomp-posix-time.patch │ │ └── 4.9.1 │ │ ├── 0001-musl_dynamic-linker.patch │ │ ├── 0002-musl_disable-fixincludes.patch │ │ ├── 0003-musl_microblaze-size_t.patch │ │ ├── 0004-musl_libstdcxx.patch │ │ ├── 0005-musl-libc-support.patch │ │ ├── 0006-musl_unwind-dliterate.patch │ │ └── 0007-musl_gomp-posix-time.patch ├── gcc │ ├── 3.4.6 │ │ ├── 100-uclibc-conf.patch │ │ ├── 110-uclibc-locale.patch │ │ ├── 120-libstdc++-pic.patch │ │ ├── 130-index_macro.patch │ │ ├── 140-arm-ldm-peephole.patch │ │ ├── 150-arm-ldm.patch │ │ ├── 160-arm-ldm-peephole2.patch │ │ ├── 170-sdk-libstdc++-includes.patch │ │ ├── 180-pr15068-fix.patch │ │ ├── 190-all_sh-pr16665-fix.patch │ │ ├── 200-all_sh-no-reorder-blocks.patch │ │ ├── 210-all_sh-pr20617.patch │ │ ├── 220-arm-bigendian.patch │ │ ├── 230-powerpc-libc_stack_end-uclibc.patch │ │ ├── 240-mips-xgot.patch │ │ ├── 250-nios2.patch │ │ └── 260-arm-softfloat.patch │ ├── 4.0.4 │ │ ├── 100-uclibc-conf.patch │ │ ├── 110-uclibc-locale.patch │ │ ├── 120-libstdc++-pic.patch │ │ ├── 130-missing-execinfo_h.patch │ │ ├── 140-c99-snprintf.patch │ │ ├── 150-c99-complex-ugly-hack.patch │ │ ├── 160-index_macro.patch │ │ ├── 170-libmudflap-susv3-legacy.patch │ │ ├── 180-sdk-libstdc++-includes.patch │ │ ├── 190-arm-bigendian.patch │ │ └── 200-arm-softfloat.patch │ ├── 4.1.2 │ │ ├── 100-uclibc-conf.patch │ │ ├── 110-arm-eabi.patch │ │ ├── 120-uclibc-locale.patch │ │ ├── 130-libstdc++-pic.patch │ │ ├── 140-missing-execinfo_h.patch │ │ ├── 150-c99-snprintf.patch │ │ ├── 160-c99-complex-ugly-hack.patch │ │ ├── 170-index_macro.patch │ │ ├── 180-libbackend_dep_gcov-iov.h.patch │ │ ├── 190-sh-pr24836.patch │ │ ├── 200-arm-bigendian.patch │ │ └── 210-softfloat-fix.patch │ ├── 4.2.0 │ │ ├── 100-uclibc-conf.patch │ │ ├── 110-uclibc-conf-noupstream.patch │ │ ├── 120-uclibc-locale.patch │ │ ├── 130-uclibc-locale-no__x.patch │ │ ├── 140-uclibc-locale-wchar_fix.patch │ │ ├── 150-uclibc-locale-update.patch │ │ ├── 160-libstdc++-pic.patch │ │ ├── 170-missing-execinfo_h.patch │ │ ├── 180-c99-snprintf.patch │ │ ├── 190-c99-complex-ugly-hack.patch │ │ ├── 200-index_macro.patch │ │ ├── 210-libmudflap-susv3-legacy.patch │ │ ├── 220-libstdc++-namespace.patch │ │ ├── 230-libbackend_dep_gcov-iov.h.patch │ │ ├── 240-arm-bigendian.patch │ │ ├── 250-softfloat-fix.patch │ │ ├── 260-flatten-switch-stmt-00.patch │ │ ├── 270-soft-float.patch │ │ ├── 280-alpha-signal_h.patch │ │ ├── 290-sh-without-headers.patch │ │ └── 300-libgcc_eh.a.patch │ ├── 4.2.1 │ │ ├── 100-uclibc-conf.patch │ │ ├── 110-uclibc-conf-noupstream.patch │ │ ├── 120-uclibc-locale.patch │ │ ├── 130-uclibc-locale-no__x.patch │ │ ├── 140-uclibc-locale-wchar_fix.patch │ │ ├── 150-uclibc-locale-update.patch │ │ ├── 160-libstdc++-pic.patch │ │ ├── 170-missing-execinfo_h.patch │ │ ├── 180-c99-snprintf.patch │ │ ├── 190-c99-complex-ugly-hack.patch │ │ ├── 200-index_macro.patch │ │ ├── 210-libmudflap-susv3-legacy.patch │ │ ├── 220-libstdc++-namespace.patch │ │ ├── 230-libbackend_dep_gcov-iov.h.patch │ │ ├── 240-arm-bigendian.patch │ │ ├── 250-softfloat-fix.patch │ │ ├── 260-flatten-switch-stmt-00.patch │ │ ├── 270-soft-float.patch │ │ ├── 280-alpha-signal_h.patch │ │ ├── 290-sh-without-headers.patch │ │ ├── 300-libstdc++-nostdlib-linking.patch │ │ └── 310-libgcc_eh.a.patch │ ├── 4.2.2 │ │ ├── 100-uclibc-conf.patch │ │ ├── 110-uclibc-conf-noupstream.patch │ │ ├── 120-uclibc-locale.patch │ │ ├── 130-uclibc-locale-no__x.patch │ │ ├── 140-uclibc-locale-wchar_fix.patch │ │ ├── 150-uclibc-locale-update.patch │ │ ├── 160-libstdc++-pic.patch │ │ ├── 170-missing-execinfo_h.patch │ │ ├── 180-c99-snprintf.patch │ │ ├── 190-c99-complex-ugly-hack.patch │ │ ├── 200-index_macro.patch │ │ ├── 210-libmudflap-susv3-legacy.patch │ │ ├── 220-libstdc++-namespace.patch │ │ ├── 230-libbackend_dep_gcov-iov.h.patch │ │ ├── 240-arm-bigendian.patch │ │ ├── 250-softfloat-fix.patch │ │ ├── 260-flatten-switch-stmt-00.patch │ │ ├── 270-soft-float.patch │ │ ├── 280-alpha-signal_h.patch │ │ ├── 290-sh-without-headers.patch │ │ ├── 300-avr32-atmel-v1.1.3.patch │ │ └── 310-libgcc_eh.a.patch │ ├── 4.2.3 │ │ ├── 100-uclibc-conf.patch │ │ ├── 110-uclibc-conf-noupstream.patch │ │ ├── 120-uclibc-locale.patch │ │ ├── 130-uclibc-locale-no__x.patch │ │ ├── 140-uclibc-locale-wchar_fix.patch │ │ ├── 150-uclibc-locale-update.patch │ │ ├── 160-libstdc++-pic.patch │ │ ├── 170-missing-execinfo_h.patch │ │ ├── 180-c99-snprintf.patch │ │ ├── 190-c99-complex-ugly-hack.patch │ │ ├── 200-index_macro.patch │ │ ├── 210-libmudflap-susv3-legacy.patch │ │ ├── 220-libstdc++-namespace.patch │ │ ├── 230-libbackend_dep_gcov-iov.h.patch │ │ ├── 240-arm-bigendian.patch │ │ ├── 250-softfloat-fix.patch │ │ ├── 260-flatten-switch-stmt-00.patch │ │ ├── 270-soft-float.patch │ │ ├── 280-eabi_fixes.patch │ │ ├── 290-alpha-signal_h.patch │ │ ├── 300-fortran-signed-TImode.patch │ │ ├── 310-sh-without-headers.patch │ │ └── 320-libgcc_eh.a.patch │ ├── 4.2.4 │ │ ├── 100-uclibc-conf.patch │ │ ├── 110-uclibc-conf-noupstream.patch │ │ ├── 120-uclibc-locale.patch │ │ ├── 130-uclibc-locale-no__x.patch │ │ ├── 140-uclibc-locale-wchar_fix.patch │ │ ├── 150-uclibc-locale-update.patch │ │ ├── 160-libstdc++-pic.patch │ │ ├── 170-missing-execinfo_h.patch │ │ ├── 180-c99-snprintf.patch │ │ ├── 190-c99-complex-ugly-hack.patch │ │ ├── 200-index_macro.patch │ │ ├── 210-libmudflap-susv3-legacy.patch │ │ ├── 220-libstdc++-namespace.patch │ │ ├── 230-libbackend_dep_gcov-iov.h.patch │ │ ├── 240-arm-bigendian.patch │ │ ├── 241-arm-bigendian2.patch │ │ ├── 250-softfloat-fix.patch │ │ ├── 260-flatten-switch-stmt-00.patch │ │ ├── 270-soft-float.patch │ │ ├── 280-eabi_fixes.patch │ │ ├── 290-alpha-signal_h.patch │ │ ├── 300-fortran-signed-TImode.patch │ │ ├── 310-sh-without-headers.patch │ │ └── 320-libgcc_eh.a.patch │ ├── 4.3.1 │ │ ├── 100-alpha-mieee-default.patch │ │ ├── 110-trampolinewarn.patch │ │ ├── 120-java-nomulti.patch │ │ ├── 130-cross-compile.patch │ │ ├── 140-netbsd-symbolic.patch │ │ ├── 150-sparc64-bsd.patch │ │ ├── 160-flatten-switch-stmt-00.patch │ │ ├── 170-libiberty-pic.patch │ │ ├── 180-superh-default-multilib.patch │ │ ├── 190-libstdc++-pic.patch │ │ ├── 200-pr24170.patch │ │ ├── 210-noteGNUstack-00.patch │ │ ├── 220-noteGNUstack-01.patch │ │ ├── 230-pr34571.patch │ │ ├── 240-pr25343.patch │ │ ├── 250-sh-pr24836.patch │ │ ├── 260-uclibc-conf-noupstream.patch │ │ ├── 270-missing-execinfo_h.patch │ │ ├── 280-c99-complex-ugly-hack.patch │ │ ├── 290-index_macro.patch │ │ ├── 300-libmudflap-susv3-legacy.patch │ │ ├── 310-arm-softfloat.patch │ │ ├── 320-alpha-signal_h.patch │ │ ├── 330-unwind-for-uClibc.patch │ │ ├── 340-make-mno-spe-work-as-expected.patch │ │ ├── 350-sh-without-headers.patch │ │ ├── 360-unbreak-armv4t.patch │ │ └── 370-libgcc_eh.a.patch │ ├── 4.3.2 │ │ ├── 100-alpha-mieee-default.patch │ │ ├── 110-trampolinewarn.patch │ │ ├── 120-java-nomulti.patch │ │ ├── 130-cross-compile.patch │ │ ├── 140-netbsd-symbolic.patch │ │ ├── 150-sparc64-bsd.patch │ │ ├── 160-flatten-switch-stmt-00.patch │ │ ├── 170-libiberty-pic.patch │ │ ├── 180-superh-default-multilib.patch │ │ ├── 190-libstdc++-pic.patch │ │ ├── 200-pr24170.patch │ │ ├── 210-noteGNUstack-00.patch │ │ ├── 220-noteGNUstack-01.patch │ │ ├── 230-pr34571.patch │ │ ├── 240-pr25343.patch │ │ ├── 250-sh-pr24836.patch │ │ ├── 260-uclibc-conf-noupstream.patch │ │ ├── 270-missing-execinfo_h.patch │ │ ├── 280-c99-complex-ugly-hack.patch │ │ ├── 290-index_macro.patch │ │ ├── 300-libmudflap-susv3-legacy.patch │ │ ├── 310-arm-softfloat.patch │ │ ├── 320-alpha-signal_h.patch │ │ ├── 330-unwind-for-uClibc.patch │ │ ├── 340-make-mno-spe-work-as-expected.patch │ │ ├── 350-sh-without-headers.patch │ │ ├── 360-fix-expensive-optimize.patch │ │ ├── 370-sh-no-libc.patch │ │ ├── 380-pr37436.patch │ │ ├── 390-unbreak-armv4t.patch │ │ └── 400-libgcc_eh.a.patch │ ├── 4.3.3 │ │ ├── 100-alpha-mieee-default.patch │ │ ├── 110-trampolinewarn.patch │ │ ├── 120-java-nomulti.patch │ │ ├── 130-cross-compile.patch │ │ ├── 140-netbsd-symbolic.patch │ │ ├── 150-sparc64-bsd.patch │ │ ├── 160-flatten-switch-stmt-00.patch │ │ ├── 170-libiberty-pic.patch │ │ ├── 180-superh-default-multilib.patch │ │ ├── 190-libstdc++-pic.patch │ │ ├── 200-pr24170.patch │ │ ├── 210-noteGNUstack-00.patch │ │ ├── 220-noteGNUstack-01.patch │ │ ├── 230-pr34571.patch │ │ ├── 240-pr25343.patch │ │ ├── 250-sh-pr24836.patch │ │ ├── 260-uclibc-conf-noupstream.patch │ │ ├── 270-missing-execinfo_h.patch │ │ ├── 280-c99-complex-ugly-hack.patch │ │ ├── 290-index_macro.patch │ │ ├── 300-libmudflap-susv3-legacy.patch │ │ ├── 310-arm-softfloat.patch │ │ ├── 320-alpha-signal_h.patch │ │ ├── 330-unwind-for-uClibc.patch │ │ ├── 340-make-mno-spe-work-as-expected.patch │ │ ├── 350-sh-without-headers.patch │ │ ├── 380-pr37436.patch │ │ ├── 390-unbreak-armv4t.patch │ │ └── 400-libgcc_eh.a.patch │ ├── 4.3.4 │ │ ├── 100-alpha-mieee-default.patch │ │ ├── 110-trampolinewarn.patch │ │ ├── 120-java-nomulti.patch │ │ ├── 130-cross-compile.patch │ │ ├── 140-netbsd-symbolic.patch │ │ ├── 150-sparc64-bsd.patch │ │ ├── 160-flatten-switch-stmt-00.patch │ │ ├── 170-libiberty-pic.patch │ │ ├── 180-superh-default-multilib.patch │ │ ├── 190-libstdc++-pic.patch │ │ ├── 200-pr24170.patch │ │ ├── 210-noteGNUstack-00.patch │ │ ├── 220-noteGNUstack-01.patch │ │ ├── 230-pr34571.patch │ │ ├── 240-pr25343.patch │ │ ├── 250-sh-pr24836.patch │ │ ├── 260-uclibc-conf-noupstream.patch │ │ ├── 270-missing-execinfo_h.patch │ │ ├── 280-c99-complex-ugly-hack.patch │ │ ├── 290-index_macro.patch │ │ ├── 300-libmudflap-susv3-legacy.patch │ │ ├── 310-arm-softfloat.patch │ │ ├── 320-alpha-signal_h.patch │ │ ├── 330-unwind-for-uClibc.patch │ │ ├── 340-make-mno-spe-work-as-expected.patch │ │ ├── 350-sh-without-headers.patch │ │ ├── 380-pr37436.patch │ │ ├── 390-unbreak-armv4t.patch │ │ ├── 400-ecjx-host-cc.patch │ │ └── 410-libgcc_eh.a.patch │ ├── 4.3.5 │ │ ├── 100-alpha-mieee-default.patch │ │ ├── 110-trampolinewarn.patch │ │ ├── 120-java-nomulti.patch │ │ ├── 130-cross-compile.patch │ │ ├── 140-netbsd-symbolic.patch │ │ ├── 150-sparc64-bsd.patch │ │ ├── 160-flatten-switch-stmt-00.patch │ │ ├── 170-libiberty-pic.patch │ │ ├── 180-superh-default-multilib.patch │ │ ├── 190-libstdc++-pic.patch │ │ ├── 200-pr24170.patch │ │ ├── 210-noteGNUstack-00.patch │ │ ├── 220-noteGNUstack-01.patch │ │ ├── 230-pr34571.patch │ │ ├── 240-pr25343.patch │ │ ├── 250-sh-pr24836.patch │ │ ├── 260-uclibc-conf-noupstream.patch │ │ ├── 270-missing-execinfo_h.patch │ │ ├── 280-c99-complex-ugly-hack.patch │ │ ├── 290-index_macro.patch │ │ ├── 300-libmudflap-susv3-legacy.patch │ │ ├── 310-arm-softfloat.patch │ │ ├── 320-alpha-signal_h.patch │ │ ├── 330-unwind-for-uClibc.patch │ │ ├── 340-make-mno-spe-work-as-expected.patch │ │ ├── 350-sh-without-headers.patch │ │ ├── 380-pr37436.patch │ │ ├── 390-unbreak-armv4t.patch │ │ ├── 400-ecjx-host-cc.patch │ │ ├── 410-pr42289-fix-libffi-build-on-arm-oabi.patch │ │ └── 420-libgcc_eh.a.patch │ ├── 4.3.6 │ │ ├── 100-alpha-mieee-default.patch │ │ ├── 110-trampolinewarn.patch │ │ ├── 120-java-nomulti.patch │ │ ├── 130-cross-compile.patch │ │ ├── 140-netbsd-symbolic.patch │ │ ├── 150-sparc64-bsd.patch │ │ ├── 160-flatten-switch-stmt-00.patch │ │ ├── 170-libiberty-pic.patch │ │ ├── 180-superh-default-multilib.patch │ │ ├── 190-libstdc++-pic.patch │ │ ├── 200-pr24170.patch │ │ ├── 210-noteGNUstack-00.patch │ │ ├── 220-noteGNUstack-01.patch │ │ ├── 230-pr34571.patch │ │ ├── 240-pr25343.patch │ │ ├── 250-sh-pr24836.patch │ │ ├── 260-uclibc-conf-noupstream.patch │ │ ├── 270-missing-execinfo_h.patch │ │ ├── 280-c99-complex-ugly-hack.patch │ │ ├── 290-index_macro.patch │ │ ├── 300-libmudflap-susv3-legacy.patch │ │ ├── 310-arm-softfloat.patch │ │ ├── 320-alpha-signal_h.patch │ │ ├── 330-unwind-for-uClibc.patch │ │ ├── 340-make-mno-spe-work-as-expected.patch │ │ ├── 350-sh-without-headers.patch │ │ ├── 380-pr37436.patch │ │ ├── 390-unbreak-armv4t.patch │ │ ├── 400-ecjx-host-cc.patch │ │ ├── 410-pr42289-fix-libffi-build-on-arm-oabi.patch │ │ └── 420-libgcc_eh.a.patch │ ├── 4.4.0 │ │ ├── 100-alpha-mieee-default.patch │ │ ├── 110-trampolinewarn.patch │ │ ├── 120-java-nomulti.patch │ │ ├── 130-cross-compile.patch │ │ ├── 140-default-format-security.patch │ │ ├── 150-default-fortify-source.patch │ │ ├── 160-netbsd-symbolic.patch │ │ ├── 170-sparc64-bsd.patch │ │ ├── 180-libgomp-no-werror.patch │ │ ├── 190-flatten-switch-stmt-00.patch │ │ ├── 200-libiberty.h-asprintf.patch │ │ ├── 210-arm-unbreak-armv4t.patch │ │ ├── 220-libiberty-pic.patch │ │ ├── 230-superh-default-multilib.patch │ │ ├── 240-libstdc++-pic.patch │ │ ├── 250-ia64-noteGNUstack.patch │ │ ├── 260-sh-libgcc-stacks.patch │ │ ├── 270-sh-pr24836.patch │ │ ├── 280-freebsd.patch │ │ ├── 290-freebsd.patch │ │ ├── 300-pr40105.patch │ │ ├── 310-uclibc-conf.patch │ │ ├── 320-missing-execinfo_h.patch │ │ ├── 330-c99-snprintf.patch │ │ ├── 340-libmudflap-susv3-legacy.patch │ │ ├── 350-index_macro.patch │ │ ├── 360-arm-bigendian.patch │ │ ├── 370-bootstrap-target_lib_path.patch │ │ ├── 380-powerpc-libgcc_s-link-libm.patch │ │ ├── 390-arm-softfloat-libgcc.patch │ │ ├── 400-pr42289-fix-libffi-build-on-arm-oabi.patch │ │ └── 410-libgcc_eh.a.patch │ ├── 4.4.1 │ │ ├── 100-alpha-mieee-default.patch │ │ ├── 110-trampolinewarn.patch │ │ ├── 120-java-nomulti.patch │ │ ├── 130-cross-compile.patch │ │ ├── 140-default-format-security.patch │ │ ├── 150-default-fortify-source.patch │ │ ├── 160-netbsd-symbolic.patch │ │ ├── 170-sparc64-bsd.patch │ │ ├── 180-libgomp-no-werror.patch │ │ ├── 190-flatten-switch-stmt-00.patch │ │ ├── 200-libiberty.h-asprintf.patch │ │ ├── 210-arm-unbreak-armv4t.patch │ │ ├── 220-libiberty-pic.patch │ │ ├── 230-superh-default-multilib.patch │ │ ├── 240-libstdc++-pic.patch │ │ ├── 250-ia64-noteGNUstack.patch │ │ ├── 260-sh-libgcc-stacks.patch │ │ ├── 270-sh-pr24836.patch │ │ ├── 280-freebsd.patch │ │ ├── 290-freebsd.patch │ │ ├── 300-uclibc-conf.patch │ │ ├── 310-missing-execinfo_h.patch │ │ ├── 320-c99-snprintf.patch │ │ ├── 330-libmudflap-susv3-legacy.patch │ │ ├── 340-ecjx-host-cc.patch │ │ ├── 350-index_macro.patch │ │ ├── 360-arm-bigendian.patch │ │ ├── 370-bootstrap-target_lib_path.patch │ │ ├── 380-powerpc-libgcc_s-link-libm.patch │ │ ├── 390-arm-softfloat-libgcc.patch │ │ ├── 400-pr42289-fix-libffi-build-on-arm-oabi.patch │ │ └── 410-libgcc_eh.a.patch │ ├── 4.4.2 │ │ ├── 100-alpha-mieee-default.patch │ │ ├── 110-trampolinewarn.patch │ │ ├── 120-java-nomulti.patch │ │ ├── 130-cross-compile.patch │ │ ├── 140-default-format-security.patch │ │ ├── 150-default-fortify-source.patch │ │ ├── 160-netbsd-symbolic.patch │ │ ├── 170-sparc64-bsd.patch │ │ ├── 180-libgomp-no-werror.patch │ │ ├── 190-flatten-switch-stmt-00.patch │ │ ├── 200-libiberty.h-asprintf.patch │ │ ├── 210-arm-unbreak-armv4t.patch │ │ ├── 220-libiberty-pic.patch │ │ ├── 230-superh-default-multilib.patch │ │ ├── 240-libstdc++-pic.patch │ │ ├── 250-ia64-noteGNUstack.patch │ │ ├── 260-sh-libgcc-stacks.patch │ │ ├── 270-sh-pr24836.patch │ │ ├── 280-freebsd.patch │ │ ├── 290-freebsd.patch │ │ ├── 300-uclibc-conf.patch │ │ ├── 310-missing-execinfo_h.patch │ │ ├── 320-c99-snprintf.patch │ │ ├── 330-libmudflap-susv3-legacy.patch │ │ ├── 340-ecjx-host-cc.patch │ │ ├── 350-index_macro.patch │ │ ├── 360-arm-bigendian.patch │ │ ├── 370-bootstrap-target_lib_path.patch │ │ ├── 380-powerpc-libgcc_s-link-libm.patch │ │ ├── 390-arm-softfloat-libgcc.patch │ │ ├── 400-pr42289-fix-libffi-build-on-arm-oabi.patch │ │ └── 410-libgcc_eh.a.patch │ ├── 4.4.3 │ │ ├── 100-alpha-mieee-default.patch │ │ ├── 110-trampolinewarn.patch │ │ ├── 120-java-nomulti.patch │ │ ├── 130-cross-compile.patch │ │ ├── 140-default-format-security.patch │ │ ├── 150-default-fortify-source.patch │ │ ├── 160-netbsd-symbolic.patch │ │ ├── 170-sparc64-bsd.patch │ │ ├── 180-libgomp-no-werror.patch │ │ ├── 190-flatten-switch-stmt-00.patch │ │ ├── 200-libiberty.h-asprintf.patch │ │ ├── 210-arm-unbreak-armv4t.patch │ │ ├── 220-libiberty-pic.patch │ │ ├── 230-superh-default-multilib.patch │ │ ├── 240-libstdc++-pic.patch │ │ ├── 250-ia64-noteGNUstack.patch │ │ ├── 260-sh-libgcc-stacks.patch │ │ ├── 270-sh-pr24836.patch │ │ ├── 280-freebsd.patch │ │ ├── 290-freebsd.patch │ │ ├── 300-uclibc-conf.patch │ │ ├── 310-missing-execinfo_h.patch │ │ ├── 320-c99-snprintf.patch │ │ ├── 330-libmudflap-susv3-legacy.patch │ │ ├── 340-ecjx-host-cc.patch │ │ ├── 350-index_macro.patch │ │ ├── 360-arm-bigendian.patch │ │ ├── 370-bootstrap-target_lib_path.patch │ │ ├── 380-powerpc-libgcc_s-link-libm.patch │ │ ├── 390-arm-softfloat-libgcc.patch │ │ ├── 400-pr42289-fix-libffi-build-on-arm-oabi.patch │ │ └── 410-libgcc_eh.a.patch │ ├── 4.4.4 │ │ ├── 100-alpha-mieee-default.patch │ │ ├── 110-trampolinewarn.patch │ │ ├── 120-java-nomulti.patch │ │ ├── 130-cross-compile.patch │ │ ├── 140-default-format-security.patch │ │ ├── 150-default-fortify-source.patch │ │ ├── 160-netbsd-symbolic.patch │ │ ├── 170-sparc64-bsd.patch │ │ ├── 180-libgomp-no-werror.patch │ │ ├── 190-flatten-switch-stmt-00.patch │ │ ├── 200-libiberty.h-asprintf.patch │ │ ├── 210-arm-unbreak-armv4t.patch │ │ ├── 220-libiberty-pic.patch │ │ ├── 230-superh-default-multilib.patch │ │ ├── 240-libstdc++-pic.patch │ │ ├── 250-ia64-noteGNUstack.patch │ │ ├── 260-sh-libgcc-stacks.patch │ │ ├── 270-sh-pr24836.patch │ │ ├── 280-freebsd.patch │ │ ├── 290-freebsd.patch │ │ ├── 300-uclibc-conf.patch │ │ ├── 310-missing-execinfo_h.patch │ │ ├── 320-c99-snprintf.patch │ │ ├── 330-libmudflap-susv3-legacy.patch │ │ ├── 340-ecjx-host-cc.patch │ │ ├── 350-index_macro.patch │ │ ├── 360-arm-bigendian.patch │ │ ├── 370-bootstrap-target_lib_path.patch │ │ ├── 380-powerpc-libgcc_s-link-libm.patch │ │ ├── 390-arm-softfloat-libgcc.patch │ │ ├── 400-pr42289-fix-libffi-build-on-arm-oabi.patch │ │ └── 410-libgcc_eh.a.patch │ ├── 4.4.5 │ │ ├── 100-alpha-mieee-default.patch │ │ ├── 110-trampolinewarn.patch │ │ ├── 120-java-nomulti.patch │ │ ├── 130-cross-compile.patch │ │ ├── 140-default-format-security.patch │ │ ├── 150-default-fortify-source.patch │ │ ├── 160-netbsd-symbolic.patch │ │ ├── 170-sparc64-bsd.patch │ │ ├── 180-libgomp-no-werror.patch │ │ ├── 190-flatten-switch-stmt-00.patch │ │ ├── 200-libiberty.h-asprintf.patch │ │ ├── 210-arm-unbreak-armv4t.patch │ │ ├── 220-libiberty-pic.patch │ │ ├── 230-superh-default-multilib.patch │ │ ├── 240-libstdc++-pic.patch │ │ ├── 250-ia64-noteGNUstack.patch │ │ ├── 260-sh-libgcc-stacks.patch │ │ ├── 270-sh-pr24836.patch │ │ ├── 280-freebsd.patch │ │ ├── 290-freebsd.patch │ │ ├── 300-uclibc-conf.patch │ │ ├── 310-missing-execinfo_h.patch │ │ ├── 320-c99-snprintf.patch │ │ ├── 330-libmudflap-susv3-legacy.patch │ │ ├── 340-ecjx-host-cc.patch │ │ ├── 350-index_macro.patch │ │ ├── 360-arm-bigendian.patch │ │ ├── 370-bootstrap-target_lib_path.patch │ │ ├── 380-powerpc-libgcc_s-link-libm.patch │ │ ├── 390-arm-softfloat-libgcc.patch │ │ ├── 400-pr42289-fix-libffi-build-on-arm-oabi.patch │ │ └── 410-libgcc_eh.a.patch │ ├── 4.4.6 │ │ ├── 100-alpha-mieee-default.patch │ │ ├── 110-trampolinewarn.patch │ │ ├── 120-java-nomulti.patch │ │ ├── 130-cross-compile.patch │ │ ├── 140-default-format-security.patch │ │ ├── 150-default-fortify-source.patch │ │ ├── 160-netbsd-symbolic.patch │ │ ├── 170-sparc64-bsd.patch │ │ ├── 180-libgomp-no-werror.patch │ │ ├── 190-flatten-switch-stmt-00.patch │ │ ├── 200-libiberty.h-asprintf.patch │ │ ├── 210-arm-unbreak-armv4t.patch │ │ ├── 220-libiberty-pic.patch │ │ ├── 230-superh-default-multilib.patch │ │ ├── 240-libstdc++-pic.patch │ │ ├── 250-ia64-noteGNUstack.patch │ │ ├── 260-sh-libgcc-stacks.patch │ │ ├── 270-sh-pr24836.patch │ │ ├── 280-freebsd.patch │ │ ├── 290-freebsd.patch │ │ ├── 300-uclibc-conf.patch │ │ ├── 310-missing-execinfo_h.patch │ │ ├── 320-c99-snprintf.patch │ │ ├── 330-libmudflap-susv3-legacy.patch │ │ ├── 340-ecjx-host-cc.patch │ │ ├── 350-index_macro.patch │ │ ├── 360-arm-bigendian.patch │ │ ├── 370-bootstrap-target_lib_path.patch │ │ ├── 380-powerpc-libgcc_s-link-libm.patch │ │ ├── 390-arm-softfloat-libgcc.patch │ │ ├── 400-pr42289-fix-libffi-build-on-arm-oabi.patch │ │ └── 410-libgcc_eh.a.patch │ ├── 4.4.7 │ │ ├── 100-alpha-mieee-default.patch │ │ ├── 110-trampolinewarn.patch │ │ ├── 120-java-nomulti.patch │ │ ├── 130-cross-compile.patch │ │ ├── 140-default-format-security.patch │ │ ├── 150-default-fortify-source.patch │ │ ├── 160-netbsd-symbolic.patch │ │ ├── 170-sparc64-bsd.patch │ │ ├── 180-libgomp-no-werror.patch │ │ ├── 190-flatten-switch-stmt-00.patch │ │ ├── 200-libiberty.h-asprintf.patch │ │ ├── 210-arm-unbreak-armv4t.patch │ │ ├── 220-libiberty-pic.patch │ │ ├── 230-superh-default-multilib.patch │ │ ├── 240-libstdc++-pic.patch │ │ ├── 250-ia64-noteGNUstack.patch │ │ ├── 260-sh-libgcc-stacks.patch │ │ ├── 270-sh-pr24836.patch │ │ ├── 280-freebsd.patch │ │ ├── 290-freebsd.patch │ │ ├── 300-uclibc-conf.patch │ │ ├── 310-missing-execinfo_h.patch │ │ ├── 320-c99-snprintf.patch │ │ ├── 330-libmudflap-susv3-legacy.patch │ │ ├── 340-ecjx-host-cc.patch │ │ ├── 350-index_macro.patch │ │ ├── 360-arm-bigendian.patch │ │ ├── 370-bootstrap-target_lib_path.patch │ │ ├── 380-powerpc-libgcc_s-link-libm.patch │ │ ├── 390-arm-softfloat-libgcc.patch │ │ ├── 400-pr42289-fix-libffi-build-on-arm-oabi.patch │ │ └── 410-libgcc_eh.a.patch │ ├── 4.5.0 │ │ ├── 100-ecjx-host.patch │ │ └── 110-libgcc_eh.a.patch │ ├── 4.5.1 │ │ ├── 100-ecjx-host.patch │ │ └── 110-libgcc_eh.a.patch │ ├── 4.5.2 │ │ ├── 100-ecjx-host.patch │ │ └── 110-libgcc_eh.a.patch │ ├── 4.5.3 │ │ ├── 100-ecjx-host.patch │ │ └── 110-libgcc_eh.a.patch │ ├── 4.6.0 │ │ ├── 000-gcc-bug-54369.patch │ │ └── 100-libgcc_eh.a.patch │ ├── 4.6.1 │ │ ├── 000-gcc-bug-54369.patch │ │ └── 100-libgcc_eh.a.patch │ ├── 4.6.2 │ │ ├── 000-gcc-bug-54369.patch │ │ └── 100-libgcc_eh.a.patch │ ├── 4.6.3 │ │ ├── 000-gcc-bug-54369.patch │ │ └── 100-libgcc_eh.a.patch │ ├── 4.6.4 │ │ └── 100-libgcc_eh.a.patch │ ├── 4.7.0 │ │ ├── 000-gcc-bug-54369.patch │ │ ├── 001-gcc-bug-54494.patch │ │ └── 100-PR52734-tree-ssa-tail-merge.patch │ ├── 4.7.2 │ │ └── 000-libitm-fix-definition-of-__m64.patch │ ├── 4.7.3 │ │ ├── 000-libitm-fix-definition-of-__m64.patch │ │ └── 100-fix-PR-target-58595.patch │ ├── 4.7.4 │ │ ├── 000-libitm-fix-definition-of-__m64.patch │ │ └── 100-fix-PR-target-58595.patch │ ├── 4.8.0 │ │ └── 001_gcc_4_8_0_backport_patches_to_fix_parallel_build_fail_PR_57683.patch │ ├── 4.8.1 │ │ └── 001_gcc_4_8_1_backport_patches_to_fix_parallel_build_fail_PR_57683.patch │ └── 4.8.2 │ │ ├── 001_gcc_4_8_2_backport_patches_to_fix_parallel_build_fail_PR_57683.patch │ │ ├── 100-arm_expand_epilogue_apcs_frame-emit-blockage.patch │ │ └── 110-fix-PR-target-58595.patch ├── gdb │ ├── 6.8a │ │ ├── 100-dwarf-stack-overflow.patch │ │ ├── 110-security-errata-20050610.patch │ │ ├── 120-tdep-opcode-include-workaround.patch │ │ ├── 130-reg-no-longer-active.patch │ │ ├── 140-sim-ppc-have-config-h.patch │ │ └── 150-handle-stpcpy-define.patch │ ├── 7.0.1a │ │ └── 100-sim-ppc-have-config-h.patch │ ├── 7.0a │ │ └── 100-sim-ppc-have-config-h.patch │ ├── 7.2a │ │ └── 100-sim-ppc-lz-fix.patch │ └── 7.4.1 │ │ ├── 00_all_ptrace_setsiginfo.patch │ │ └── 05_all_readline-headers.patch ├── glibc │ ├── 2.10.1 │ │ ├── 900-march-i686.patch │ │ ├── 910-typedef-caddr.patch │ │ └── 920-make-382.patch │ ├── 2.11.1 │ │ ├── 900-march-i686.patch │ │ └── 910-typedef-caddr.patch │ ├── 2.11 │ │ ├── 900-march-i686.patch │ │ └── 910-typedef-caddr.patch │ ├── 2.12.1 │ │ ├── 900-march-i686.patch │ │ ├── 910-typedef-caddr.patch │ │ └── 920-make-382.patch │ ├── 2.12.2 │ │ ├── 900-march-i686.patch │ │ └── 910-typedef-caddr.patch │ ├── 2.13 │ │ ├── 900-march-i686.patch │ │ ├── 910-typedef-caddr.patch │ │ └── 950-initfini-ppc64.patch │ ├── 2.14.1 │ │ ├── 900-cpuid-include.patch │ │ ├── 910-asm-i686.patch │ │ └── 950-initfini-ppc64.patch │ ├── 2.14 │ │ └── 950-initfini-ppc64.patch │ ├── 2.18 │ │ ├── 100-4f2bcda-ARM-Fix-clone-code-when-built-for-Thumb.patch │ │ └── 110-2770d15-Fix-PI-mutex-check-in-pthread_cond_broadcast-and-pthread_cond_signal.patch │ ├── 2.19 │ │ └── 910-typedef-caddr.patch │ ├── 2.5.1 │ │ ├── 100-cygwin.patch │ │ ├── 110-configure-apple-as.patch │ │ ├── 120-fix-pr631.patch │ │ ├── 130-i686-assembler.patch │ │ ├── 140-i386-preferred-stack-boundary.patch │ │ ├── 150-alpha-asm_page.patch │ │ ├── 160-use_short_for_fnstsw.patch │ │ ├── 170-alpha-asm_elf.patch │ │ ├── 180-alpha-cfi.patch │ │ └── 190-alpha-sigsuspend.patch │ ├── 2.5 │ │ ├── 100-cygwin.patch │ │ ├── 110-configure-apple-as.patch │ │ ├── 120-fix-pr631.patch │ │ ├── 130-i686-assembler.patch │ │ ├── 140-i386-preferred-stack-boundary.patch │ │ ├── 150-alpha-asm_page.patch │ │ ├── 160-use_short_for_fnstsw.patch │ │ ├── 170-alpha-asm_elf.patch │ │ ├── 180-alpha-cfi.patch │ │ └── 190-alpha-sigsuspend.patch │ ├── 2.6.1 │ │ ├── 100-cygwin.patch │ │ ├── 110-configure-apple-as.patch │ │ ├── 120-fix-pr631.patch │ │ ├── 130-i686-assembler.patch │ │ ├── 140-i386-preferred-stack-boundary.patch │ │ ├── 150-alpha-asm_page.patch │ │ ├── 160-use_short_for_fnstsw.patch │ │ ├── 170-alpha-asm_elf.patch │ │ ├── 180-gcc-4.3-sysinclude-path.patch │ │ ├── 190-alpha-atfcts.patch │ │ ├── 200-alpha-ptr_mangle.patch │ │ ├── 210-lll_lock_t.patch │ │ └── 220-cross-posix_makefile.patch │ ├── 2.6 │ │ ├── 100-cygwin.patch │ │ ├── 110-configure-apple-as.patch │ │ ├── 120-fix-pr631.patch │ │ ├── 130-i686-assembler.patch │ │ ├── 140-i386-preferred-stack-boundary.patch │ │ ├── 150-alpha-asm_page.patch │ │ ├── 160-use_short_for_fnstsw.patch │ │ ├── 170-alpha-asm_elf.patch │ │ ├── 180-gcc-4.3-sysinclude-path.patch │ │ ├── 190-alpha-atfcts.patch │ │ ├── 200-alpha-ptr_mangle.patch │ │ ├── 210-lll_lock_t.patch │ │ └── 220-cross-posix_makefile.patch │ ├── 2.7 │ │ ├── 100-cygwin.patch │ │ ├── 110-configure-apple-as.patch │ │ ├── 120-fix-pr631.patch │ │ ├── 130-i686-assembler.patch │ │ ├── 140-i386-preferred-stack-boundary.patch │ │ ├── 150-alpha-asm_page.patch │ │ ├── 160-build_wcs_upper_buffer.patch │ │ ├── 170-use_short_for_fnstsw.patch │ │ ├── 180-gcc-4.3-sysinclude-path.patch │ │ ├── 190-alpha-asm_elf.patch │ │ ├── 200-alpha-atfcts.patch │ │ ├── 210-alpha-ptr_mangle.patch │ │ ├── 220-objdump_for_host.patch │ │ ├── 230-powerpc-private_futex.patch │ │ ├── 240-sh-lowlevellock-asm.patch │ │ ├── 250-sh-chop-linux-version.patch │ │ ├── 260-sh-syscall-error-path.patch │ │ ├── 270-sh-fix-procfs.patch │ │ ├── 280-sh-fix-kernel-headers-location.patch │ │ ├── 290-powerpc-8xx-CPU15-errata.patch │ │ └── 300-binutils-_begin.patch │ ├── 2.9 │ │ ├── 100-ssp-compat.patch │ │ ├── 110-respect-env-CPPFLAGS.patch │ │ ├── 120-_nss_dns_gethostbyaddr2_r-check-and-adjust-the-buffer-alignment.patch │ │ ├── 130-add_prio-macros.patch │ │ ├── 140-regex-BZ9697.patch │ │ ├── 150-regex-BZ697.patch │ │ ├── 160-i386-x86_64-revert-clone-cfi.patch │ │ ├── 170-2.10-dns-no-gethostbyname4.patch │ │ ├── 180-math-tests.patch │ │ ├── 190-queue-header-updates.patch │ │ ├── 200-awk-in-C-locale.patch │ │ ├── 210-2.9-strlen-hack.patch │ │ ├── 220-manual-no-perl.patch │ │ ├── 230-2.3.3-localedef-fix-trampoline.patch │ │ ├── 240-i386-LOAD_PIC_REG.patch │ │ ├── 250-resolv-dynamic.patch │ │ ├── 260-fadvise64_64.patch │ │ ├── 270-ldbl-nexttowardf.patch │ │ ├── 280-section-comments.patch │ │ ├── 290-no-inline-gmon.patch │ │ ├── 300-2.9-check_native-headers.patch │ │ ├── 310-2.3.6-fix-pr631.patch │ │ ├── 320-2.9-assume-pipe2.patch │ │ ├── 330-2.3.3-china.patch │ │ ├── 340-new-valencian-locale.patch │ │ ├── 360-2.8-nscd-one-fork.patch │ │ ├── 370-hppa_glibc-2.7-hppa-nptl-carlos.patch │ │ ├── 380-2.3.6-dl_execstack-PaX-support.patch │ │ ├── 390-2.3.3_pre20040117-pt_pax.patch │ │ ├── 400-tests-sandbox-libdl-paths.patch │ │ ├── 410-2.9-fnmatch.patch │ │ ├── 420-dont-build-timezone.patch │ │ ├── 430-2.7-cross-compile-nptl.patch │ │ ├── 440-alpha-glibc-2.4-xstat.patch │ │ ├── 450-alpha-glibc-2.5-no-page-header.patch │ │ ├── 460-alpha-glibc-2.5-no-asm-elf-header.patch │ │ ├── 470-alpha-glibc-2.8-creat.patch │ │ ├── 480-alpha-glibc-2.8-cache-shape.patch │ │ ├── 490-ptr-mangling.patch │ │ ├── 500-ppc-glibc-2.9-atomic.patch │ │ ├── 510-sh-no-asm-user-header.patch │ │ ├── 520-sh-no-asm-elf-header.patch │ │ ├── 530-powerpc-8xx-CPU15-errata.patch │ │ ├── 540-alpha-atfcts.patch │ │ ├── 550-2.9-elf-begin.patch │ │ ├── 560-syslog.patch │ │ ├── 570-debug-readlink_chk-readklinkat_chk.patch │ │ ├── 600-recent-binutils.patch │ │ ├── 610-fix-nptl-init.patch │ │ ├── 900-march-i686.patch │ │ └── 910-typedef-caddr.patch │ ├── linuxthreads-2.3.6 │ │ ├── 100-cygwin.patch │ │ └── 110-alpha-cfi.patch │ ├── ports-2.10.1 │ │ ├── 100-respect-env-CPPFLAGS.patch │ │ ├── 110-binutils-2.20-compat.patch │ │ ├── 120-i386-x86_64-revert-clone-cfi.patch │ │ ├── 130-i386-no-fallocate.patch │ │ ├── 140-disable-ldconfig.patch │ │ ├── 150-queue-header-updates.patch │ │ ├── 160-manual-no-perl.patch │ │ ├── 170-localedef-fix-trampoline.patch │ │ ├── 180-resolv-dynamic.patch │ │ ├── 190-localedef-mmap.patch │ │ ├── 200-fadvise64_64.patch │ │ ├── 210-ldbl-nexttowardf.patch │ │ ├── 220-section-comments.patch │ │ ├── 230-no-inline-gmon.patch │ │ ├── 240-check_native-headers.patch │ │ ├── 250-fix-pr631.patch │ │ ├── 260-assume-pipe2.patch │ │ ├── 270-china.patch │ │ ├── 280-new-valencian-locale.patch │ │ ├── 300-nscd-one-fork.patch │ │ ├── 310-hppa-nptl-carlos.patch │ │ ├── 320-hppa-pie.patch │ │ ├── 330-m68k-sys-user.patch │ │ ├── 340-dl_execstack-PaX-support.patch │ │ ├── 350-pre20040117-pt_pax.patch │ │ ├── 360-tests-sandbox-libdl-paths.patch │ │ ├── 370-fnmatch.patch │ │ ├── 380-dont-build-timezone.patch │ │ ├── 390-cross-compile-nptl.patch │ │ ├── 400-alpha-xstat.patch │ │ ├── 410-alpha-no-page-header.patch │ │ ├── 420-alpha-no-asm-elf-header.patch │ │ ├── 430-alpha-creat.patch │ │ ├── 440-alpha-cache-shape.patch │ │ ├── 450-alpha-ptr-mangling.patch │ │ ├── 460-alpha-fix-gcc-4.1-warnings.patch │ │ ├── 470-alpha-floor_ceil_fix.patch │ │ ├── 480-alpha-add-dl-procinfo-support.patch │ │ ├── 490-alpha_alpha-add-fdatasync-support.patch │ │ ├── 500-alpha-add-getsystats-support.patch │ │ ├── 510-alpha-fix-includes.patch │ │ ├── 520-alpha-add-futex-defines.patch │ │ ├── 530-alpha-fix-rtld-fPIC.patch │ │ ├── 540-alpha-fix-memchr.patch │ │ ├── 550-alpha-fix-SOCK_NONBLOCK.patch │ │ ├── 560-ppc-atomic.patch │ │ ├── 570-arm-cirrus-ep93xx-maverick-crunch-fpu.patch │ │ ├── 580-nptl-lowlevellock.patch │ │ ├── 590-sh-set-fpscr-proto.patch │ │ ├── 600-mips_librt-mips.patch │ │ ├── 610-fpu-cw-mips.patch │ │ ├── 620-r10k-workarounds.patch │ │ ├── 630-mips_shn_undef-hack.patch │ │ ├── 640-alpha-atfcts.patch │ │ ├── 650-syslog.patch │ │ └── 660-debug-readlink_chk-readklinkat_chk.patch │ ├── ports-2.12.1 │ │ ├── 100-respect-env-CPPFLAGS.patch │ │ ├── 120-i386-x86_64-revert-clone-cfi.patch │ │ ├── 140-disable-ldconfig.patch │ │ ├── 150-queue-header-updates.patch │ │ ├── 160-manual-no-perl.patch │ │ ├── 170-localedef-fix-trampoline.patch │ │ ├── 180-resolv-dynamic.patch │ │ ├── 190-localedef-mmap.patch │ │ ├── 200-fadvise64_64.patch │ │ ├── 220-section-comments.patch │ │ ├── 230-no-inline-gmon.patch │ │ ├── 240-check_native-headers.patch │ │ ├── 250-fix-pr631.patch │ │ ├── 260-assume-pipe2.patch │ │ ├── 270-china.patch │ │ ├── 280-new-valencian-locale.patch │ │ ├── 300-nscd-one-fork.patch │ │ ├── 310-hppa-nptl-carlos.patch │ │ ├── 330-m68k-sys-user.patch │ │ ├── 340-dl_execstack-PaX-support.patch │ │ ├── 350-pre20040117-pt_pax.patch │ │ ├── 360-tests-sandbox-libdl-paths.patch │ │ ├── 370-fnmatch.patch │ │ ├── 380-dont-build-timezone.patch │ │ ├── 400-alpha-xstat.patch │ │ ├── 430-alpha-creat.patch │ │ ├── 440-alpha-cache-shape.patch │ │ ├── 460-alpha-fix-gcc-4.1-warnings.patch │ │ ├── 490-alpha_alpha-add-fdatasync-support.patch │ │ ├── 530-alpha-fix-rtld-fPIC.patch │ │ ├── 560-ppc-atomic.patch │ │ ├── 570-arm-cirrus-ep93xx-maverick-crunch-fpu.patch │ │ ├── 580-nptl-lowlevellock.patch │ │ ├── 610-fpu-cw-mips.patch │ │ ├── 630-mips_shn_undef-hack.patch │ │ ├── 640-alpha-atfcts.patch │ │ ├── 650-syslog.patch │ │ └── 660-debug-readlink_chk-readklinkat_chk.patch │ ├── ports-2.13 │ │ ├── 100-respect-env-CPPFLAGS.patch │ │ ├── 120-i386-x86_64-revert-clone-cfi.patch │ │ ├── 140-disable-ldconfig.patch │ │ ├── 150-queue-header-updates.patch │ │ ├── 160-manual-no-perl.patch │ │ ├── 170-localedef-fix-trampoline.patch │ │ ├── 180-resolv-dynamic.patch │ │ ├── 190-localedef-mmap.patch │ │ ├── 200-fadvise64_64.patch │ │ ├── 220-section-comments.patch │ │ ├── 230-no-inline-gmon.patch │ │ ├── 240-check_native-headers.patch │ │ ├── 250-fix-pr631.patch │ │ ├── 260-assume-pipe2.patch │ │ ├── 270-china.patch │ │ ├── 280-new-valencian-locale.patch │ │ ├── 300-nscd-one-fork.patch │ │ ├── 310-hppa-nptl-carlos.patch │ │ ├── 330-m68k-sys-user.patch │ │ ├── 340-dl_execstack-PaX-support.patch │ │ ├── 350-pre20040117-pt_pax.patch │ │ ├── 360-tests-sandbox-libdl-paths.patch │ │ ├── 380-dont-build-timezone.patch │ │ ├── 400-alpha-xstat.patch │ │ ├── 410-alpha-SETPIPE-GETPIPE.patch │ │ ├── 420-alpha-statfs.patch │ │ ├── 430-alpha-creat.patch │ │ ├── 440-alpha-cache-shape.patch │ │ ├── 450-alpha-DEFAULT_STACK_PERMS.patch │ │ ├── 460-alpha-fix-gcc-4.1-warnings.patch │ │ ├── 470-alpha-feupdateenv.patch │ │ ├── 490-alpha_alpha-add-fdatasync-support.patch │ │ ├── 530-alpha-fix-rtld-fPIC.patch │ │ ├── 560-ppc-atomic.patch │ │ ├── 570-arm-cirrus-ep93xx-maverick-crunch-fpu.patch │ │ ├── 580-nptl-lowlevellock.patch │ │ ├── 610-fpu-cw-mips.patch │ │ ├── 630-mips_shn_undef-hack.patch │ │ ├── 640-alpha-atfcts.patch │ │ ├── 650-syslog.patch │ │ └── 660-debug-readlink_chk-readklinkat_chk.patch │ ├── ports-2.6.1 │ │ ├── 100-ARM-NPTL.patch │ │ ├── 110-ARM-asm_page_h.patch │ │ ├── 120-lll_lock_t.patch │ │ └── 130-powerpc-softfloat.patch │ ├── ports-2.7 │ │ ├── 100-ARM-asm_page_h.patch │ │ └── 110-ARM-NPTL.patch │ └── ports-2.9 │ │ ├── 100-arm_linux_tls.patch │ │ └── 110-arm-fix-sjlj-for-fpu.patch ├── gmp │ ├── 4.2.2 │ │ └── 100-mpf_set_str.patch │ ├── 4.2.4 │ │ ├── 100-mpf_eq.patch │ │ ├── 110-mpf_set_str.patch │ │ └── 120-perfpow.patch │ ├── 4.3.1 │ │ ├── 100-multiplicity-that-does-not-fit-an-int.patch │ │ └── 110-unbounded-alloc.patch │ └── 5.0.1 │ │ └── 100-fix-tests-ABI-long-long.patch ├── libelf │ ├── 0.8.10 │ │ └── 100-fix-64-bit-detection.patch │ ├── 0.8.11 │ │ └── 100-fix-64-bit-detection.patch │ ├── 0.8.12 │ │ └── 100-fix-64-bit-detection.patch │ └── 0.8.13 │ │ └── 100-fix-64-bit-detection.patch ├── linux │ └── 3.0.9 │ │ └── 100-headers_install-fix-__packed-in-exported-kernel-head.patch ├── ltrace │ ├── 0.4 │ │ ├── 100-fix-build-with-exotic-linux-host-OS.patch │ │ ├── 110-allow-cross-compile.patch │ │ └── 120-alpha-support.patch │ ├── 0.5.1 │ │ ├── 100-allow-cross-compile.patch │ │ └── 110-alpha-support.patch │ ├── 0.5.2 │ │ ├── 100-allow-cross-compile.patch │ │ ├── 110-alpha-support.patch │ │ ├── 120-debian-ltrace-0.5.2-2.patch │ │ └── 130-fix-build-with-exotic-linux-host-OS.patch │ ├── 0.5.3 │ │ ├── 100-allow-cross-compile.patch │ │ ├── 110-alpha-support.patch │ │ ├── 120-debian-ltrace_0.5.3-2.patch │ │ ├── 130-add-sysdep.patch │ │ ├── 140-mips-remove-CP.patch │ │ ├── 140-mips.patch │ │ ├── 150-allow-configurable-arch.patch │ │ ├── 160-fix-missing-ptrace-defines.patch │ │ ├── 170-lib-supcc.patch │ │ ├── 180-libltrace-genindex.patch │ │ ├── 190-ar-configurable.patch │ │ └── 200-configure-hostos.patch │ ├── 0.5 │ │ ├── 100-fix-build-with-exotic-linux-host-OS.patch │ │ ├── 110-allow-cross-compile.patch │ │ ├── 120-alpha-support.patch │ │ └── 130-fixes-by-debian.patch │ └── 0.7.3 │ │ └── 100-ltrace.git-a77b267abb870c935f9b4187ca31409fa5eb9dcb.patch ├── mpc │ └── 0.8.1 │ │ └── 100-fix-build-with-mpfr-3_0_9.diff ├── mpfr │ ├── 2.3.1 │ │ └── 100-thread-safe-configure.patch │ ├── 2.4.0 │ │ ├── 100-printf-hh-ll.patch │ │ └── 110-mpfr_snprintf.patch │ ├── 2.4.1 │ │ ├── 100-remainder-neg.patch │ │ ├── 110-assert.patch │ │ ├── 120-cast-to-void-ptr.patch │ │ ├── 130-vasprintf-mp_limb_t.patch │ │ ├── 140-zeta_ui-shift.patch │ │ └── 150-test-tmul.patch │ └── 2.4.2 │ │ ├── 100-sin_cos_underflow.patch │ │ └── 110-longlong.h.patch ├── musl │ ├── 1.0.4 │ │ └── 0001-max_align_t.patch │ └── 1.1.4 │ │ └── 0001-max_align_t.patch ├── newlib │ ├── 1.17.0 │ │ └── 100-avr32.patch │ ├── 1.18.0 │ │ └── 100-fix-unaligned-access-memcpy-m68k.patch │ ├── 1.19.0 │ │ └── 100-fix-unaligned-access-memcpy-m68k.patch │ └── 1.20.0 │ │ └── 100-fix-unaligned-access-memcpy-m68k.patch ├── ppl │ ├── 0.10.2 │ │ ├── 100-fix-configure-with-gmp-5_0_1.patch │ │ └── 200-fix-build-with-local-gmp.patch │ ├── 0.11.1 │ │ ├── 100-fix-java-test-vs-enabled-shared.patch │ │ ├── 200-fix-build-with-local-gmp.patch │ │ └── 300-fix-data-dir.patch │ ├── 0.11.2 │ │ ├── 100-fix-java-test-vs-enabled-shared.patch │ │ ├── 200-fix-build-with-local-gmp.patch │ │ ├── 300-fix-data-dir.patch │ │ ├── 400-fix-build-with-gmp-5.1.patch │ │ └── 500-ptrdiff_t.patch │ └── 0.11 │ │ ├── 100-fix-java-test-vs-enabled-shared.patch │ │ ├── 200-fix-build-with-local-gmp.patch │ │ └── 300-fix-data-dir.patch ├── strace │ ├── 4.5.15 │ │ ├── 100-autoreconf.patch │ │ ├── 110-dont-use-REG_SYSCALL-for-sh.patch │ │ ├── 120-fix-arm-bad-syscall.patch │ │ ├── 130-fix-disabled-largefile-syscalls.patch │ │ ├── 140-mips-sprintsigmask-fix.patch │ │ ├── 150-statfs64-check.patch │ │ ├── 160-superh-update.ac.patch │ │ ├── 170-undef-CTL_PROC.patch │ │ ├── 180-undef-PACKET_MEMBERSHIP.patch │ │ └── 190-undef-syscall.patch │ ├── 4.5.16 │ │ ├── 100-autoreconf.patch │ │ ├── 110-dont-use-REG_SYSCALL-for-sh.patch │ │ ├── 120-fix-arm-bad-syscall.patch │ │ ├── 130-fix-disabled-largefile-syscalls.patch │ │ ├── 140-statfs64-check.patch │ │ ├── 150-superh-update.ac.patch │ │ ├── 160-undef-CTL_PROC.patch │ │ ├── 170-undef-PACKET_MEMBERSHIP.patch │ │ └── 180-undef-syscall.patch │ ├── 4.5.17 │ │ ├── 100-autoreconf.patch │ │ ├── 110-dont-use-REG_SYSCALL-for-sh.patch │ │ ├── 120-fix-arm-bad-syscall.patch │ │ ├── 130-fix-disabled-largefile-syscalls.patch │ │ ├── 140-statfs64-check.patch │ │ ├── 150-undef-CTL_PROC.patch │ │ ├── 160-undef-syscall.patch │ │ ├── 170-arm-syscalls.patch │ │ ├── 180-no_cachectl.patch │ │ └── 190-dirent-include.patch │ ├── 4.5.18 │ │ ├── 100-autoreconf.patch │ │ ├── 110-dont-use-REG_SYSCALL-for-sh.patch │ │ ├── 120-fix-arm-bad-syscall.patch │ │ ├── 130-fix-disabled-largefile-syscalls.patch │ │ ├── 140-statfs64-check.patch │ │ ├── 150-undef-CTL_PROC.patch │ │ ├── 160-undef-syscall.patch │ │ ├── 170-no_cachectl.patch │ │ └── 180-arm-EABI-syscalls.patch │ ├── 4.5.19 │ │ ├── 100-autoreconf.patch │ │ ├── 110-fix-arm-bad-syscall.patch │ │ ├── 120-fix-disabled-largefile-syscalls.patch │ │ ├── 130-statfs64-check.patch │ │ ├── 140-undef-CTL_PROC.patch │ │ ├── 150-undef-syscall.patch │ │ ├── 160-fix-check-for-linux-netlink.patch │ │ └── 170-update-configure.patch │ └── 4.8 │ │ └── 001-strace-4.8-glibc_2.18_build_fix-1.patch └── uClibc │ ├── 0.9.28.3 │ ├── 100-string-functions.patch │ ├── 110-install_dev.patch │ ├── 120-no_LFS-no_readahead.patch │ ├── 130-ctype.patch │ ├── 140-custom-ISA.patch │ └── 150-mips-asm.h.patch │ ├── 0.9.29 │ ├── 100-fix-mmap.patch │ ├── 110-conditional-sched_affinity.patch │ ├── 120-fix-internal_function-definition.patch │ ├── 130-fix-gethostent_r-failure-retval.patch │ ├── 140-bits_sysnum_h.patch │ ├── 150-bits_sysnum_h2.patch │ ├── 160-custom-ISA.patch │ ├── 170-filter-gnu99-from-assembly-flags.patch │ ├── 180-linuxthreads.patch │ └── 190-rm-whitespace.patch │ ├── 0.9.30.1 │ ├── 100-fix-gethostent_r-failure-retval.patch │ ├── 110-arm_fix_alignment.patch │ ├── 120-rm-whitespace.patch │ ├── 130-arm-ftruncate64.patch │ ├── 140-gnu89-inline.patch │ ├── 150-64bit-strtouq.patch │ ├── 160-c99-ldbl-math.patch │ ├── 170-dl-sysdep-inline.patch │ ├── 180-getline-conflict.patch │ ├── 190-fix-getaddrinfo-NULL-pointer-dereference.patch │ └── 200-pack-netinet-structs.patch │ ├── 0.9.30.2 │ ├── 100-fix-gethostent_r-failure-retval.patch │ ├── 110-arm_fix_alignment.patch │ ├── 120-rm-whitespace.patch │ ├── 130-gnu89-inline.patch │ ├── 140-pack-netinet-structs.patch │ ├── 150-LT-pthread_atfork-unhide.patch │ ├── 160-Make-use-of-macros-from-sys-asm.h-in-crt1.S.patch │ ├── 170-Makefile.in-Make-install_dev-depend-on-install_runti.patch │ ├── 180-Unbreak-build-for-sparc-on-some-config-s.patch │ ├── 190-avr32-add-varargs-handling-of-prctl-syscall.patch │ ├── 200-clean-up-O_CLOEXEC-handling.patch │ ├── 210-fix-make-install-host-utils.patch │ ├── 220-fstatat-fix-up-behavior-on-32-64-bit-hosts.patch │ ├── 230-getdents-Fix-mips64-build.patch │ ├── 240-host-utils-depend-on-headers.patch │ ├── 250-libc-Fix-typo-in-include-rpc.patch │ ├── 260-libm-enable-log2f-and-exp2f.patch │ ├── 270-malloc-fix-race-condition-and-other-bugs-in-the-no-m.patch │ ├── 280-rpc-fix-typo-in-version-mismatch-msg.patch │ └── 290-blackfin-nommu-fork-stub.patch │ ├── 0.9.30 │ ├── 100-fix-gethostent_r-failure-retval.patch │ ├── 110-arm_fix_alignment.patch │ ├── 120-rm-whitespace.patch │ ├── 130-arm-ftruncate64.patch │ ├── 140-gnu89-inline.patch │ ├── 150-getaddrinfo-segfault-ipv6-and-ipv4.patch │ ├── 200-getline-already-declared.patch │ └── 210-find-portable.patch │ ├── 0.9.32.1 │ └── 100-fix-TLS-DTPREL-TPREL-macros.patch │ ├── 0.9.32 │ ├── 100-bump-version-to-0.9.32.1-git.patch │ ├── 110-nptl-Makefile.in-Fix-the-build-break-caused-by-UCLIBC_CTOR_DTOR-enabling.patch │ ├── 120-ctor-dtor-nptl-Fix-init-and-fini-function-compilation.patch │ ├── 130-nptl-pthread-Correct-path-for-machine-specific-pt-initfini.c.patch │ ├── 140-ARM-reorder-Use-BX-option.patch │ ├── 150-Rules.mak-Rearrange-appending-UCLIBC_EXTRA_CFLAGS-to-CFLAGS.patch │ ├── 160-fix-TLS-DTPREL-TPREL-macros.patch │ └── 170-Conditionalize-use-libgcc_eh-when-libubacktrace-is-n.patch │ └── 0.9.33.2 │ ├── 100-m68k-ice.patch │ └── 200-fix-kernel-3.4plus-build.patch ├── samples ├── alphaev56-unknown-linux-gnu │ ├── crosstool.config │ └── reported.by ├── alphaev67-unknown-linux-gnu │ ├── crosstool.config │ └── reported.by ├── arm-bare_newlib_cortex_m3_nommu-eabi │ ├── crosstool.config │ └── reported.by ├── arm-cortex_a15-linux-gnueabi │ ├── crosstool.config │ └── reported.by ├── arm-cortex_a8-linux-gnueabi │ ├── crosstool.config │ └── reported.by ├── arm-cortexa5-linux-uclibcgnueabihf │ ├── crosstool.config │ ├── reported.by │ └── uClibc-0.9.33.2.config ├── arm-cortexa9_neon-linux-gnueabihf │ ├── crosstool.config │ └── reported.by ├── arm-unknown-eabi │ ├── crosstool.config │ └── reported.by ├── arm-unknown-linux-gnueabi │ ├── crosstool.config │ └── reported.by ├── arm-unknown-linux-uclibcgnueabi │ ├── crosstool.config │ ├── reported.by │ └── uClibc-0.9.33.2.config ├── arm-unknown-linux-uclibcgnueabihf │ ├── crosstool.config │ ├── reported.by │ └── uClibc-0.9.33.2.config ├── armeb-unknown-eabi │ ├── crosstool.config │ └── reported.by ├── armeb-unknown-linux-gnueabi │ ├── crosstool.config │ └── reported.by ├── armeb-unknown-linux-uclibcgnueabi │ ├── crosstool.config │ ├── reported.by │ └── uClibc-0.9.33.2.config ├── armv6-rpi-linux-gnueabi │ ├── crosstool.config │ └── reported.by ├── avr32-unknown-none │ ├── crosstool.config │ └── reported.by ├── bfin-unknown-linux-uclibc │ ├── crosstool.config │ ├── reported.by │ └── uClibc-0.9.33.2.config ├── i586-geode-linux-uclibc │ ├── crosstool.config │ ├── reported.by │ └── uClibc-0.9.33.2.config ├── i586-mingw32msvc,i686-none-linux-gnu │ ├── crosstool.config │ └── reported.by ├── i686-nptl-linux-gnu │ ├── crosstool.config │ └── reported.by ├── i686-unknown-mingw32 │ ├── crosstool.config │ └── reported.by ├── m68k-unknown-elf │ ├── crosstool.config │ └── reported.by ├── m68k-unknown-uclinux-uclibc │ ├── crosstool.config │ ├── reported.by │ └── uClibc-0.9.33.2.config ├── mips-ar2315-linux-gnu │ ├── crosstool.config │ └── reported.by ├── mips-malta-linux-gnu │ ├── crosstool.config │ └── reported.by ├── mips-unknown-elf │ ├── crosstool.config │ └── reported.by ├── mips-unknown-linux-uclibc │ ├── crosstool.config │ ├── reported.by │ └── uClibc-0.9.33.2.config ├── mips64el-n32-linux-uclibc │ ├── crosstool.config │ ├── reported.by │ └── uClibc-0.9.33.2.config ├── mips64el-n64-linux-uclibc │ ├── crosstool.config │ ├── reported.by │ └── uClibc-0.9.33.2.config ├── mipsel-sde-elf │ ├── crosstool.config │ └── reported.by ├── mipsel-unknown-linux-gnu │ ├── crosstool.config │ └── reported.by ├── powerpc-405-linux-gnu │ ├── crosstool.config │ └── reported.by ├── powerpc-860-linux-gnu │ ├── crosstool.config │ └── reported.by ├── powerpc-e300c3-linux-gnu │ ├── crosstool.config │ └── reported.by ├── powerpc-e500v2-linux-gnuspe │ ├── crosstool.config │ └── reported.by ├── powerpc-unknown-linux-gnu │ ├── crosstool.config │ └── reported.by ├── powerpc-unknown-linux-uclibc │ ├── broken │ ├── crosstool.config │ ├── reported.by │ └── uClibc-0.9.30.1.config ├── powerpc-unknown_nofpu-linux-gnu │ ├── crosstool.config │ └── reported.by ├── powerpc64-unknown-linux-gnu │ ├── crosstool.config │ └── reported.by ├── s390-ibm-linux-gnu │ ├── crosstool.config │ └── reported.by ├── s390x-ibm-linux-gnu │ ├── crosstool.config │ └── reported.by ├── samples.mk ├── sh4-unknown-linux-gnu │ ├── crosstool.config │ └── reported.by ├── sparc-unknown-linux-gnu │ ├── crosstool.config │ └── reported.by ├── x86_64-unknown-linux-gnu │ ├── crosstool.config │ └── reported.by ├── x86_64-unknown-linux-uclibc │ ├── crosstool.config │ ├── reported.by │ └── uClibc-0.9.33.2.config ├── x86_64-unknown-mingw32 │ ├── crosstool.config │ └── reported.by └── xtensa-lx106-elf │ ├── crosstool.config │ └── reported.by ├── scripts ├── .gitignore ├── addToolVersion.sh ├── build │ ├── arch │ │ ├── alpha.sh │ │ ├── arm.sh │ │ ├── avr32.sh │ │ ├── blackfin.sh │ │ ├── m68k.sh │ │ ├── microblaze.sh │ │ ├── mips.sh │ │ ├── powerpc.sh │ │ ├── s390.sh │ │ ├── sh.sh │ │ ├── sparc.sh │ │ ├── x86.sh │ │ └── xtensa.sh │ ├── binutils │ │ ├── binutils-ld.in │ │ └── binutils.sh │ ├── cc │ │ └── gcc.sh │ ├── companion_libs.sh │ ├── companion_libs │ │ ├── 100-gmp.sh │ │ ├── 110-mpfr.sh │ │ ├── 120-ppl.sh │ │ ├── 121-isl.sh │ │ ├── 130-cloog.sh │ │ ├── 140-mpc.sh │ │ └── 200-libelf.sh │ ├── companion_tools.sh │ ├── companion_tools │ │ ├── 050-make.sh │ │ ├── 100-m4.sh │ │ ├── 200-autoconf.sh │ │ ├── 300-automake.sh │ │ └── 400-libtool.sh │ ├── debug.sh │ ├── debug │ │ ├── 000-template.sh │ │ ├── 100-dmalloc.sh │ │ ├── 200-duma.sh │ │ ├── 300-gdb.sh │ │ ├── 400-ltrace.sh │ │ ├── 500-strace.sh │ │ ├── duma.in │ │ └── gdbinit.in │ ├── internals.sh │ ├── kernel │ │ ├── bare-metal.sh │ │ ├── linux.sh │ │ └── windows.sh │ ├── libc │ │ ├── eglibc.sh │ │ ├── glibc-eglibc.sh-common │ │ ├── glibc.sh │ │ ├── mingw.sh │ │ ├── musl.sh │ │ ├── newlib.sh │ │ ├── none.sh │ │ └── uClibc.sh │ ├── test_suite.sh │ └── test_suite │ │ └── gcc.sh ├── config.guess ├── config.sub ├── crosstool-NG.sh.in ├── functions ├── gen_in_frags.sh ├── install-sh ├── patch-renumber.sh ├── patch-rework.sh ├── populate.in ├── saveSample.sh.in ├── scripts.mk ├── showSamples.sh ├── showTuple.sh.in ├── toolchain-config.in └── xldd.in └── steps.mk /.gitignore: -------------------------------------------------------------------------------- 1 | # Generated files 2 | configure 3 | autom4te.cache 4 | config.log 5 | config.status 6 | Makefile 7 | *ct-ng* 8 | !ct-ng.comp 9 | !ct-ng.in 10 | paths.* 11 | config.gen/ 12 | .config 13 | .config.2 14 | 15 | # Temporaries 16 | .*.swp 17 | build.log 18 | .config.old 19 | 20 | # This is the place where toolchains are built 21 | .build/ 22 | # .. and the legacy location 23 | targets/ 24 | -------------------------------------------------------------------------------- /.version: -------------------------------------------------------------------------------- 1 | 1.20.0 2 | -------------------------------------------------------------------------------- /LICENSES: -------------------------------------------------------------------------------- 1 | COPYING -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | CrossTool-NG 2 | ============ 3 | 4 | For a manual on how to install crosstool see our wiki https://github.com/esp8266/esp8266-wiki/wiki/Compiler 5 | 6 | Online community http://www.esp8266.com supporting all aspects of the ESP8266 and ESP8266EX 7 | 8 | For more info see our wiki https://github.com/esp8266/esp8266-wiki/wiki 9 | -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- 1 | This is a somewhat ordered TODO list: 2 | 3 | Recurring tasks: 4 | 5 | - update versions for every tools... 6 | 7 | - update and/or upgrade all samples 8 | 9 | 10 | Non-recurring tasks: 11 | 12 | - update newlib (for enhanced bare metal) 13 | - confirm existing implementation on targets other than AVR32 14 | - try to make it generic, will help for uClibc++ 15 | 16 | - multilib 17 | 18 | - Cygwin target (needs newlib) 19 | - so we can build toolchains that generate code for Windows/Cygwin 20 | 21 | - uClibc++ 22 | - see newlib, above 23 | 24 | - uClinux 25 | - check whether we can use newlib under uClinux (?) 26 | -------------------------------------------------------------------------------- /bootstrap: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | printf "Running autoconf...\n" 5 | autoconf -Wall --force 6 | 7 | printf "Done. You may now run:\n ./configure\n" 8 | -------------------------------------------------------------------------------- /config/.gitignore: -------------------------------------------------------------------------------- 1 | configure.in 2 | -------------------------------------------------------------------------------- /config/arch/alpha.in: -------------------------------------------------------------------------------- 1 | # Alpha specific configuration file 2 | 3 | ## select ARCH_SUPPORTS_32 4 | ## select ARCH_DEFAULT_32 5 | ## select ARCH_USE_MMU 6 | ## select ARCH_SUPPORTS_WITH_CPU 7 | ## select ARCH_SUPPORTS_WITH_TUNE 8 | ## 9 | ## help The Alpha architecture. 10 | -------------------------------------------------------------------------------- /config/arch/arm.in: -------------------------------------------------------------------------------- 1 | # ARM specific configuration file 2 | 3 | ## select ARCH_SUPPORTS_32 4 | ## select ARCH_SUPPORTS_64 5 | ## select ARCH_DEFAULT_32 6 | ## select ARCH_SUPPORTS_BOTH_MMU 7 | ## select ARCH_DEFAULT_HAS_MMU 8 | ## select ARCH_SUPPORTS_BOTH_ENDIAN 9 | ## select ARCH_DEFAULT_LE 10 | ## select ARCH_SUPPORTS_WITH_ARCH 11 | ## select ARCH_SUPPORTS_WITH_CPU 12 | ## select ARCH_SUPPORTS_WITH_TUNE 13 | ## select ARCH_SUPPORTS_WITH_FLOAT if ARCH_32 14 | ## select ARCH_SUPPORTS_WITH_FPU if ARCH_32 15 | ## select ARCH_SUPPORTS_SOFTFP if ARCH_32 16 | ## 17 | ## help The ARM architecture, as defined by: 18 | ## help http://www.arm.com/ 19 | -------------------------------------------------------------------------------- /config/arch/avr32.in: -------------------------------------------------------------------------------- 1 | # AVR32 specific configuration file 2 | 3 | ## select ARCH_SUPPORTS_32 4 | ## select ARCH_DEFAULT_32 5 | ## select ARCH_USE_MMU 6 | ## select ARCH_DEFAULT_BE 7 | ## select ARCH_SUPPORTS_WITH_ARCH 8 | ## select ARCH_SUPPORTS_WITH_CPU 9 | ## select ARCH_SUPPORTS_WITH_TUNE 10 | ## select ARCH_SUPPORTS_WITH_FPU 11 | ## 12 | ## help The AVR32 architecture, as defined by: 13 | ## help http://www.atmel.com/products/avr32 14 | -------------------------------------------------------------------------------- /config/arch/blackfin.in: -------------------------------------------------------------------------------- 1 | # Blackfin specific configuration file 2 | 3 | ## select ARCH_SUPPORTS_32 4 | ## select ARCH_DEFAULT_32 5 | ## select ARCH_DEFAULT_LE 6 | ## select ARCH_SUPPORTS_WITH_ARCH 7 | ## select ARCH_SUPPORTS_WITH_CPU 8 | ## select ARCH_SUPPORTS_WITH_TUNE 9 | ## select ARCH_SUPPORTS_WITH_FPU 10 | ## 11 | ## help The Blackfin architecture 12 | -------------------------------------------------------------------------------- /config/arch/m68k.in: -------------------------------------------------------------------------------- 1 | # m68k specific configuration file 2 | 3 | ## select ARCH_SUPPORTS_32 4 | ## select ARCH_DEFAULT_32 5 | ## select ARCH_DEFAULT_BE 6 | ## select ARCH_SUPPORTS_WITH_CPU 7 | ## 8 | ## help The m68k architecture 9 | -------------------------------------------------------------------------------- /config/arch/mips.in: -------------------------------------------------------------------------------- 1 | # MIPS specific config options 2 | 3 | ## select ARCH_SUPPORTS_32 4 | ## select ARCH_SUPPORTS_64 if EXPERIMENTAL 5 | ## select ARCH_DEFAULT_32 6 | ## select ARCH_USE_MMU 7 | ## select ARCH_SUPPORTS_BOTH_ENDIAN 8 | ## select ARCH_DEFAULT_BE 9 | ## select ARCH_SUPPORTS_WITH_ARCH 10 | ## select ARCH_SUPPORTS_WITH_TUNE 11 | ## select ARCH_SUPPORTS_WITH_FLOAT 12 | ## 13 | ## help The MIPS architecture, as defined by: 14 | ## help http://www.mips.com/ 15 | -------------------------------------------------------------------------------- /config/arch/powerpc.in: -------------------------------------------------------------------------------- 1 | # powerpc specific configuration file 2 | 3 | ## select ARCH_SUPPORTS_32 4 | ## select ARCH_SUPPORTS_64 5 | ## select ARCH_DEFAULT_32 6 | ## select ARCH_SUPPORTS_BOTH_ENDIAN 7 | ## select ARCH_DEFAULT_BE 8 | ## select ARCH_USE_MMU 9 | ## select ARCH_SUPPORTS_WITH_ABI 10 | ## select ARCH_SUPPORTS_WITH_CPU 11 | ## select ARCH_SUPPORTS_WITH_TUNE 12 | ## select ARCH_SUPPORTS_WITH_FLOAT 13 | ## 14 | ## help The PowerPC architecture, as defined by: 15 | ## help http://www.ibm.com/developerworks/eserver/articles/archguide.html 16 | -------------------------------------------------------------------------------- /config/arch/s390.in: -------------------------------------------------------------------------------- 1 | # s390 specific config options 2 | 3 | ## select ARCH_SUPPORTS_32 4 | ## select ARCH_SUPPORTS_64 5 | ## select ARCH_DEFAULT_32 6 | ## select ARCH_USE_MMU 7 | ## select ARCH_SUPPORTS_WITH_FPU 8 | ## 9 | ## help Defined by IBM in: 10 | ## help 32-bit ESA/390 : http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dz9ar008/CCONTENTS 11 | ## help 64-bit z/Architecure : http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dz9zr002/CCONTENTS 12 | -------------------------------------------------------------------------------- /config/arch/sh.in: -------------------------------------------------------------------------------- 1 | # Super-H specific configuration file 2 | 3 | ## select ARCH_SUPPORTS_32 4 | ## select ARCH_DEFAULT_32 5 | ## select ARCH_USE_MMU 6 | ## select ARCH_SUPPORTS_BOTH_ENDIAN 7 | ## select ARCH_DEFAULT_LE 8 | ## 9 | ## help The Super-H architecture, as defined by: 10 | ## help http://www.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family/ 11 | -------------------------------------------------------------------------------- /config/arch/sh.in.2: -------------------------------------------------------------------------------- 1 | # Super-H specific configuration file 2 | 3 | choice 4 | bool 5 | prompt "Variant" 6 | 7 | config ARCH_SH_SH3 8 | bool 9 | prompt "sh3" 10 | 11 | config ARCH_SH_SH4 12 | bool 13 | prompt "sh4" 14 | 15 | config ARCH_SH_SH4A 16 | bool 17 | prompt "sh4a" 18 | 19 | endchoice 20 | 21 | config ARCH_SH_VARIANT 22 | string 23 | default "sh3" if ARCH_SH_SH3 24 | default "sh4" if ARCH_SH_SH4 25 | default "sh4a" if ARCH_SH_SH4A 26 | -------------------------------------------------------------------------------- /config/arch/sparc.in: -------------------------------------------------------------------------------- 1 | # SPARC specific config options 2 | 3 | ## select ARCH_SUPPORTS_32 4 | ## select ARCH_SUPPORTS_64 5 | ## select ARCH_DEFAULT_32 6 | ## select ARCH_USE_MMU 7 | ## select ARCH_SUPPORTS_WITH_CPU 8 | ## select ARCH_SUPPORTS_WITH_TUNE 9 | ## select ARCH_SUPPORTS_WITH_FLOAT 10 | ## 11 | ## help The SUN SPARC architecture, as defined by: 12 | ## help 32 bit: http://www.sparc.org/standards/V8.pdf 13 | ## help 64 bit: http://www.sparc.org/standards/SPARCV9.pdf 14 | -------------------------------------------------------------------------------- /config/arch/x86.in: -------------------------------------------------------------------------------- 1 | # x86 specific options 2 | 3 | ## select ARCH_SUPPORTS_32 4 | ## select ARCH_SUPPORTS_64 5 | ## select ARCH_DEFAULT_32 6 | ## select ARCH_USE_MMU 7 | ## select ARCH_SUPPORTS_WITH_ARCH 8 | ## select ARCH_SUPPORTS_WITH_CPU 9 | ## select ARCH_SUPPORTS_WITH_TUNE 10 | ## 11 | ## help The x86 architecture, as defined by: 12 | ## help 32-bit (ia32) : http://www.intel.com/ 13 | ## help 64-bit (amd64): http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_875_7044,00.html 14 | -------------------------------------------------------------------------------- /config/backend.in: -------------------------------------------------------------------------------- 1 | # Options specific to crosstool-NG acting as a backend 2 | 3 | config IS_A_BACKEND 4 | string 5 | option env="CT_IS_A_BACKEND" 6 | 7 | config BACKEND 8 | bool 9 | default y if IS_A_BACKEND = "y" || IS_A_BACKEND = "Y" 10 | 11 | config BACKEND_ARCH 12 | string 13 | option env="CT_BACKEND_ARCH" 14 | 15 | config BACKEND_KERNEL 16 | string 17 | option env="CT_BACKEND_KERNEL" 18 | 19 | config BACKEND_LIBC 20 | string 21 | option env="CT_BACKEND_LIBC" 22 | -------------------------------------------------------------------------------- /config/companion_libs/isl.in: -------------------------------------------------------------------------------- 1 | # ISL options 2 | 3 | choice 4 | bool 5 | prompt "ISL version" 6 | # Don't remove next line 7 | # CT_INSERT_VERSION_BELOW 8 | 9 | config ISL_V_0_12_2 10 | bool 11 | prompt "0.12.2" 12 | 13 | config ISL_V_0_11_1 14 | bool 15 | prompt "0.11.1" 16 | 17 | endchoice 18 | 19 | config ISL_VERSION 20 | string 21 | # Don't remove next line 22 | # CT_INSERT_VERSION_STRING_BELOW 23 | default "0.12.2" if ISL_V_0_12_2 24 | default "0.11.1" if ISL_V_0_11_1 25 | -------------------------------------------------------------------------------- /config/companion_libs/libelf.in: -------------------------------------------------------------------------------- 1 | # libelf config file 2 | 3 | choice 4 | bool 5 | prompt "libelf version" 6 | # Don't remove next line 7 | # CT_INSERT_VERSION_BELOW 8 | 9 | config LIBELF_V_0_8_13 10 | bool 11 | prompt "0.8.13" 12 | 13 | config LIBELF_V_0_8_12 14 | bool 15 | prompt "0.8.12" 16 | 17 | endchoice 18 | 19 | config LIBELF_VERSION 20 | string 21 | # Don't remove next line 22 | # CT_INSERT_VERSION_STRING_BELOW 23 | default "0.8.13" if LIBELF_V_0_8_13 24 | default "0.8.12" if LIBELF_V_0_8_12 25 | -------------------------------------------------------------------------------- /config/config.in: -------------------------------------------------------------------------------- 1 | source "config/configure.in" 2 | source "config/backend.in" 3 | source "config/global.in" 4 | source "config/target.in" 5 | source "config/toolchain.in" 6 | source "config/kernel.in" 7 | source "config/binutils.in" 8 | source "config/libc.in" 9 | source "config/cc.in" 10 | source "config/debug.in" 11 | source "config/companion_libs.in" 12 | source "config/companion_tools.in" 13 | source "config/test_suite.in" 14 | -------------------------------------------------------------------------------- /config/debug.in: -------------------------------------------------------------------------------- 1 | menu "Debug facilities" 2 | source "config.gen/debug.in" 3 | endmenu 4 | -------------------------------------------------------------------------------- /config/debug/dmalloc.in: -------------------------------------------------------------------------------- 1 | # dmalloc debug facility 2 | 3 | ## depends on ! BACKEND 4 | ## 5 | ## help dmalloc helps tracking memory allocation mis-usage 6 | ## help such as double-free, use-after-free... 7 | 8 | choice 9 | bool 10 | prompt "dmalloc version" 11 | # Don't remove next line 12 | # CT_INSERT_VERSION_BELOW 13 | 14 | config DMALLOC_V_5_5_2 15 | bool 16 | prompt "5.5.2" 17 | 18 | endchoice 19 | 20 | config DMALLOC_VERSION 21 | string 22 | # Don't remove next line 23 | # CT_INSERT_VERSION_STRING_BELOW 24 | default "5.5.2" if DMALLOC_V_5_5_2 25 | -------------------------------------------------------------------------------- /config/debug/gdb.in.native: -------------------------------------------------------------------------------- 1 | # Menu for the native GDB 2 | 3 | config GDB_NATIVE 4 | bool 5 | prompt "Native gdb" 6 | depends on ! BARE_METAL 7 | depends on ! BACKEND 8 | help 9 | Build and install a native gdb for the target, to run on the target. 10 | 11 | if GDB_NATIVE 12 | 13 | config GDB_NATIVE_STATIC 14 | bool 15 | prompt "Build a static native gdb" 16 | help 17 | In case you have trouble with dynamic loading of shared libraries, 18 | you will find that a static gdb comes in handy. 19 | 20 | endif # GDB_NATIVE 21 | -------------------------------------------------------------------------------- /config/global.in: -------------------------------------------------------------------------------- 1 | # Overall toolchain configuration: paths, jobs, etc... 2 | 3 | # Allow unconditional usage of tristates 4 | config MODULES 5 | bool 6 | default y 7 | 8 | menu "Paths and misc options" 9 | 10 | source "config/global/ct-behave.in" 11 | source "config/global/paths.in" 12 | source "config/global/download.in" 13 | source "config/global/extract.in" 14 | source "config/global/build-behave.in" 15 | source "config/global/logging.in" 16 | 17 | endmenu 18 | -------------------------------------------------------------------------------- /config/kernel/bare-metal.in: -------------------------------------------------------------------------------- 1 | # Bare metal config options 2 | 3 | ## select BARE_METAL 4 | ## 5 | ## help 'Bare metal' refers to those programs that run without any kernel. 6 | ## help 7 | ## help You probably want to say 'y' here if you plan to use your compiler 8 | ## help to build bootloaders. It is not yet suitable to build Linux kernels, 9 | ## help though, because the APCI stuff relies on the target C library headers 10 | ## help being available?!?!... 11 | -------------------------------------------------------------------------------- /config/kernel/windows.in: -------------------------------------------------------------------------------- 1 | # windows config options 2 | 3 | ## depends on ARCH_x86 4 | ## 5 | ## select WINDOWS 6 | ## 7 | ## help Build a toolchain targeting systems running Windows as host 8 | -------------------------------------------------------------------------------- /config/libc/eglibc.in.2: -------------------------------------------------------------------------------- 1 | source "config/libc/glibc-eglibc.in-common" 2 | -------------------------------------------------------------------------------- /config/libc/glibc.in.2: -------------------------------------------------------------------------------- 1 | source "config/libc/glibc-eglibc.in-common" 2 | -------------------------------------------------------------------------------- /contrib/gcc-test-suite/default.cfg: -------------------------------------------------------------------------------- 1 | # Default test suite configuration 2 | 3 | # Default DejaGnu configuration 4 | DG_TOOLNAME = gcc 5 | DG_TARGET_HOSTNAME = 127.0.0.1 6 | DG_TARGET_USERNAME = root 7 | 8 | # Default tests 9 | DG_C_TESTS = 10 | DG_CPP_TESTS = 11 | -------------------------------------------------------------------------------- /contrib/openrisc-or32.patch.lzma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/esp8266/crosstool-NG/69ddd7276ebb4f80d51b51fb28a2a08be4528b48/contrib/openrisc-or32.patch.lzma -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | *ct-ng*.1 2 | *ct-ng*.1.gz 3 | -------------------------------------------------------------------------------- /kconfig/.gitignore: -------------------------------------------------------------------------------- 1 | conf 2 | ?conf 3 | **.o 4 | **.dep 5 | lex.backup 6 | lex.zconf.c 7 | zconf.hash.c 8 | zconf.tab.c 9 | -------------------------------------------------------------------------------- /kconfig/check.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Needed for systems without gettext 3 | $* -xc -o /dev/null - > /dev/null 2>&1 << EOF 4 | #include 5 | int main() 6 | { 7 | gettext(""); 8 | return 0; 9 | } 10 | EOF 11 | if [ ! "$?" -eq "0" ]; then 12 | echo -DKBUILD_NO_NLS; 13 | fi 14 | 15 | -------------------------------------------------------------------------------- /kconfig/lxdialog/BIG.FAT.WARNING: -------------------------------------------------------------------------------- 1 | This is NOT the official version of dialog. This version has been 2 | significantly modified from the original. It is for use by the Linux 3 | kernel configuration script. Please do not bother Savio Lam with 4 | questions about this program. 5 | -------------------------------------------------------------------------------- /licenses.d/by-sa/deed_files/deed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/esp8266/crosstool-NG/69ddd7276ebb4f80d51b51fb28a2a08be4528b48/licenses.d/by-sa/deed_files/deed.gif -------------------------------------------------------------------------------- /licenses.d/by-sa/deed_files/deed_002.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/esp8266/crosstool-NG/69ddd7276ebb4f80d51b51fb28a2a08be4528b48/licenses.d/by-sa/deed_files/deed_002.gif -------------------------------------------------------------------------------- /licenses.d/by-sa/deed_files/logo_deed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/esp8266/crosstool-NG/69ddd7276ebb4f80d51b51fb28a2a08be4528b48/licenses.d/by-sa/deed_files/logo_deed.gif -------------------------------------------------------------------------------- /licenses.d/by-sa/deed_files/popup.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/esp8266/crosstool-NG/69ddd7276ebb4f80d51b51fb28a2a08be4528b48/licenses.d/by-sa/deed_files/popup.gif -------------------------------------------------------------------------------- /licenses.d/by-sa/legalcode: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/esp8266/crosstool-NG/69ddd7276ebb4f80d51b51fb28a2a08be4528b48/licenses.d/by-sa/legalcode -------------------------------------------------------------------------------- /licenses.d/by-sa/legalcode_files/logo_code.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/esp8266/crosstool-NG/69ddd7276ebb4f80d51b51fb28a2a08be4528b48/licenses.d/by-sa/legalcode_files/logo_code.gif -------------------------------------------------------------------------------- /patches/ELFkickers/2.0a/100-use_CC_not_gcc.patch: -------------------------------------------------------------------------------- 1 | diff -dur ELFkickers.orig/sstrip/Makefile ELFkickers/sstrip/Makefile 2 | --- ELFkickers.orig/sstrip/Makefile 2001-03-24 12:58:27.000000000 +0100 3 | +++ ELFkickers/sstrip/Makefile 2007-05-31 21:17:18.000000000 +0200 4 | @@ -1,7 +1,7 @@ 5 | # Makefile for sstrip 6 | 7 | sstrip: sstrip.c 8 | - gcc -ggdb -Wall -W -o sstrip sstrip.c 9 | + $(CC) -Wall -W -o sstrip sstrip.c 10 | 11 | clean: 12 | rm -f sstrip 13 | -------------------------------------------------------------------------------- /patches/binutils/2.17a/140-better_file_error.patch: -------------------------------------------------------------------------------- 1 | diff -dur binutils-2.17.old/bfd/opncls.c binutils-2.17/bfd/opncls.c 2 | --- binutils-2.17.old/bfd/opncls.c 2006-03-16 13:20:16.000000000 +0100 3 | +++ binutils-2.17/bfd/opncls.c 2007-05-01 18:26:11.000000000 +0200 4 | @@ -158,6 +158,13 @@ 5 | { 6 | bfd *nbfd; 7 | const bfd_target *target_vec; 8 | + struct stat s; 9 | + 10 | + if (stat (filename, &s) == 0) 11 | + if (S_ISDIR(s.st_mode)) { 12 | + bfd_set_error (bfd_error_file_not_recognized); 13 | + return NULL; 14 | + } 15 | 16 | nbfd = _bfd_new_bfd (); 17 | if (nbfd == NULL) 18 | -------------------------------------------------------------------------------- /patches/binutils/2.18a/110-enable-dash-v2.patch: -------------------------------------------------------------------------------- 1 | Enable using a shell other than bash. 2 | Courtesy "Martin Guy" 3 | http://sourceware.org/ml/crossgcc/2008-08/msg00037.html 4 | 5 | --- binutils-2.18.orig/ld/genscripts.sh 2007-08-12 20:00:07.000000000 +0100 6 | +++ binutils-2.18/ld/genscripts.sh 2008-08-25 16:09:54.000000000 +0100 7 | @@ -398,9 +398,11 @@ 8 | . $em_script 9 | em_script=$current_script 10 | } 11 | - fragment() 12 | + 13 | + alias fragment='em_lineno=$LINENO; fragment_em' 14 | + fragment_em() 15 | { 16 | - local lineno=$[${BASH_LINENO[0]} + 1] 17 | + local lineno=$[$em_lineno + 1] 18 | echo >> e${EMULATION_NAME}.c "#line $lineno \"$em_script\"" 19 | cat >> e${EMULATION_NAME}.c 20 | } 21 | -------------------------------------------------------------------------------- /patches/binutils/2.20.1a/110-RPATH_ENVVAR-smack.patch: -------------------------------------------------------------------------------- 1 | http://sourceware.org/ml/binutils/2007-07/msg00401.html 2 | http://sourceware.org/bugzilla/show_bug.cgi?id=4970 3 | 4 | diff -durN binutils-2.20.1.orig/configure binutils-2.20.1/configure 5 | --- binutils-2.20.1.orig/configure 2010-03-03 14:59:02.000000000 +0100 6 | +++ binutils-2.20.1/configure 2010-08-17 19:32:05.000000000 +0200 7 | @@ -6466,6 +6466,7 @@ 8 | *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;; 9 | *) RPATH_ENVVAR=LD_LIBRARY_PATH ;; 10 | esac 11 | +RPATH_ENVVAR="cant_touch_this_nah_nah_nah" 12 | 13 | # On systems where the dynamic library environment variable is PATH, 14 | # gcc/ will put dynamic libraries into a subdirectory to avoid adding 15 | -------------------------------------------------------------------------------- /patches/binutils/2.20.1a/160-amd64-32bit-path.patch: -------------------------------------------------------------------------------- 1 | 2 | 3 | diff -durN binutils-2.20.1.orig/ld/emulparams/elf_i386.sh binutils-2.20.1/ld/emulparams/elf_i386.sh 4 | --- binutils-2.20.1.orig/ld/emulparams/elf_i386.sh 2009-07-29 16:59:23.000000000 +0200 5 | +++ binutils-2.20.1/ld/emulparams/elf_i386.sh 2010-08-17 19:32:12.000000000 +0200 6 | @@ -13,3 +13,13 @@ 7 | NO_SMALL_DATA=yes 8 | SEPARATE_GOTPLT=12 9 | IREL_IN_PLT= 10 | + 11 | +# In Gentoo, we install 32bit libs into /lib32 in an 12 | +# ABI setup with amd64/x86 13 | +case "$target" in 14 | + x86_64*-linux*) 15 | + case "$EMULATION_NAME" in 16 | + *i386*) LIBPATH_SUFFIX=32 ;; 17 | + esac 18 | + ;; 19 | +esac 20 | -------------------------------------------------------------------------------- /patches/binutils/2.20.1a/190-use-new-ld-dtags.patch: -------------------------------------------------------------------------------- 1 | 2 | 3 | diff -durN binutils-2.20.1.orig/ld/ldmain.c binutils-2.20.1/ld/ldmain.c 4 | --- binutils-2.20.1.orig/ld/ldmain.c 2010-08-17 19:32:13.000000000 +0200 5 | +++ binutils-2.20.1/ld/ldmain.c 2010-08-17 19:32:15.000000000 +0200 6 | @@ -262,6 +262,7 @@ 7 | 8 | link_info.allow_undefined_version = TRUE; 9 | link_info.keep_memory = TRUE; 10 | + link_info.new_dtags = TRUE; 11 | link_info.combreloc = TRUE; 12 | link_info.strip_discarded = TRUE; 13 | link_info.emit_hash = TRUE; 14 | -------------------------------------------------------------------------------- /patches/binutils/2.20.1a/220-use-relro.patch: -------------------------------------------------------------------------------- 1 | 2 | 3 | diff -durN binutils-2.20.1.orig/ld/ldmain.c binutils-2.20.1/ld/ldmain.c 4 | --- binutils-2.20.1.orig/ld/ldmain.c 2010-08-17 19:32:17.000000000 +0200 5 | +++ binutils-2.20.1/ld/ldmain.c 2010-08-17 19:32:18.000000000 +0200 6 | @@ -264,6 +264,7 @@ 7 | link_info.keep_memory = TRUE; 8 | link_info.new_dtags = TRUE; 9 | link_info.combreloc = TRUE; 10 | + link_info.relro = TRUE; 11 | link_info.strip_discarded = TRUE; 12 | link_info.emit_hash = TRUE; 13 | #ifndef __mips__ 14 | -------------------------------------------------------------------------------- /patches/binutils/2.20.1a/230-libiberty-pic.patch: -------------------------------------------------------------------------------- 1 | 2 | 3 | diff -durN binutils-2.20.1.orig/libiberty/Makefile.in binutils-2.20.1/libiberty/Makefile.in 4 | --- binutils-2.20.1.orig/libiberty/Makefile.in 2009-08-23 21:03:58.000000000 +0200 5 | +++ binutils-2.20.1/libiberty/Makefile.in 2010-08-17 19:32:19.000000000 +0200 6 | @@ -227,6 +227,7 @@ 7 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ 8 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 9 | $(RANLIB) $(TARGETLIB); \ 10 | + cp $(TARGETLIB) ../ ; \ 11 | cd ..; \ 12 | else true; fi 13 | 14 | -------------------------------------------------------------------------------- /patches/binutils/2.22/400-fix_arm_gc_sections.patch: -------------------------------------------------------------------------------- 1 | --- a/bfd/elf32-arm.c 2 | +++ b/bfd/elf32-arm.c 3 | @@ -12408,7 +12408,8 @@ elf32_arm_check_relocs (bfd *abfd, struc 4 | 5 | /* If the symbol is a function that doesn't bind locally, 6 | this relocation will need a PLT entry. */ 7 | - root_plt->refcount += 1; 8 | + if (root_plt->refcount != -1) 9 | + root_plt->refcount += 1; 10 | 11 | if (!call_reloc_p) 12 | arm_plt->noncall_refcount++; 13 | -------------------------------------------------------------------------------- /patches/eglibc/2_8/100-powerpc-private_futex.patch: -------------------------------------------------------------------------------- 1 | 2008-04-28 Hiroki Kaminaga 2 | 3 | [BZ 6740] 4 | nptl/sysdeps/powerpc/tcb-offsets.sym (PRIVATE_FUTEX_OFFSET): 5 | Guard sym definition with #ifndef __ASSUME_PRIVATE_FUTEX. 6 | 7 | --- a/nptl/sysdeps/powerpc/tcb-offsets.sym 8 | +++ b/nptl/sysdeps/powerpc/tcb-offsets.sym 9 | @@ -15,4 +15,6 @@ 10 | PID thread_offsetof (pid) 11 | TID thread_offsetof (tid) 12 | POINTER_GUARD (offsetof (tcbhead_t, pointer_guard) - TLS_TCB_OFFSET - sizeof (tcbhead_t)) 13 | +#ifndef __ASSUME_PRIVATE_FUTEX 14 | PRIVATE_FUTEX_OFFSET thread_offsetof (header.private_futex) 15 | +#endif 16 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.0/0002-musl_disable-fixincludes.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.3/fixincludes/mkfixinc.sh 2 | =================================================================== 3 | --- gcc-4.8.3.orig/fixincludes/mkfixinc.sh 4 | +++ gcc-4.8.3/fixincludes/mkfixinc.sh 5 | @@ -19,7 +19,8 @@ case $machine in 6 | powerpc-*-eabi* | \ 7 | powerpc-*-rtems* | \ 8 | powerpcle-*-eabisim* | \ 9 | - powerpcle-*-eabi* ) 10 | + powerpcle-*-eabi* | \ 11 | + *-musl* ) 12 | # IF there is no include fixing, 13 | # THEN create a no-op fixer and exit 14 | (echo "#! /bin/sh" ; echo "exit 0" ) > ${target} 15 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.0/0003-musl_microblaze-size_t.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.0/gcc/config/microblaze/microblaze.h 2 | =================================================================== 3 | --- gcc-4.8.0.orig/gcc/config/microblaze/microblaze.h 4 | +++ gcc-4.8.0/gcc/config/microblaze/microblaze.h 5 | @@ -213,6 +213,12 @@ extern enum pipeline_type microblaze_pip 6 | #define STRICT_ALIGNMENT 1 7 | #define PCC_BITFIELD_TYPE_MATTERS 1 8 | 9 | +#undef SIZE_TYPE 10 | +#define SIZE_TYPE "unsigned int" 11 | + 12 | +#undef PTRDIFF_TYPE 13 | +#define PTRDIFF_TYPE "int" 14 | + 15 | #define CONSTANT_ALIGNMENT(EXP, ALIGN) \ 16 | ((TREE_CODE (EXP) == STRING_CST || TREE_CODE (EXP) == CONSTRUCTOR) \ 17 | && (ALIGN) < BITS_PER_WORD \ 18 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.0/0006-musl_unwind-dliterate.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.0/libgcc/unwind-dw2-fde-dip.c 2 | =================================================================== 3 | --- gcc-4.8.0.orig/libgcc/unwind-dw2-fde-dip.c 4 | +++ gcc-4.8.0/libgcc/unwind-dw2-fde-dip.c 5 | @@ -73,6 +73,13 @@ 6 | && defined(TARGET_DL_ITERATE_PHDR) \ 7 | && defined(__sun__) && defined(__svr4__) 8 | # define USE_PT_GNU_EH_FRAME 9 | + #endif 10 | + 11 | +/* For musl libc, TARGET_DL_ITERATE_PHDR gets defined by the configure 12 | + script. */ 13 | +#if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \ 14 | + && defined(TARGET_DL_ITERATE_PHDR) 15 | +# define USE_PT_GNU_EH_FRAME 16 | #endif 17 | 18 | #if defined(USE_PT_GNU_EH_FRAME) 19 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.0/0007-musl_gomp-posix-time.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.0/libgomp/config/posix/time.c 2 | =================================================================== 3 | --- gcc-4.8.0.orig/libgomp/config/posix/time.c 4 | +++ gcc-4.8.0/libgomp/config/posix/time.c 5 | @@ -28,6 +28,8 @@ 6 | The following implementation uses the most simple POSIX routines. 7 | If present, POSIX 4 clocks should be used instead. */ 8 | 9 | +#define _POSIX_C_SOURCE 199309L /* for clocks */ 10 | + 11 | #include "libgomp.h" 12 | #include 13 | #if TIME_WITH_SYS_TIME 14 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.1/0002-musl_disable-fixincludes.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.3/fixincludes/mkfixinc.sh 2 | =================================================================== 3 | --- gcc-4.8.3.orig/fixincludes/mkfixinc.sh 4 | +++ gcc-4.8.3/fixincludes/mkfixinc.sh 5 | @@ -19,7 +19,8 @@ case $machine in 6 | powerpc-*-eabi* | \ 7 | powerpc-*-rtems* | \ 8 | powerpcle-*-eabisim* | \ 9 | - powerpcle-*-eabi* ) 10 | + powerpcle-*-eabi* | \ 11 | + *-musl* ) 12 | # IF there is no include fixing, 13 | # THEN create a no-op fixer and exit 14 | (echo "#! /bin/sh" ; echo "exit 0" ) > ${target} 15 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.1/0003-musl_microblaze-size_t.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.1/gcc/config/microblaze/microblaze.h 2 | =================================================================== 3 | --- gcc-4.8.1.orig/gcc/config/microblaze/microblaze.h 4 | +++ gcc-4.8.1/gcc/config/microblaze/microblaze.h 5 | @@ -213,6 +213,12 @@ extern enum pipeline_type microblaze_pip 6 | #define STRICT_ALIGNMENT 1 7 | #define PCC_BITFIELD_TYPE_MATTERS 1 8 | 9 | +#undef SIZE_TYPE 10 | +#define SIZE_TYPE "unsigned int" 11 | + 12 | +#undef PTRDIFF_TYPE 13 | +#define PTRDIFF_TYPE "int" 14 | + 15 | #define CONSTANT_ALIGNMENT(EXP, ALIGN) \ 16 | ((TREE_CODE (EXP) == STRING_CST || TREE_CODE (EXP) == CONSTRUCTOR) \ 17 | && (ALIGN) < BITS_PER_WORD \ 18 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.1/0006-musl_unwind-dliterate.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.1/libgcc/unwind-dw2-fde-dip.c 2 | =================================================================== 3 | --- gcc-4.8.1.orig/libgcc/unwind-dw2-fde-dip.c 4 | +++ gcc-4.8.1/libgcc/unwind-dw2-fde-dip.c 5 | @@ -73,6 +73,13 @@ 6 | && defined(TARGET_DL_ITERATE_PHDR) \ 7 | && defined(__sun__) && defined(__svr4__) 8 | # define USE_PT_GNU_EH_FRAME 9 | + #endif 10 | + 11 | +/* For musl libc, TARGET_DL_ITERATE_PHDR gets defined by the configure 12 | + script. */ 13 | +#if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \ 14 | + && defined(TARGET_DL_ITERATE_PHDR) 15 | +# define USE_PT_GNU_EH_FRAME 16 | #endif 17 | 18 | #if defined(USE_PT_GNU_EH_FRAME) 19 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.1/0007-musl_gomp-posix-time.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.1/libgomp/config/posix/time.c 2 | =================================================================== 3 | --- gcc-4.8.1.orig/libgomp/config/posix/time.c 4 | +++ gcc-4.8.1/libgomp/config/posix/time.c 5 | @@ -28,6 +28,8 @@ 6 | The following implementation uses the most simple POSIX routines. 7 | If present, POSIX 4 clocks should be used instead. */ 8 | 9 | +#define _POSIX_C_SOURCE 199309L /* for clocks */ 10 | + 11 | #include "libgomp.h" 12 | #include 13 | #if TIME_WITH_SYS_TIME 14 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.2/0002-musl_disable-fixincludes.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.3/fixincludes/mkfixinc.sh 2 | =================================================================== 3 | --- gcc-4.8.3.orig/fixincludes/mkfixinc.sh 4 | +++ gcc-4.8.3/fixincludes/mkfixinc.sh 5 | @@ -19,7 +19,8 @@ case $machine in 6 | powerpc-*-eabi* | \ 7 | powerpc-*-rtems* | \ 8 | powerpcle-*-eabisim* | \ 9 | - powerpcle-*-eabi* ) 10 | + powerpcle-*-eabi* | \ 11 | + *-musl* ) 12 | # IF there is no include fixing, 13 | # THEN create a no-op fixer and exit 14 | (echo "#! /bin/sh" ; echo "exit 0" ) > ${target} 15 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.2/0003-musl_microblaze-size_t.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.2/gcc/config/microblaze/microblaze.h 2 | =================================================================== 3 | --- gcc-4.8.2.orig/gcc/config/microblaze/microblaze.h 4 | +++ gcc-4.8.2/gcc/config/microblaze/microblaze.h 5 | @@ -213,6 +213,12 @@ extern enum pipeline_type microblaze_pip 6 | #define STRICT_ALIGNMENT 1 7 | #define PCC_BITFIELD_TYPE_MATTERS 1 8 | 9 | +#undef SIZE_TYPE 10 | +#define SIZE_TYPE "unsigned int" 11 | + 12 | +#undef PTRDIFF_TYPE 13 | +#define PTRDIFF_TYPE "int" 14 | + 15 | #define CONSTANT_ALIGNMENT(EXP, ALIGN) \ 16 | ((TREE_CODE (EXP) == STRING_CST || TREE_CODE (EXP) == CONSTRUCTOR) \ 17 | && (ALIGN) < BITS_PER_WORD \ 18 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.2/0006-musl_unwind-dliterate.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.2/libgcc/unwind-dw2-fde-dip.c 2 | =================================================================== 3 | --- gcc-4.8.2.orig/libgcc/unwind-dw2-fde-dip.c 4 | +++ gcc-4.8.2/libgcc/unwind-dw2-fde-dip.c 5 | @@ -73,6 +73,13 @@ 6 | && defined(TARGET_DL_ITERATE_PHDR) \ 7 | && defined(__sun__) && defined(__svr4__) 8 | # define USE_PT_GNU_EH_FRAME 9 | + #endif 10 | + 11 | +/* For musl libc, TARGET_DL_ITERATE_PHDR gets defined by the configure 12 | + script. */ 13 | +#if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \ 14 | + && defined(TARGET_DL_ITERATE_PHDR) 15 | +# define USE_PT_GNU_EH_FRAME 16 | #endif 17 | 18 | #if defined(USE_PT_GNU_EH_FRAME) 19 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.2/0007-musl_gomp-posix-time.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.2/libgomp/config/posix/time.c 2 | =================================================================== 3 | --- gcc-4.8.2.orig/libgomp/config/posix/time.c 4 | +++ gcc-4.8.2/libgomp/config/posix/time.c 5 | @@ -28,6 +28,8 @@ 6 | The following implementation uses the most simple POSIX routines. 7 | If present, POSIX 4 clocks should be used instead. */ 8 | 9 | +#define _POSIX_C_SOURCE 199309L /* for clocks */ 10 | + 11 | #include "libgomp.h" 12 | #include 13 | #if TIME_WITH_SYS_TIME 14 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.3/0002-musl_disable-fixincludes.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.3/fixincludes/mkfixinc.sh 2 | =================================================================== 3 | --- gcc-4.8.3.orig/fixincludes/mkfixinc.sh 4 | +++ gcc-4.8.3/fixincludes/mkfixinc.sh 5 | @@ -19,7 +19,8 @@ case $machine in 6 | powerpc-*-eabi* | \ 7 | powerpc-*-rtems* | \ 8 | powerpcle-*-eabisim* | \ 9 | - powerpcle-*-eabi* ) 10 | + powerpcle-*-eabi* | \ 11 | + *-musl* ) 12 | # IF there is no include fixing, 13 | # THEN create a no-op fixer and exit 14 | (echo "#! /bin/sh" ; echo "exit 0" ) > ${target} 15 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.3/0003-musl_microblaze-size_t.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.3/gcc/config/microblaze/microblaze.h 2 | =================================================================== 3 | --- gcc-4.8.3.orig/gcc/config/microblaze/microblaze.h 4 | +++ gcc-4.8.3/gcc/config/microblaze/microblaze.h 5 | @@ -219,6 +219,12 @@ extern enum pipeline_type microblaze_pip 6 | #undef PTRDIFF_TYPE 7 | #define PTRDIFF_TYPE "int" 8 | 9 | +#undef SIZE_TYPE 10 | +#define SIZE_TYPE "unsigned int" 11 | + 12 | +#undef PTRDIFF_TYPE 13 | +#define PTRDIFF_TYPE "int" 14 | + 15 | #define CONSTANT_ALIGNMENT(EXP, ALIGN) \ 16 | ((TREE_CODE (EXP) == STRING_CST || TREE_CODE (EXP) == CONSTRUCTOR) \ 17 | && (ALIGN) < BITS_PER_WORD \ 18 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.3/0006-musl_unwind-dliterate.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.3/libgcc/unwind-dw2-fde-dip.c 2 | =================================================================== 3 | --- gcc-4.8.3.orig/libgcc/unwind-dw2-fde-dip.c 4 | +++ gcc-4.8.3/libgcc/unwind-dw2-fde-dip.c 5 | @@ -73,6 +73,13 @@ 6 | && defined(TARGET_DL_ITERATE_PHDR) \ 7 | && defined(__sun__) && defined(__svr4__) 8 | # define USE_PT_GNU_EH_FRAME 9 | + #endif 10 | + 11 | +/* For musl libc, TARGET_DL_ITERATE_PHDR gets defined by the configure 12 | + script. */ 13 | +#if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \ 14 | + && defined(TARGET_DL_ITERATE_PHDR) 15 | +# define USE_PT_GNU_EH_FRAME 16 | #endif 17 | 18 | #if defined(USE_PT_GNU_EH_FRAME) 19 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.8.3/0007-musl_gomp-posix-time.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.8.3/libgomp/config/posix/time.c 2 | =================================================================== 3 | --- gcc-4.8.3.orig/libgomp/config/posix/time.c 4 | +++ gcc-4.8.3/libgomp/config/posix/time.c 5 | @@ -28,6 +28,8 @@ 6 | The following implementation uses the most simple POSIX routines. 7 | If present, POSIX 4 clocks should be used instead. */ 8 | 9 | +#define _POSIX_C_SOURCE 199309L /* for clocks */ 10 | + 11 | #include "libgomp.h" 12 | #include 13 | #if TIME_WITH_SYS_TIME 14 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.9.0/0002-musl_disable-fixincludes.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.9.0/fixincludes/mkfixinc.sh 2 | =================================================================== 3 | --- gcc-4.9.0.orig/fixincludes/mkfixinc.sh 4 | +++ gcc-4.9.0/fixincludes/mkfixinc.sh 5 | @@ -19,7 +19,8 @@ case $machine in 6 | powerpc-*-eabi* | \ 7 | powerpc-*-rtems* | \ 8 | powerpcle-*-eabisim* | \ 9 | - powerpcle-*-eabi* ) 10 | + powerpcle-*-eabi* | \ 11 | + *-musl* ) 12 | # IF there is no include fixing, 13 | # THEN create a no-op fixer and exit 14 | (echo "#! /bin/sh" ; echo "exit 0" ) > ${target} 15 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.9.0/0003-musl_microblaze-size_t.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.9.0/gcc/config/microblaze/microblaze.h 2 | =================================================================== 3 | --- gcc-4.9.0.orig/gcc/config/microblaze/microblaze.h 4 | +++ gcc-4.9.0/gcc/config/microblaze/microblaze.h 5 | @@ -218,6 +218,12 @@ extern enum pipeline_type microblaze_pip 6 | #undef PTRDIFF_TYPE 7 | #define PTRDIFF_TYPE "int" 8 | 9 | +#undef SIZE_TYPE 10 | +#define SIZE_TYPE "unsigned int" 11 | + 12 | +#undef PTRDIFF_TYPE 13 | +#define PTRDIFF_TYPE "int" 14 | + 15 | #define CONSTANT_ALIGNMENT(EXP, ALIGN) \ 16 | ((TREE_CODE (EXP) == STRING_CST || TREE_CODE (EXP) == CONSTRUCTOR) \ 17 | && (ALIGN) < BITS_PER_WORD \ 18 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.9.0/0006-musl_unwind-dliterate.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.9.0/libgcc/unwind-dw2-fde-dip.c 2 | =================================================================== 3 | --- gcc-4.9.0.orig/libgcc/unwind-dw2-fde-dip.c 4 | +++ gcc-4.9.0/libgcc/unwind-dw2-fde-dip.c 5 | @@ -73,6 +73,13 @@ 6 | && defined(TARGET_DL_ITERATE_PHDR) \ 7 | && defined(__sun__) && defined(__svr4__) 8 | # define USE_PT_GNU_EH_FRAME 9 | + #endif 10 | + 11 | +/* For musl libc, TARGET_DL_ITERATE_PHDR gets defined by the configure 12 | + script. */ 13 | +#if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \ 14 | + && defined(TARGET_DL_ITERATE_PHDR) 15 | +# define USE_PT_GNU_EH_FRAME 16 | #endif 17 | 18 | #if defined(USE_PT_GNU_EH_FRAME) 19 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.9.0/0007-musl_gomp-posix-time.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.9.0/libgomp/config/posix/time.c 2 | =================================================================== 3 | --- gcc-4.9.0.orig/libgomp/config/posix/time.c 4 | +++ gcc-4.9.0/libgomp/config/posix/time.c 5 | @@ -28,6 +28,8 @@ 6 | The following implementation uses the most simple POSIX routines. 7 | If present, POSIX 4 clocks should be used instead. */ 8 | 9 | +#define _POSIX_C_SOURCE 199309L /* for clocks */ 10 | + 11 | #include "libgomp.h" 12 | #include 13 | #if TIME_WITH_SYS_TIME 14 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.9.1/0002-musl_disable-fixincludes.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.9.1/fixincludes/mkfixinc.sh 2 | =================================================================== 3 | --- gcc-4.9.1.orig/fixincludes/mkfixinc.sh 4 | +++ gcc-4.9.1/fixincludes/mkfixinc.sh 5 | @@ -19,7 +19,8 @@ case $machine in 6 | powerpc-*-eabi* | \ 7 | powerpc-*-rtems* | \ 8 | powerpcle-*-eabisim* | \ 9 | - powerpcle-*-eabi* ) 10 | + powerpcle-*-eabi* | \ 11 | + *-musl* ) 12 | # IF there is no include fixing, 13 | # THEN create a no-op fixer and exit 14 | (echo "#! /bin/sh" ; echo "exit 0" ) > ${target} 15 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.9.1/0003-musl_microblaze-size_t.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.9.1/gcc/config/microblaze/microblaze.h 2 | =================================================================== 3 | --- gcc-4.9.1.orig/gcc/config/microblaze/microblaze.h 4 | +++ gcc-4.9.1/gcc/config/microblaze/microblaze.h 5 | @@ -218,6 +218,12 @@ extern enum pipeline_type microblaze_pip 6 | #undef PTRDIFF_TYPE 7 | #define PTRDIFF_TYPE "int" 8 | 9 | +#undef SIZE_TYPE 10 | +#define SIZE_TYPE "unsigned int" 11 | + 12 | +#undef PTRDIFF_TYPE 13 | +#define PTRDIFF_TYPE "int" 14 | + 15 | #define CONSTANT_ALIGNMENT(EXP, ALIGN) \ 16 | ((TREE_CODE (EXP) == STRING_CST || TREE_CODE (EXP) == CONSTRUCTOR) \ 17 | && (ALIGN) < BITS_PER_WORD \ 18 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.9.1/0006-musl_unwind-dliterate.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.9.1/libgcc/unwind-dw2-fde-dip.c 2 | =================================================================== 3 | --- gcc-4.9.1.orig/libgcc/unwind-dw2-fde-dip.c 4 | +++ gcc-4.9.1/libgcc/unwind-dw2-fde-dip.c 5 | @@ -73,6 +73,13 @@ 6 | && defined(TARGET_DL_ITERATE_PHDR) \ 7 | && defined(__sun__) && defined(__svr4__) 8 | # define USE_PT_GNU_EH_FRAME 9 | + #endif 10 | + 11 | +/* For musl libc, TARGET_DL_ITERATE_PHDR gets defined by the configure 12 | + script. */ 13 | +#if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \ 14 | + && defined(TARGET_DL_ITERATE_PHDR) 15 | +# define USE_PT_GNU_EH_FRAME 16 | #endif 17 | 18 | #if defined(USE_PT_GNU_EH_FRAME) 19 | -------------------------------------------------------------------------------- /patches/experimental/gcc/4.9.1/0007-musl_gomp-posix-time.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.9.1/libgomp/config/posix/time.c 2 | =================================================================== 3 | --- gcc-4.9.1.orig/libgomp/config/posix/time.c 4 | +++ gcc-4.9.1/libgomp/config/posix/time.c 5 | @@ -28,6 +28,8 @@ 6 | The following implementation uses the most simple POSIX routines. 7 | If present, POSIX 4 clocks should be used instead. */ 8 | 9 | +#define _POSIX_C_SOURCE 199309L /* for clocks */ 10 | + 11 | #include "libgomp.h" 12 | #include 13 | #if TIME_WITH_SYS_TIME 14 | -------------------------------------------------------------------------------- /patches/gcc/3.4.6/200-all_sh-no-reorder-blocks.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-3.4.6.orig/gcc/config/sh/sh.h gcc-3.4.6/gcc/config/sh/sh.h 2 | --- gcc-3.4.6.orig/gcc/config/sh/sh.h 2006-01-12 02:20:32.000000000 +0100 3 | +++ gcc-3.4.6/gcc/config/sh/sh.h 2007-08-15 23:03:09.000000000 +0200 4 | @@ -422,6 +422,10 @@ 5 | do { \ 6 | if (LEVEL) \ 7 | flag_omit_frame_pointer = -1; \ 8 | + if (LEVEL <= 2) \ 9 | + { \ 10 | + flag_reorder_blocks = 0; \ 11 | + } \ 12 | if (SIZE) \ 13 | target_flags |= SPACE_BIT; \ 14 | if (TARGET_SHMEDIA && LEVEL > 1) \ 15 | -------------------------------------------------------------------------------- /patches/gcc/3.4.6/230-powerpc-libc_stack_end-uclibc.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-3.4.6.orig/gcc/config/rs6000/linux-unwind.h gcc-3.4.6/gcc/config/rs6000/linux-unwind.h 2 | --- gcc-3.4.6.orig/gcc/config/rs6000/linux-unwind.h 2005-03-17 11:41:18.000000000 +0100 3 | +++ gcc-3.4.6/gcc/config/rs6000/linux-unwind.h 2007-08-15 23:07:00.000000000 +0200 4 | @@ -32,6 +32,7 @@ 5 | these structs elsewhere; Many fields are missing, particularly 6 | from the end of the structures. */ 7 | 8 | +#ifndef inhibit_libc 9 | struct gcc_vregs 10 | { 11 | __attribute__ ((vector_size (16))) int vr[32]; 12 | @@ -320,3 +321,4 @@ 13 | \ 14 | goto SUCCESS; \ 15 | } while (0) 16 | +#endif 17 | -------------------------------------------------------------------------------- /patches/gcc/3.4.6/240-mips-xgot.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-3.4.6.orig/gcc/config/mips/t-linux gcc-3.4.6/gcc/config/mips/t-linux 2 | --- gcc-3.4.6.orig/gcc/config/mips/t-linux 1970-01-01 01:00:00.000000000 +0100 3 | +++ gcc-3.4.6/gcc/config/mips/t-linux 2007-08-15 23:08:15.000000000 +0200 4 | @@ -0,0 +1,3 @@ 5 | +# Compile crtbegin/end with xgot so it works for both 6 | +# normal and large GOTs. 7 | +CRTSTUFF_T_CFLAGS = -mxgot 8 | -------------------------------------------------------------------------------- /patches/gcc/4.0.4/130-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.0.0/boehm-gc/include/gc.h-orig 2005-04-28 22:28:57.000000000 -0500 2 | +++ gcc-4.0.0/boehm-gc/include/gc.h 2005-04-28 22:30:38.000000000 -0500 3 | @@ -500,7 +500,7 @@ 4 | #ifdef __linux__ 5 | # include 6 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 7 | - && !defined(__ia64__) 8 | + && !defined(__ia64__) && !defined(__UCLIBC__) 9 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 10 | # define GC_HAVE_BUILTIN_BACKTRACE 11 | # endif 12 | -------------------------------------------------------------------------------- /patches/gcc/4.0.4/140-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h-orig 2005-04-29 00:08:41.000000000 -0500 2 | +++ gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h 2005-04-29 00:08:45.000000000 -0500 3 | @@ -142,7 +142,7 @@ 4 | using ::vsprintf; 5 | } 6 | 7 | -#if _GLIBCXX_USE_C99 8 | +#if _GLIBCXX_USE_C99 || defined(__UCLIBC__) 9 | 10 | #undef snprintf 11 | #undef vfscanf 12 | -------------------------------------------------------------------------------- /patches/gcc/4.0.4/150-c99-complex-ugly-hack.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.0.0/libstdc++-v3/configure-old 2005-04-30 22:04:48.061603912 -0500 2 | +++ gcc-4.0.0/libstdc++-v3/configure 2005-04-30 22:06:13.678588152 -0500 3 | @@ -7194,6 +7194,9 @@ 4 | cat >>conftest.$ac_ext <<_ACEOF 5 | /* end confdefs.h. */ 6 | #include 7 | +#ifdef __UCLIBC__ 8 | +#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs 9 | +#endif 10 | int 11 | main () 12 | { 13 | -------------------------------------------------------------------------------- /patches/gcc/4.0.4/200-arm-softfloat.patch: -------------------------------------------------------------------------------- 1 | Enable building a pure soft-float compiler without the need for a software 2 | floating point library. 3 | 4 | diff -dur gcc-4.0.4.orig/gcc/config.gcc gcc-4.0.4/gcc/config.gcc 5 | --- gcc-4.0.4.orig/gcc/config.gcc 2007-02-02 19:12:28.000000000 +0100 6 | +++ gcc-4.0.4/gcc/config.gcc 2007-02-02 19:12:07.000000000 +0100 7 | @@ -677,7 +677,7 @@ 8 | tm_defines="TARGET_BIG_ENDIAN_DEFAULT=1 $tm_defines" 9 | ;; 10 | esac 11 | - tmake_file="${tmake_file} arm/t-arm arm/t-linux" 12 | + tmake_file="${tmake_file} arm/t-arm arm/t-linux arm/t-arm-elf" 13 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" 14 | gnu_ld=yes 15 | ;; 16 | -------------------------------------------------------------------------------- /patches/gcc/4.1.2/140-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.1.2.orig/boehm-gc/include/gc.h 2005-01-02 04:35:57.000000000 +0100 2 | +++ gcc-4.1.2/boehm-gc/include/gc.h 2007-03-04 23:33:07.000000000 +0100 3 | @@ -500,7 +500,7 @@ 4 | #ifdef __linux__ 5 | # include 6 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 7 | - && !defined(__ia64__) 8 | + && !defined(__ia64__) && !defined(__UCLIBC__) 9 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 10 | # define GC_HAVE_BUILTIN_BACKTRACE 11 | # endif 12 | -------------------------------------------------------------------------------- /patches/gcc/4.1.2/150-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.1.2.orig/libstdc++-v3/include/c_std/std_cstdio.h 2005-10-30 23:21:50.000000000 +0100 2 | +++ gcc-4.1.2/libstdc++-v3/include/c_std/std_cstdio.h 2007-03-04 23:33:27.000000000 +0100 3 | @@ -143,7 +143,7 @@ 4 | using ::vsprintf; 5 | } 6 | 7 | -#if _GLIBCXX_USE_C99 8 | +#if _GLIBCXX_USE_C99 || defined(__UCLIBC__) 9 | 10 | #undef snprintf 11 | #undef vfscanf 12 | -------------------------------------------------------------------------------- /patches/gcc/4.1.2/160-c99-complex-ugly-hack.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.1.2.orig/libstdc++-v3/configure 2007-03-04 23:32:31.000000000 +0100 2 | +++ gcc-4.1.2/libstdc++-v3/configure 2007-03-04 23:33:54.000000000 +0100 3 | @@ -7324,6 +7324,9 @@ 4 | cat >>conftest.$ac_ext <<_ACEOF 5 | /* end confdefs.h. */ 6 | #include 7 | +#ifdef __UCLIBC__ 8 | +#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs 9 | +#endif 10 | int 11 | main () 12 | { 13 | -------------------------------------------------------------------------------- /patches/gcc/4.1.2/180-libbackend_dep_gcov-iov.h.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.1.2.orig/gcc/Makefile.in 2006-11-01 15:40:44.000000000 +0100 2 | +++ gcc-4.1.2/gcc/Makefile.in 2007-03-04 23:34:32.000000000 +0100 3 | @@ -2522,7 +2522,7 @@ 4 | # FIXME: writing proper dependencies for this is a *LOT* of work. 5 | libbackend.o : $(OBJS-common:.o=.c) $(out_file) \ 6 | insn-config.h insn-flags.h insn-codes.h insn-constants.h \ 7 | - insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) 8 | + insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) gcov-iov.h 9 | $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \ 10 | -DTARGET_NAME=\"$(target_noncanonical)\" \ 11 | -DLOCALEDIR=\"$(localedir)\" \ 12 | -------------------------------------------------------------------------------- /patches/gcc/4.2.0/110-uclibc-conf-noupstream.patch: -------------------------------------------------------------------------------- 1 | --- gcc/gcc/config.gcc.uclibc100-sh~ 2006-03-06 20:46:56 +0100 2 | +++ gcc/gcc/config.gcc 2006-03-10 15:02:41 +0100 3 | @@ -1905,7 +1905,7 @@ 4 | ;; 5 | sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \ 6 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \ 7 | - sh-*-linux* | sh[346lbe]*-*-linux* | \ 8 | + sh*-*-linux* | sh[346lbe]*-*-linux* | \ 9 | sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \ 10 | sh64-*-netbsd* | sh64l*-*-netbsd*) 11 | tmake_file="${tmake_file} sh/t-sh sh/t-elf" 12 | -------------------------------------------------------------------------------- /patches/gcc/4.2.0/170-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.0.0/boehm-gc/include/gc.h-orig 2005-04-28 22:28:57.000000000 -0500 2 | +++ gcc-4.0.0/boehm-gc/include/gc.h 2005-04-28 22:30:38.000000000 -0500 3 | @@ -500,7 +500,7 @@ 4 | #ifdef __linux__ 5 | # include 6 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 7 | - && !defined(__ia64__) 8 | + && !defined(__ia64__) && !defined(__UCLIBC__) 9 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 10 | # define GC_HAVE_BUILTIN_BACKTRACE 11 | # endif 12 | -------------------------------------------------------------------------------- /patches/gcc/4.2.0/180-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.2.0.orig/libstdc++-v3/include/c_std/std_cstdio.h 2006-12-07 10:33:51.000000000 +0100 2 | +++ gcc-4.2.0/libstdc++-v3/include/c_std/std_cstdio.h 2007-05-20 01:05:38.000000000 +0200 3 | @@ -144,7 +144,7 @@ 4 | 5 | _GLIBCXX_END_NAMESPACE 6 | 7 | -#if _GLIBCXX_USE_C99 8 | +#if _GLIBCXX_USE_C99 || defined(__UCLIBC__) 9 | 10 | #undef snprintf 11 | #undef vfscanf 12 | -------------------------------------------------------------------------------- /patches/gcc/4.2.0/190-c99-complex-ugly-hack.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.0.0/libstdc++-v3/configure-old 2005-04-30 22:04:48.061603912 -0500 2 | +++ gcc-4.0.0/libstdc++-v3/configure 2005-04-30 22:06:13.678588152 -0500 3 | @@ -7194,6 +7194,9 @@ 4 | cat >>conftest.$ac_ext <<_ACEOF 5 | /* end confdefs.h. */ 6 | #include 7 | +#ifdef __UCLIBC__ 8 | +#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs 9 | +#endif 10 | int 11 | main () 12 | { 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.0/230-libbackend_dep_gcov-iov.h.patch: -------------------------------------------------------------------------------- 1 | Index: gcc-4.2/gcc/Makefile.in 2 | =================================================================== 3 | --- gcc-4.2/gcc/Makefile.in (revision 121758) 4 | +++ gcc-4.2/gcc/Makefile.in (working copy) 5 | @@ -2658,7 +2658,7 @@ mips-tdump.o : mips-tdump.c $(CONFIG_H) 6 | # FIXME: writing proper dependencies for this is a *LOT* of work. 7 | libbackend.o : $(OBJS-common:.o=.c) $(out_file) \ 8 | insn-config.h insn-flags.h insn-codes.h insn-constants.h \ 9 | - insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) 10 | + insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) gcov-iov.h 11 | $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \ 12 | -DTARGET_NAME=\"$(target_noncanonical)\" \ 13 | -DLOCALEDIR=\"$(localedir)\" \ 14 | -------------------------------------------------------------------------------- /patches/gcc/4.2.1/110-uclibc-conf-noupstream.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/gcc/config.gcc gcc-4.2.1/gcc/config.gcc 2 | --- gcc-4.2.1.orig/gcc/config.gcc 2007-02-03 06:25:20.000000000 +0100 3 | +++ gcc-4.2.1/gcc/config.gcc 2007-08-03 20:29:52.000000000 +0200 4 | @@ -1964,7 +1964,7 @@ 5 | ;; 6 | sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \ 7 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \ 8 | - sh-*-linux* | sh[346lbe]*-*-linux* | \ 9 | + sh*-*-linux* | sh[346lbe]*-*-linux* | \ 10 | sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \ 11 | sh64-*-netbsd* | sh64l*-*-netbsd*) 12 | tmake_file="${tmake_file} sh/t-sh sh/t-elf" 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.1/170-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/boehm-gc/include/gc.h gcc-4.2.1/boehm-gc/include/gc.h 2 | --- gcc-4.2.1.orig/boehm-gc/include/gc.h 2006-09-18 20:45:08.000000000 +0200 3 | +++ gcc-4.2.1/boehm-gc/include/gc.h 2007-08-03 20:33:00.000000000 +0200 4 | @@ -502,7 +502,7 @@ 5 | #if defined(__linux__) || defined(__GLIBC__) 6 | # include 7 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 8 | - && !defined(__ia64__) 9 | + && !defined(__ia64__) && !defined(__UCLIBC__) 10 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 11 | # define GC_HAVE_BUILTIN_BACKTRACE 12 | # endif 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.1/180-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/libstdc++-v3/include/c_std/std_cstdio.h gcc-4.2.1/libstdc++-v3/include/c_std/std_cstdio.h 2 | --- gcc-4.2.1.orig/libstdc++-v3/include/c_std/std_cstdio.h 2006-12-07 10:33:51.000000000 +0100 3 | +++ gcc-4.2.1/libstdc++-v3/include/c_std/std_cstdio.h 2007-08-03 20:33:24.000000000 +0200 4 | @@ -144,7 +144,7 @@ 5 | 6 | _GLIBCXX_END_NAMESPACE 7 | 8 | -#if _GLIBCXX_USE_C99 9 | +#if _GLIBCXX_USE_C99 || defined(__UCLIBC__) 10 | 11 | #undef snprintf 12 | #undef vfscanf 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.1/190-c99-complex-ugly-hack.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/libstdc++-v3/configure gcc-4.2.1/libstdc++-v3/configure 2 | --- gcc-4.2.1.orig/libstdc++-v3/configure 2007-08-03 20:30:21.000000000 +0200 3 | +++ gcc-4.2.1/libstdc++-v3/configure 2007-08-03 20:33:56.000000000 +0200 4 | @@ -7514,6 +7514,9 @@ 5 | cat >>conftest.$ac_ext <<_ACEOF 6 | /* end confdefs.h. */ 7 | #include 8 | +#ifdef __UCLIBC__ 9 | +#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs 10 | +#endif 11 | int 12 | main () 13 | { 14 | -------------------------------------------------------------------------------- /patches/gcc/4.2.1/230-libbackend_dep_gcov-iov.h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/gcc/Makefile.in gcc-4.2.1/gcc/Makefile.in 2 | --- gcc-4.2.1.orig/gcc/Makefile.in 2007-05-31 17:37:38.000000000 +0200 3 | +++ gcc-4.2.1/gcc/Makefile.in 2007-08-03 20:36:14.000000000 +0200 4 | @@ -2660,7 +2660,7 @@ 5 | # FIXME: writing proper dependencies for this is a *LOT* of work. 6 | libbackend.o : $(OBJS-common:.o=.c) $(out_file) \ 7 | insn-config.h insn-flags.h insn-codes.h insn-constants.h \ 8 | - insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) 9 | + insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) gcov-iov.h 10 | $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \ 11 | -DTARGET_NAME=\"$(target_noncanonical)\" \ 12 | -DLOCALEDIR=\"$(localedir)\" \ 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.2/110-uclibc-conf-noupstream.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/gcc/config.gcc gcc-4.2.1/gcc/config.gcc 2 | --- gcc-4.2.1.orig/gcc/config.gcc 2007-02-03 06:25:20.000000000 +0100 3 | +++ gcc-4.2.1/gcc/config.gcc 2007-08-03 20:29:52.000000000 +0200 4 | @@ -1964,7 +1964,7 @@ 5 | ;; 6 | sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \ 7 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \ 8 | - sh-*-linux* | sh[346lbe]*-*-linux* | \ 9 | + sh*-*-linux* | sh[346lbe]*-*-linux* | \ 10 | sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \ 11 | sh64-*-netbsd* | sh64l*-*-netbsd*) 12 | tmake_file="${tmake_file} sh/t-sh sh/t-elf" 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.2/170-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/boehm-gc/include/gc.h gcc-4.2.1/boehm-gc/include/gc.h 2 | --- gcc-4.2.1.orig/boehm-gc/include/gc.h 2006-09-18 20:45:08.000000000 +0200 3 | +++ gcc-4.2.1/boehm-gc/include/gc.h 2007-08-03 20:33:00.000000000 +0200 4 | @@ -502,7 +502,7 @@ 5 | #if defined(__linux__) || defined(__GLIBC__) 6 | # include 7 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 8 | - && !defined(__ia64__) 9 | + && !defined(__ia64__) && !defined(__UCLIBC__) 10 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 11 | # define GC_HAVE_BUILTIN_BACKTRACE 12 | # endif 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.2/180-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/libstdc++-v3/include/c_std/std_cstdio.h gcc-4.2.1/libstdc++-v3/include/c_std/std_cstdio.h 2 | --- gcc-4.2.1.orig/libstdc++-v3/include/c_std/std_cstdio.h 2006-12-07 10:33:51.000000000 +0100 3 | +++ gcc-4.2.1/libstdc++-v3/include/c_std/std_cstdio.h 2007-08-03 20:33:24.000000000 +0200 4 | @@ -144,7 +144,7 @@ 5 | 6 | _GLIBCXX_END_NAMESPACE 7 | 8 | -#if _GLIBCXX_USE_C99 9 | +#if _GLIBCXX_USE_C99 || defined(__UCLIBC__) 10 | 11 | #undef snprintf 12 | #undef vfscanf 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.2/190-c99-complex-ugly-hack.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/libstdc++-v3/configure gcc-4.2.1/libstdc++-v3/configure 2 | --- gcc-4.2.1.orig/libstdc++-v3/configure 2007-08-03 20:30:21.000000000 +0200 3 | +++ gcc-4.2.1/libstdc++-v3/configure 2007-08-03 20:33:56.000000000 +0200 4 | @@ -7514,6 +7514,9 @@ 5 | cat >>conftest.$ac_ext <<_ACEOF 6 | /* end confdefs.h. */ 7 | #include 8 | +#ifdef __UCLIBC__ 9 | +#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs 10 | +#endif 11 | int 12 | main () 13 | { 14 | -------------------------------------------------------------------------------- /patches/gcc/4.2.2/230-libbackend_dep_gcov-iov.h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/gcc/Makefile.in gcc-4.2.1/gcc/Makefile.in 2 | --- gcc-4.2.1.orig/gcc/Makefile.in 2007-05-31 17:37:38.000000000 +0200 3 | +++ gcc-4.2.1/gcc/Makefile.in 2007-08-03 20:36:14.000000000 +0200 4 | @@ -2660,7 +2660,7 @@ 5 | # FIXME: writing proper dependencies for this is a *LOT* of work. 6 | libbackend.o : $(OBJS-common:.o=.c) $(out_file) \ 7 | insn-config.h insn-flags.h insn-codes.h insn-constants.h \ 8 | - insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) 9 | + insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) gcov-iov.h 10 | $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \ 11 | -DTARGET_NAME=\"$(target_noncanonical)\" \ 12 | -DLOCALEDIR=\"$(localedir)\" \ 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.2/300-avr32-atmel-v1.1.3.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/esp8266/crosstool-NG/69ddd7276ebb4f80d51b51fb28a2a08be4528b48/patches/gcc/4.2.2/300-avr32-atmel-v1.1.3.patch -------------------------------------------------------------------------------- /patches/gcc/4.2.3/110-uclibc-conf-noupstream.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/gcc/config.gcc gcc-4.2.1/gcc/config.gcc 2 | --- gcc-4.2.1.orig/gcc/config.gcc 2007-02-03 06:25:20.000000000 +0100 3 | +++ gcc-4.2.1/gcc/config.gcc 2007-08-03 20:29:52.000000000 +0200 4 | @@ -1964,7 +1964,7 @@ 5 | ;; 6 | sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \ 7 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \ 8 | - sh-*-linux* | sh[346lbe]*-*-linux* | \ 9 | + sh*-*-linux* | sh[346lbe]*-*-linux* | \ 10 | sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \ 11 | sh64-*-netbsd* | sh64l*-*-netbsd*) 12 | tmake_file="${tmake_file} sh/t-sh sh/t-elf" 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.3/170-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/boehm-gc/include/gc.h gcc-4.2.1/boehm-gc/include/gc.h 2 | --- gcc-4.2.1.orig/boehm-gc/include/gc.h 2006-09-18 20:45:08.000000000 +0200 3 | +++ gcc-4.2.1/boehm-gc/include/gc.h 2007-08-03 20:33:00.000000000 +0200 4 | @@ -502,7 +502,7 @@ 5 | #if defined(__linux__) || defined(__GLIBC__) 6 | # include 7 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 8 | - && !defined(__ia64__) 9 | + && !defined(__ia64__) && !defined(__UCLIBC__) 10 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 11 | # define GC_HAVE_BUILTIN_BACKTRACE 12 | # endif 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.3/180-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/libstdc++-v3/include/c_std/std_cstdio.h gcc-4.2.1/libstdc++-v3/include/c_std/std_cstdio.h 2 | --- gcc-4.2.1.orig/libstdc++-v3/include/c_std/std_cstdio.h 2006-12-07 10:33:51.000000000 +0100 3 | +++ gcc-4.2.1/libstdc++-v3/include/c_std/std_cstdio.h 2007-08-03 20:33:24.000000000 +0200 4 | @@ -144,7 +144,7 @@ 5 | 6 | _GLIBCXX_END_NAMESPACE 7 | 8 | -#if _GLIBCXX_USE_C99 9 | +#if _GLIBCXX_USE_C99 || defined(__UCLIBC__) 10 | 11 | #undef snprintf 12 | #undef vfscanf 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.3/190-c99-complex-ugly-hack.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/libstdc++-v3/configure gcc-4.2.1/libstdc++-v3/configure 2 | --- gcc-4.2.1.orig/libstdc++-v3/configure 2007-08-03 20:30:21.000000000 +0200 3 | +++ gcc-4.2.1/libstdc++-v3/configure 2007-08-03 20:33:56.000000000 +0200 4 | @@ -7514,6 +7514,9 @@ 5 | cat >>conftest.$ac_ext <<_ACEOF 6 | /* end confdefs.h. */ 7 | #include 8 | +#ifdef __UCLIBC__ 9 | +#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs 10 | +#endif 11 | int 12 | main () 13 | { 14 | -------------------------------------------------------------------------------- /patches/gcc/4.2.3/230-libbackend_dep_gcov-iov.h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/gcc/Makefile.in gcc-4.2.1/gcc/Makefile.in 2 | --- gcc-4.2.1.orig/gcc/Makefile.in 2007-05-31 17:37:38.000000000 +0200 3 | +++ gcc-4.2.1/gcc/Makefile.in 2007-08-03 20:36:14.000000000 +0200 4 | @@ -2660,7 +2660,7 @@ 5 | # FIXME: writing proper dependencies for this is a *LOT* of work. 6 | libbackend.o : $(OBJS-common:.o=.c) $(out_file) \ 7 | insn-config.h insn-flags.h insn-codes.h insn-constants.h \ 8 | - insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) 9 | + insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) gcov-iov.h 10 | $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \ 11 | -DTARGET_NAME=\"$(target_noncanonical)\" \ 12 | -DLOCALEDIR=\"$(localedir)\" \ 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.3/280-eabi_fixes.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.3.orig/gcc/config/arm/linux-eabi.h gcc-4.2.3/gcc/config/arm/linux-eabi.h 2 | --- gcc-4.2.3.orig/gcc/config/arm/linux-eabi.h 2007-09-01 17:28:30.000000000 +0200 3 | +++ gcc-4.2.3/gcc/config/arm/linux-eabi.h 2008-05-25 23:47:36.000000000 +0200 4 | @@ -47,7 +47,8 @@ 5 | #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 6 | 7 | #undef SUBTARGET_EXTRA_LINK_SPEC 8 | -#define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux_eabi" 9 | +#define SUBTARGET_EXTRA_LINK_SPEC \ 10 | + " %{mlittle-endian:-m armelf_linux_eabi} %{mbig-endian:-m armelfb_linux_eabi}" 11 | 12 | /* Use ld-linux.so.3 so that it will be possible to run "classic" 13 | GNU/Linux binaries on an EABI system. */ 14 | -------------------------------------------------------------------------------- /patches/gcc/4.2.4/110-uclibc-conf-noupstream.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/gcc/config.gcc gcc-4.2.1/gcc/config.gcc 2 | --- gcc-4.2.1.orig/gcc/config.gcc 2007-02-03 06:25:20.000000000 +0100 3 | +++ gcc-4.2.1/gcc/config.gcc 2007-08-03 20:29:52.000000000 +0200 4 | @@ -1964,7 +1964,7 @@ 5 | ;; 6 | sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \ 7 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \ 8 | - sh-*-linux* | sh[346lbe]*-*-linux* | \ 9 | + sh*-*-linux* | sh[346lbe]*-*-linux* | \ 10 | sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \ 11 | sh64-*-netbsd* | sh64l*-*-netbsd*) 12 | tmake_file="${tmake_file} sh/t-sh sh/t-elf" 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.4/170-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/boehm-gc/include/gc.h gcc-4.2.1/boehm-gc/include/gc.h 2 | --- gcc-4.2.1.orig/boehm-gc/include/gc.h 2006-09-18 20:45:08.000000000 +0200 3 | +++ gcc-4.2.1/boehm-gc/include/gc.h 2007-08-03 20:33:00.000000000 +0200 4 | @@ -502,7 +502,7 @@ 5 | #if defined(__linux__) || defined(__GLIBC__) 6 | # include 7 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 8 | - && !defined(__ia64__) 9 | + && !defined(__ia64__) && !defined(__UCLIBC__) 10 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 11 | # define GC_HAVE_BUILTIN_BACKTRACE 12 | # endif 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.4/180-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/libstdc++-v3/include/c_std/std_cstdio.h gcc-4.2.1/libstdc++-v3/include/c_std/std_cstdio.h 2 | --- gcc-4.2.1.orig/libstdc++-v3/include/c_std/std_cstdio.h 2006-12-07 10:33:51.000000000 +0100 3 | +++ gcc-4.2.1/libstdc++-v3/include/c_std/std_cstdio.h 2007-08-03 20:33:24.000000000 +0200 4 | @@ -144,7 +144,7 @@ 5 | 6 | _GLIBCXX_END_NAMESPACE 7 | 8 | -#if _GLIBCXX_USE_C99 9 | +#if _GLIBCXX_USE_C99 || defined(__UCLIBC__) 10 | 11 | #undef snprintf 12 | #undef vfscanf 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.4/190-c99-complex-ugly-hack.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/libstdc++-v3/configure gcc-4.2.1/libstdc++-v3/configure 2 | --- gcc-4.2.1.orig/libstdc++-v3/configure 2007-08-03 20:30:21.000000000 +0200 3 | +++ gcc-4.2.1/libstdc++-v3/configure 2007-08-03 20:33:56.000000000 +0200 4 | @@ -7514,6 +7514,9 @@ 5 | cat >>conftest.$ac_ext <<_ACEOF 6 | /* end confdefs.h. */ 7 | #include 8 | +#ifdef __UCLIBC__ 9 | +#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs 10 | +#endif 11 | int 12 | main () 13 | { 14 | -------------------------------------------------------------------------------- /patches/gcc/4.2.4/230-libbackend_dep_gcov-iov.h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.1.orig/gcc/Makefile.in gcc-4.2.1/gcc/Makefile.in 2 | --- gcc-4.2.1.orig/gcc/Makefile.in 2007-05-31 17:37:38.000000000 +0200 3 | +++ gcc-4.2.1/gcc/Makefile.in 2007-08-03 20:36:14.000000000 +0200 4 | @@ -2660,7 +2660,7 @@ 5 | # FIXME: writing proper dependencies for this is a *LOT* of work. 6 | libbackend.o : $(OBJS-common:.o=.c) $(out_file) \ 7 | insn-config.h insn-flags.h insn-codes.h insn-constants.h \ 8 | - insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) 9 | + insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) gcov-iov.h 10 | $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \ 11 | -DTARGET_NAME=\"$(target_noncanonical)\" \ 12 | -DLOCALEDIR=\"$(localedir)\" \ 13 | -------------------------------------------------------------------------------- /patches/gcc/4.2.4/280-eabi_fixes.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.2.3.orig/gcc/config/arm/linux-eabi.h gcc-4.2.3/gcc/config/arm/linux-eabi.h 2 | --- gcc-4.2.3.orig/gcc/config/arm/linux-eabi.h 2007-09-01 17:28:30.000000000 +0200 3 | +++ gcc-4.2.3/gcc/config/arm/linux-eabi.h 2008-05-25 23:47:36.000000000 +0200 4 | @@ -47,7 +47,8 @@ 5 | #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 6 | 7 | #undef SUBTARGET_EXTRA_LINK_SPEC 8 | -#define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux_eabi" 9 | +#define SUBTARGET_EXTRA_LINK_SPEC \ 10 | + " %{mlittle-endian:-m armelf_linux_eabi} %{mbig-endian:-m armelfb_linux_eabi}" 11 | 12 | /* Use ld-linux.so.3 so that it will be possible to run "classic" 13 | GNU/Linux binaries on an EABI system. */ 14 | -------------------------------------------------------------------------------- /patches/gcc/4.3.1/140-netbsd-symbolic.patch: -------------------------------------------------------------------------------- 1 | Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/11_all_gcc-netbsd-symbolic.patch 2 | http://bugs.gentoo.org/122698 3 | 4 | diff -durN gcc-4.3.1.orig/gcc/config/netbsd-elf.h gcc-4.3.1/gcc/config/netbsd-elf.h 5 | --- gcc-4.3.1.orig/gcc/config/netbsd-elf.h 2007-09-03 18:14:04.000000000 +0200 6 | +++ gcc-4.3.1/gcc/config/netbsd-elf.h 2008-06-10 14:57:48.000000000 +0200 7 | @@ -82,6 +82,7 @@ 8 | #define NETBSD_LINK_SPEC_ELF \ 9 | "%{assert*} %{R*} %{rpath*} \ 10 | %{shared:-shared} \ 11 | + %{symbolic:-Bsymbolic} \ 12 | %{!shared: \ 13 | -dc -dp \ 14 | %{!nostdlib: \ 15 | -------------------------------------------------------------------------------- /patches/gcc/4.3.1/170-libiberty-pic.patch: -------------------------------------------------------------------------------- 1 | Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/51_all_gcc-3.4-libiberty-pic.patch 2 | diff -durN gcc-4.3.1.orig/libiberty/Makefile.in gcc-4.3.1/libiberty/Makefile.in 3 | --- gcc-4.3.1.orig/libiberty/Makefile.in 2007-07-25 08:26:45.000000000 +0200 4 | +++ gcc-4.3.1/libiberty/Makefile.in 2008-06-10 14:58:02.000000000 +0200 5 | @@ -225,6 +225,7 @@ 6 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ 7 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 8 | $(RANLIB) $(TARGETLIB); \ 9 | + cp $(TARGETLIB) ../ ; \ 10 | cd ..; \ 11 | else true; fi 12 | 13 | -------------------------------------------------------------------------------- /patches/gcc/4.3.1/270-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/uclibc/90_all_301-missing-execinfo_h.patch 2 | diff -durN gcc-4.3.1.orig/boehm-gc/include/gc.h gcc-4.3.1/boehm-gc/include/gc.h 3 | --- gcc-4.3.1.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 4 | +++ gcc-4.3.1/boehm-gc/include/gc.h 2008-06-10 14:58:54.000000000 +0200 5 | @@ -503,7 +503,7 @@ 6 | #if defined(__linux__) || defined(__GLIBC__) 7 | # include 8 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 9 | - && !defined(__ia64__) 10 | + && !defined(__ia64__) && !defined(__UCLIBC__) 11 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 12 | # define GC_HAVE_BUILTIN_BACKTRACE 13 | # endif 14 | -------------------------------------------------------------------------------- /patches/gcc/4.3.1/280-c99-complex-ugly-hack.patch: -------------------------------------------------------------------------------- 1 | Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/uclibc/90_all_303-c99-complex-ugly-hack.patch 2 | diff -durN gcc-4.3.1.orig/libstdc++-v3/configure gcc-4.3.1/libstdc++-v3/configure 3 | --- gcc-4.3.1.orig/libstdc++-v3/configure 2008-06-10 14:58:43.000000000 +0200 4 | +++ gcc-4.3.1/libstdc++-v3/configure 2008-06-10 14:58:58.000000000 +0200 5 | @@ -39006,6 +39006,9 @@ 6 | cat >>conftest.$ac_ext <<_ACEOF 7 | /* end confdefs.h. */ 8 | #include 9 | +#ifdef __UCLIBC__ 10 | +#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs 11 | +#endif 12 | int 13 | main () 14 | { 15 | -------------------------------------------------------------------------------- /patches/gcc/4.3.1/360-unbreak-armv4t.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.2.orig/gcc/config/arm/linux-eabi.h 2009-09-08 23:46:44.000000000 +0200 2 | +++ gcc-4.3.2/gcc/config/arm/linux-eabi.h 2009-09-08 23:46:51.000000000 +0200 3 | @@ -44,7 +44,7 @@ 4 | The ARM10TDMI core is the default for armv5t, so set 5 | SUBTARGET_CPU_DEFAULT to achieve this. */ 6 | #undef SUBTARGET_CPU_DEFAULT 7 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 8 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi 9 | 10 | /* TARGET_BIG_ENDIAN_DEFAULT is set in 11 | config.gcc for big endian configurations. */ 12 | -------------------------------------------------------------------------------- /patches/gcc/4.3.2/140-netbsd-symbolic.patch: -------------------------------------------------------------------------------- 1 | Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/11_all_gcc-netbsd-symbolic.patch 2 | http://bugs.gentoo.org/122698 3 | 4 | diff -durN gcc-4.3.1.orig/gcc/config/netbsd-elf.h gcc-4.3.1/gcc/config/netbsd-elf.h 5 | --- gcc-4.3.1.orig/gcc/config/netbsd-elf.h 2007-09-03 18:14:04.000000000 +0200 6 | +++ gcc-4.3.1/gcc/config/netbsd-elf.h 2008-06-10 14:57:48.000000000 +0200 7 | @@ -82,6 +82,7 @@ 8 | #define NETBSD_LINK_SPEC_ELF \ 9 | "%{assert*} %{R*} %{rpath*} \ 10 | %{shared:-shared} \ 11 | + %{symbolic:-Bsymbolic} \ 12 | %{!shared: \ 13 | -dc -dp \ 14 | %{!nostdlib: \ 15 | -------------------------------------------------------------------------------- /patches/gcc/4.3.2/170-libiberty-pic.patch: -------------------------------------------------------------------------------- 1 | Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/51_all_gcc-3.4-libiberty-pic.patch 2 | diff -durN gcc-4.3.1.orig/libiberty/Makefile.in gcc-4.3.1/libiberty/Makefile.in 3 | --- gcc-4.3.1.orig/libiberty/Makefile.in 2007-07-25 08:26:45.000000000 +0200 4 | +++ gcc-4.3.1/libiberty/Makefile.in 2008-06-10 14:58:02.000000000 +0200 5 | @@ -225,6 +225,7 @@ 6 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ 7 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 8 | $(RANLIB) $(TARGETLIB); \ 9 | + cp $(TARGETLIB) ../ ; \ 10 | cd ..; \ 11 | else true; fi 12 | 13 | -------------------------------------------------------------------------------- /patches/gcc/4.3.2/270-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/uclibc/90_all_301-missing-execinfo_h.patch 2 | diff -durN gcc-4.3.1.orig/boehm-gc/include/gc.h gcc-4.3.1/boehm-gc/include/gc.h 3 | --- gcc-4.3.1.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 4 | +++ gcc-4.3.1/boehm-gc/include/gc.h 2008-06-10 14:58:54.000000000 +0200 5 | @@ -503,7 +503,7 @@ 6 | #if defined(__linux__) || defined(__GLIBC__) 7 | # include 8 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 9 | - && !defined(__ia64__) 10 | + && !defined(__ia64__) && !defined(__UCLIBC__) 11 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 12 | # define GC_HAVE_BUILTIN_BACKTRACE 13 | # endif 14 | -------------------------------------------------------------------------------- /patches/gcc/4.3.2/280-c99-complex-ugly-hack.patch: -------------------------------------------------------------------------------- 1 | Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/uclibc/90_all_303-c99-complex-ugly-hack.patch 2 | diff -durN gcc-4.3.2.orig/libstdc++-v3/configure gcc-4.3.2/libstdc++-v3/configure 3 | --- gcc-4.3.2.orig/libstdc++-v3/configure 2008-07-07 21:49:54.000000000 +0200 4 | +++ gcc-4.3.2/libstdc++-v3/configure 2008-09-23 19:45:27.000000000 +0200 5 | @@ -38935,6 +38935,9 @@ 6 | cat >>conftest.$ac_ext <<_ACEOF 7 | /* end confdefs.h. */ 8 | #include 9 | +#ifdef __UCLIBC__ 10 | +#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs 11 | +#endif 12 | int 13 | main () 14 | { 15 | -------------------------------------------------------------------------------- /patches/gcc/4.3.2/370-sh-no-libc.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.3.2.orig/libgcc/config/sh/t-linux gcc-4.3.2/libgcc/config/sh/t-linux 2 | --- gcc-4.3.2.orig/libgcc/config/sh/t-linux 2009-03-07 11:42:38.000000000 +0100 3 | +++ gcc-4.3.2/libgcc/config/sh/t-linux 2009-03-07 11:03:39.000000000 +0100 4 | @@ -15,7 +15,7 @@ 5 | -Wl,--soname=@shlib_base_name@.so.1 \ 6 | -Wl,--version-script=@shlib_map_file@ \ 7 | -o @multilib_dir@/@shlib_base_name@.so.1.tmp @multilib_flags@ \ 8 | - @shlib_objs@ -lc && \ 9 | + @shlib_objs@ && \ 10 | rm -f @multilib_dir@/@shlib_base_name@.so && \ 11 | if [ -f @multilib_dir@/@shlib_base_name@.so.1 ]; then \ 12 | mv -f @multilib_dir@/@shlib_base_name@.so.1 \ 13 | -------------------------------------------------------------------------------- /patches/gcc/4.3.2/390-unbreak-armv4t.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.2.orig/gcc/config/arm/linux-eabi.h 2009-09-08 23:46:44.000000000 +0200 2 | +++ gcc-4.3.2/gcc/config/arm/linux-eabi.h 2009-09-08 23:46:51.000000000 +0200 3 | @@ -44,7 +44,7 @@ 4 | The ARM10TDMI core is the default for armv5t, so set 5 | SUBTARGET_CPU_DEFAULT to achieve this. */ 6 | #undef SUBTARGET_CPU_DEFAULT 7 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 8 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi 9 | 10 | /* TARGET_BIG_ENDIAN_DEFAULT is set in 11 | config.gcc for big endian configurations. */ 12 | -------------------------------------------------------------------------------- /patches/gcc/4.3.3/170-libiberty-pic.patch: -------------------------------------------------------------------------------- 1 | Original patch from: ../4.3.2/170-libiberty-pic.patch 2 | 3 | -= BEGIN original header =- 4 | Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/51_all_gcc-3.4-libiberty-pic.patch 5 | -= END original header =- 6 | 7 | diff -durN gcc-4.3.3.orig/libiberty/Makefile.in gcc-4.3.3/libiberty/Makefile.in 8 | --- gcc-4.3.3.orig/libiberty/Makefile.in 2007-07-25 08:26:45.000000000 +0200 9 | +++ gcc-4.3.3/libiberty/Makefile.in 2009-01-27 22:19:30.000000000 +0100 10 | @@ -225,6 +225,7 @@ 11 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ 12 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 13 | $(RANLIB) $(TARGETLIB); \ 14 | + cp $(TARGETLIB) ../ ; \ 15 | cd ..; \ 16 | else true; fi 17 | 18 | -------------------------------------------------------------------------------- /patches/gcc/4.3.3/390-unbreak-armv4t.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.2.orig/gcc/config/arm/linux-eabi.h 2009-09-08 23:46:44.000000000 +0200 2 | +++ gcc-4.3.2/gcc/config/arm/linux-eabi.h 2009-09-08 23:46:51.000000000 +0200 3 | @@ -44,7 +44,7 @@ 4 | The ARM10TDMI core is the default for armv5t, so set 5 | SUBTARGET_CPU_DEFAULT to achieve this. */ 6 | #undef SUBTARGET_CPU_DEFAULT 7 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 8 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi 9 | 10 | /* TARGET_BIG_ENDIAN_DEFAULT is set in 11 | config.gcc for big endian configurations. */ 12 | -------------------------------------------------------------------------------- /patches/gcc/4.3.4/170-libiberty-pic.patch: -------------------------------------------------------------------------------- 1 | Original patch from: ../4.3.2/170-libiberty-pic.patch 2 | 3 | -= BEGIN original header =- 4 | Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/51_all_gcc-3.4-libiberty-pic.patch 5 | -= END original header =- 6 | 7 | diff -durN gcc-4.3.3.orig/libiberty/Makefile.in gcc-4.3.3/libiberty/Makefile.in 8 | --- gcc-4.3.3.orig/libiberty/Makefile.in 2007-07-25 08:26:45.000000000 +0200 9 | +++ gcc-4.3.3/libiberty/Makefile.in 2009-01-27 22:19:30.000000000 +0100 10 | @@ -225,6 +225,7 @@ 11 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ 12 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 13 | $(RANLIB) $(TARGETLIB); \ 14 | + cp $(TARGETLIB) ../ ; \ 15 | cd ..; \ 16 | else true; fi 17 | 18 | -------------------------------------------------------------------------------- /patches/gcc/4.3.4/390-unbreak-armv4t.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.2.orig/gcc/config/arm/linux-eabi.h 2009-09-08 23:46:44.000000000 +0200 2 | +++ gcc-4.3.2/gcc/config/arm/linux-eabi.h 2009-09-08 23:46:51.000000000 +0200 3 | @@ -44,7 +44,7 @@ 4 | The ARM10TDMI core is the default for armv5t, so set 5 | SUBTARGET_CPU_DEFAULT to achieve this. */ 6 | #undef SUBTARGET_CPU_DEFAULT 7 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 8 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi 9 | 10 | /* TARGET_BIG_ENDIAN_DEFAULT is set in 11 | config.gcc for big endian configurations. */ 12 | -------------------------------------------------------------------------------- /patches/gcc/4.3.5/170-libiberty-pic.patch: -------------------------------------------------------------------------------- 1 | Original patch from: ../4.3.2/170-libiberty-pic.patch 2 | 3 | -= BEGIN original header =- 4 | Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/51_all_gcc-3.4-libiberty-pic.patch 5 | -= END original header =- 6 | 7 | diff -durN gcc-4.3.3.orig/libiberty/Makefile.in gcc-4.3.3/libiberty/Makefile.in 8 | --- gcc-4.3.3.orig/libiberty/Makefile.in 2007-07-25 08:26:45.000000000 +0200 9 | +++ gcc-4.3.3/libiberty/Makefile.in 2009-01-27 22:19:30.000000000 +0100 10 | @@ -225,6 +225,7 @@ 11 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ 12 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 13 | $(RANLIB) $(TARGETLIB); \ 14 | + cp $(TARGETLIB) ../ ; \ 15 | cd ..; \ 16 | else true; fi 17 | 18 | -------------------------------------------------------------------------------- /patches/gcc/4.3.5/390-unbreak-armv4t.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.2.orig/gcc/config/arm/linux-eabi.h 2009-09-08 23:46:44.000000000 +0200 2 | +++ gcc-4.3.2/gcc/config/arm/linux-eabi.h 2009-09-08 23:46:51.000000000 +0200 3 | @@ -44,7 +44,7 @@ 4 | The ARM10TDMI core is the default for armv5t, so set 5 | SUBTARGET_CPU_DEFAULT to achieve this. */ 6 | #undef SUBTARGET_CPU_DEFAULT 7 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 8 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi 9 | 10 | /* TARGET_BIG_ENDIAN_DEFAULT is set in 11 | config.gcc for big endian configurations. */ 12 | -------------------------------------------------------------------------------- /patches/gcc/4.3.5/410-pr42289-fix-libffi-build-on-arm-oabi.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.4/libffi/src/arm/sysv.S 2 | +++ gcc-4.3.4/libffi/src/arm/sysv.S 3 | @@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV 4 | stmfd sp!, {ip, lr} 5 | UNWIND .save {r0, lr} 6 | add r2, sp, #8 7 | - .pad #16 8 | + UNWIND .pad #16 9 | sub sp, sp, #16 10 | str sp, [sp, #8] 11 | add r1, sp, #8 12 | -------------------------------------------------------------------------------- /patches/gcc/4.3.6/170-libiberty-pic.patch: -------------------------------------------------------------------------------- 1 | Original patch from: ../4.3.2/170-libiberty-pic.patch 2 | 3 | -= BEGIN original header =- 4 | Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/51_all_gcc-3.4-libiberty-pic.patch 5 | -= END original header =- 6 | 7 | diff -durN gcc-4.3.3.orig/libiberty/Makefile.in gcc-4.3.3/libiberty/Makefile.in 8 | --- gcc-4.3.3.orig/libiberty/Makefile.in 2007-07-25 08:26:45.000000000 +0200 9 | +++ gcc-4.3.3/libiberty/Makefile.in 2009-01-27 22:19:30.000000000 +0100 10 | @@ -225,6 +225,7 @@ 11 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ 12 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 13 | $(RANLIB) $(TARGETLIB); \ 14 | + cp $(TARGETLIB) ../ ; \ 15 | cd ..; \ 16 | else true; fi 17 | 18 | -------------------------------------------------------------------------------- /patches/gcc/4.3.6/390-unbreak-armv4t.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.2.orig/gcc/config/arm/linux-eabi.h 2009-09-08 23:46:44.000000000 +0200 2 | +++ gcc-4.3.2/gcc/config/arm/linux-eabi.h 2009-09-08 23:46:51.000000000 +0200 3 | @@ -44,7 +44,7 @@ 4 | The ARM10TDMI core is the default for armv5t, so set 5 | SUBTARGET_CPU_DEFAULT to achieve this. */ 6 | #undef SUBTARGET_CPU_DEFAULT 7 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 8 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi 9 | 10 | /* TARGET_BIG_ENDIAN_DEFAULT is set in 11 | config.gcc for big endian configurations. */ 12 | -------------------------------------------------------------------------------- /patches/gcc/4.3.6/410-pr42289-fix-libffi-build-on-arm-oabi.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.4/libffi/src/arm/sysv.S 2 | +++ gcc-4.3.4/libffi/src/arm/sysv.S 3 | @@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV 4 | stmfd sp!, {ip, lr} 5 | UNWIND .save {r0, lr} 6 | add r2, sp, #8 7 | - .pad #16 8 | + UNWIND .pad #16 9 | sub sp, sp, #16 10 | str sp, [sp, #8] 11 | add r1, sp, #8 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.0/160-netbsd-symbolic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/gcc/config/netbsd-elf.h gcc-4.4.0/gcc/config/netbsd-elf.h 2 | --- gcc-4.4.0.orig/gcc/config/netbsd-elf.h 2007-09-03 18:14:04.000000000 +0200 3 | +++ gcc-4.4.0/gcc/config/netbsd-elf.h 2009-05-27 21:38:14.000000000 +0200 4 | @@ -82,6 +82,7 @@ 5 | #define NETBSD_LINK_SPEC_ELF \ 6 | "%{assert*} %{R*} %{rpath*} \ 7 | %{shared:-shared} \ 8 | + %{symbolic:-Bsymbolic} \ 9 | %{!shared: \ 10 | -dc -dp \ 11 | %{!nostdlib: \ 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.0/180-libgomp-no-werror.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/libgomp/configure gcc-4.4.0/libgomp/configure 2 | --- gcc-4.4.0.orig/libgomp/configure 2009-04-21 11:08:08.000000000 +0200 3 | +++ gcc-4.4.0/libgomp/configure 2009-05-27 21:38:19.000000000 +0200 4 | @@ -3334,7 +3334,7 @@ 5 | 6 | # Add -Wall -Werror if we are using GCC. 7 | if test "x$GCC" = "xyes"; then 8 | - XCFLAGS="$XCFLAGS -Wall -Werror" 9 | + XCFLAGS="$XCFLAGS -Wall" 10 | fi 11 | 12 | # Find other programs we need. 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.0/200-libiberty.h-asprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/include/libiberty.h gcc-4.4.0/include/libiberty.h 2 | --- gcc-4.4.0.orig/include/libiberty.h 2008-06-24 03:42:31.000000000 +0200 3 | +++ gcc-4.4.0/include/libiberty.h 2009-05-27 21:38:24.000000000 +0200 4 | @@ -595,8 +595,11 @@ 5 | /* Like sprintf but provides a pointer to malloc'd storage, which must 6 | be freed by the caller. */ 7 | 8 | +/* asprintf may be declared as a macro by glibc with __USE_FORTIFY_LEVEL. */ 9 | +#ifndef asprintf 10 | extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2; 11 | #endif 12 | +#endif 13 | 14 | #if !HAVE_DECL_VASPRINTF 15 | /* Like vsprintf but provides a pointer to malloc'd storage, which 16 | -------------------------------------------------------------------------------- /patches/gcc/4.4.0/210-arm-unbreak-armv4t.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h gcc-4.4.0/gcc/config/arm/linux-eabi.h 2 | --- gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h 2007-11-08 14:44:09.000000000 +0100 3 | +++ gcc-4.4.0/gcc/config/arm/linux-eabi.h 2009-05-27 21:38:26.000000000 +0200 4 | @@ -44,7 +44,7 @@ 5 | The ARM10TDMI core is the default for armv5t, so set 6 | SUBTARGET_CPU_DEFAULT to achieve this. */ 7 | #undef SUBTARGET_CPU_DEFAULT 8 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 9 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi 10 | 11 | /* TARGET_BIG_ENDIAN_DEFAULT is set in 12 | config.gcc for big endian configurations. */ 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.0/220-libiberty-pic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/libiberty/Makefile.in gcc-4.4.0/libiberty/Makefile.in 2 | --- gcc-4.4.0.orig/libiberty/Makefile.in 2008-10-22 15:30:19.000000000 +0200 3 | +++ gcc-4.4.0/libiberty/Makefile.in 2009-05-27 21:38:29.000000000 +0200 4 | @@ -227,6 +227,7 @@ 5 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ 6 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 7 | $(RANLIB) $(TARGETLIB); \ 8 | + cp $(TARGETLIB) ../ ; \ 9 | cd ..; \ 10 | else true; fi 11 | 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.0/320-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/boehm-gc/include/gc.h gcc-4.4.0/boehm-gc/include/gc.h 2 | --- gcc-4.4.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 3 | +++ gcc-4.4.0/boehm-gc/include/gc.h 2009-05-27 21:38:55.000000000 +0200 4 | @@ -503,7 +503,7 @@ 5 | #if defined(__linux__) || defined(__GLIBC__) 6 | # include 7 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 8 | - && !defined(__ia64__) 9 | + && !defined(__ia64__) && !defined(__UCLIBC__) 10 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 11 | # define GC_HAVE_BUILTIN_BACKTRACE 12 | # endif 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.0/330-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/libstdc++-v3/include/c_global/cstdio gcc-4.4.0/libstdc++-v3/include/c_global/cstdio 2 | --- gcc-4.4.0.orig/libstdc++-v3/include/c_global/cstdio 2009-04-10 01:23:07.000000000 +0200 3 | +++ gcc-4.4.0/libstdc++-v3/include/c_global/cstdio 2009-05-27 21:38:58.000000000 +0200 4 | @@ -139,7 +139,7 @@ 5 | 6 | _GLIBCXX_END_NAMESPACE 7 | 8 | -#if _GLIBCXX_USE_C99 9 | +#if _GLIBCXX_USE_C99 || defined __UCLIBC__ 10 | 11 | #undef snprintf 12 | #undef vfscanf 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.0/400-pr42289-fix-libffi-build-on-arm-oabi.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.4/libffi/src/arm/sysv.S 2 | +++ gcc-4.3.4/libffi/src/arm/sysv.S 3 | @@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV 4 | stmfd sp!, {ip, lr} 5 | UNWIND .save {r0, lr} 6 | add r2, sp, #8 7 | - .pad #16 8 | + UNWIND .pad #16 9 | sub sp, sp, #16 10 | str sp, [sp, #8] 11 | add r1, sp, #8 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.1/160-netbsd-symbolic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/gcc/config/netbsd-elf.h gcc-4.4.0/gcc/config/netbsd-elf.h 2 | --- gcc-4.4.0.orig/gcc/config/netbsd-elf.h 2007-09-03 18:14:04.000000000 +0200 3 | +++ gcc-4.4.0/gcc/config/netbsd-elf.h 2009-05-27 21:38:14.000000000 +0200 4 | @@ -82,6 +82,7 @@ 5 | #define NETBSD_LINK_SPEC_ELF \ 6 | "%{assert*} %{R*} %{rpath*} \ 7 | %{shared:-shared} \ 8 | + %{symbolic:-Bsymbolic} \ 9 | %{!shared: \ 10 | -dc -dp \ 11 | %{!nostdlib: \ 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.1/180-libgomp-no-werror.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/libgomp/configure gcc-4.4.0/libgomp/configure 2 | --- gcc-4.4.0.orig/libgomp/configure 2009-04-21 11:08:08.000000000 +0200 3 | +++ gcc-4.4.0/libgomp/configure 2009-05-27 21:38:19.000000000 +0200 4 | @@ -3334,7 +3334,7 @@ 5 | 6 | # Add -Wall -Werror if we are using GCC. 7 | if test "x$GCC" = "xyes"; then 8 | - XCFLAGS="$XCFLAGS -Wall -Werror" 9 | + XCFLAGS="$XCFLAGS -Wall" 10 | fi 11 | 12 | # Find other programs we need. 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.1/200-libiberty.h-asprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/include/libiberty.h gcc-4.4.0/include/libiberty.h 2 | --- gcc-4.4.0.orig/include/libiberty.h 2008-06-24 03:42:31.000000000 +0200 3 | +++ gcc-4.4.0/include/libiberty.h 2009-05-27 21:38:24.000000000 +0200 4 | @@ -595,8 +595,11 @@ 5 | /* Like sprintf but provides a pointer to malloc'd storage, which must 6 | be freed by the caller. */ 7 | 8 | +/* asprintf may be declared as a macro by glibc with __USE_FORTIFY_LEVEL. */ 9 | +#ifndef asprintf 10 | extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2; 11 | #endif 12 | +#endif 13 | 14 | #if !HAVE_DECL_VASPRINTF 15 | /* Like vsprintf but provides a pointer to malloc'd storage, which 16 | -------------------------------------------------------------------------------- /patches/gcc/4.4.1/210-arm-unbreak-armv4t.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h gcc-4.4.0/gcc/config/arm/linux-eabi.h 2 | --- gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h 2007-11-08 14:44:09.000000000 +0100 3 | +++ gcc-4.4.0/gcc/config/arm/linux-eabi.h 2009-05-27 21:38:26.000000000 +0200 4 | @@ -44,7 +44,7 @@ 5 | The ARM10TDMI core is the default for armv5t, so set 6 | SUBTARGET_CPU_DEFAULT to achieve this. */ 7 | #undef SUBTARGET_CPU_DEFAULT 8 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 9 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi 10 | 11 | /* TARGET_BIG_ENDIAN_DEFAULT is set in 12 | config.gcc for big endian configurations. */ 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.1/220-libiberty-pic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/libiberty/Makefile.in gcc-4.4.0/libiberty/Makefile.in 2 | --- gcc-4.4.0.orig/libiberty/Makefile.in 2008-10-22 15:30:19.000000000 +0200 3 | +++ gcc-4.4.0/libiberty/Makefile.in 2009-05-27 21:38:29.000000000 +0200 4 | @@ -227,6 +227,7 @@ 5 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ 6 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 7 | $(RANLIB) $(TARGETLIB); \ 8 | + cp $(TARGETLIB) ../ ; \ 9 | cd ..; \ 10 | else true; fi 11 | 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.1/310-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/boehm-gc/include/gc.h gcc-4.4.0/boehm-gc/include/gc.h 2 | --- gcc-4.4.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 3 | +++ gcc-4.4.0/boehm-gc/include/gc.h 2009-05-27 21:38:55.000000000 +0200 4 | @@ -503,7 +503,7 @@ 5 | #if defined(__linux__) || defined(__GLIBC__) 6 | # include 7 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 8 | - && !defined(__ia64__) 9 | + && !defined(__ia64__) && !defined(__UCLIBC__) 10 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 11 | # define GC_HAVE_BUILTIN_BACKTRACE 12 | # endif 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.1/320-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/libstdc++-v3/include/c_global/cstdio gcc-4.4.0/libstdc++-v3/include/c_global/cstdio 2 | --- gcc-4.4.0.orig/libstdc++-v3/include/c_global/cstdio 2009-04-10 01:23:07.000000000 +0200 3 | +++ gcc-4.4.0/libstdc++-v3/include/c_global/cstdio 2009-05-27 21:38:58.000000000 +0200 4 | @@ -139,7 +139,7 @@ 5 | 6 | _GLIBCXX_END_NAMESPACE 7 | 8 | -#if _GLIBCXX_USE_C99 9 | +#if _GLIBCXX_USE_C99 || defined __UCLIBC__ 10 | 11 | #undef snprintf 12 | #undef vfscanf 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.1/400-pr42289-fix-libffi-build-on-arm-oabi.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.4/libffi/src/arm/sysv.S 2 | +++ gcc-4.3.4/libffi/src/arm/sysv.S 3 | @@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV 4 | stmfd sp!, {ip, lr} 5 | UNWIND .save {r0, lr} 6 | add r2, sp, #8 7 | - .pad #16 8 | + UNWIND .pad #16 9 | sub sp, sp, #16 10 | str sp, [sp, #8] 11 | add r1, sp, #8 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.2/160-netbsd-symbolic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/gcc/config/netbsd-elf.h gcc-4.4.0/gcc/config/netbsd-elf.h 2 | --- gcc-4.4.0.orig/gcc/config/netbsd-elf.h 2007-09-03 18:14:04.000000000 +0200 3 | +++ gcc-4.4.0/gcc/config/netbsd-elf.h 2009-05-27 21:38:14.000000000 +0200 4 | @@ -82,6 +82,7 @@ 5 | #define NETBSD_LINK_SPEC_ELF \ 6 | "%{assert*} %{R*} %{rpath*} \ 7 | %{shared:-shared} \ 8 | + %{symbolic:-Bsymbolic} \ 9 | %{!shared: \ 10 | -dc -dp \ 11 | %{!nostdlib: \ 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.2/180-libgomp-no-werror.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/libgomp/configure gcc-4.4.0/libgomp/configure 2 | --- gcc-4.4.0.orig/libgomp/configure 2009-04-21 11:08:08.000000000 +0200 3 | +++ gcc-4.4.0/libgomp/configure 2009-05-27 21:38:19.000000000 +0200 4 | @@ -3334,7 +3334,7 @@ 5 | 6 | # Add -Wall -Werror if we are using GCC. 7 | if test "x$GCC" = "xyes"; then 8 | - XCFLAGS="$XCFLAGS -Wall -Werror" 9 | + XCFLAGS="$XCFLAGS -Wall" 10 | fi 11 | 12 | # Find other programs we need. 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.2/200-libiberty.h-asprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/include/libiberty.h gcc-4.4.0/include/libiberty.h 2 | --- gcc-4.4.0.orig/include/libiberty.h 2008-06-24 03:42:31.000000000 +0200 3 | +++ gcc-4.4.0/include/libiberty.h 2009-05-27 21:38:24.000000000 +0200 4 | @@ -595,8 +595,11 @@ 5 | /* Like sprintf but provides a pointer to malloc'd storage, which must 6 | be freed by the caller. */ 7 | 8 | +/* asprintf may be declared as a macro by glibc with __USE_FORTIFY_LEVEL. */ 9 | +#ifndef asprintf 10 | extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2; 11 | #endif 12 | +#endif 13 | 14 | #if !HAVE_DECL_VASPRINTF 15 | /* Like vsprintf but provides a pointer to malloc'd storage, which 16 | -------------------------------------------------------------------------------- /patches/gcc/4.4.2/210-arm-unbreak-armv4t.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h gcc-4.4.0/gcc/config/arm/linux-eabi.h 2 | --- gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h 2007-11-08 14:44:09.000000000 +0100 3 | +++ gcc-4.4.0/gcc/config/arm/linux-eabi.h 2009-05-27 21:38:26.000000000 +0200 4 | @@ -44,7 +44,7 @@ 5 | The ARM10TDMI core is the default for armv5t, so set 6 | SUBTARGET_CPU_DEFAULT to achieve this. */ 7 | #undef SUBTARGET_CPU_DEFAULT 8 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 9 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi 10 | 11 | /* TARGET_BIG_ENDIAN_DEFAULT is set in 12 | config.gcc for big endian configurations. */ 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.2/220-libiberty-pic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/libiberty/Makefile.in gcc-4.4.0/libiberty/Makefile.in 2 | --- gcc-4.4.0.orig/libiberty/Makefile.in 2008-10-22 15:30:19.000000000 +0200 3 | +++ gcc-4.4.0/libiberty/Makefile.in 2009-05-27 21:38:29.000000000 +0200 4 | @@ -227,6 +227,7 @@ 5 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ 6 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 7 | $(RANLIB) $(TARGETLIB); \ 8 | + cp $(TARGETLIB) ../ ; \ 9 | cd ..; \ 10 | else true; fi 11 | 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.2/310-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/boehm-gc/include/gc.h gcc-4.4.0/boehm-gc/include/gc.h 2 | --- gcc-4.4.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 3 | +++ gcc-4.4.0/boehm-gc/include/gc.h 2009-05-27 21:38:55.000000000 +0200 4 | @@ -503,7 +503,7 @@ 5 | #if defined(__linux__) || defined(__GLIBC__) 6 | # include 7 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 8 | - && !defined(__ia64__) 9 | + && !defined(__ia64__) && !defined(__UCLIBC__) 10 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 11 | # define GC_HAVE_BUILTIN_BACKTRACE 12 | # endif 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.2/320-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/libstdc++-v3/include/c_global/cstdio gcc-4.4.0/libstdc++-v3/include/c_global/cstdio 2 | --- gcc-4.4.0.orig/libstdc++-v3/include/c_global/cstdio 2009-04-10 01:23:07.000000000 +0200 3 | +++ gcc-4.4.0/libstdc++-v3/include/c_global/cstdio 2009-05-27 21:38:58.000000000 +0200 4 | @@ -139,7 +139,7 @@ 5 | 6 | _GLIBCXX_END_NAMESPACE 7 | 8 | -#if _GLIBCXX_USE_C99 9 | +#if _GLIBCXX_USE_C99 || defined __UCLIBC__ 10 | 11 | #undef snprintf 12 | #undef vfscanf 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.2/400-pr42289-fix-libffi-build-on-arm-oabi.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.4/libffi/src/arm/sysv.S 2 | +++ gcc-4.3.4/libffi/src/arm/sysv.S 3 | @@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV 4 | stmfd sp!, {ip, lr} 5 | UNWIND .save {r0, lr} 6 | add r2, sp, #8 7 | - .pad #16 8 | + UNWIND .pad #16 9 | sub sp, sp, #16 10 | str sp, [sp, #8] 11 | add r1, sp, #8 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.3/160-netbsd-symbolic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/gcc/config/netbsd-elf.h gcc-4.4.0/gcc/config/netbsd-elf.h 2 | --- gcc-4.4.0.orig/gcc/config/netbsd-elf.h 2007-09-03 18:14:04.000000000 +0200 3 | +++ gcc-4.4.0/gcc/config/netbsd-elf.h 2009-05-27 21:38:14.000000000 +0200 4 | @@ -82,6 +82,7 @@ 5 | #define NETBSD_LINK_SPEC_ELF \ 6 | "%{assert*} %{R*} %{rpath*} \ 7 | %{shared:-shared} \ 8 | + %{symbolic:-Bsymbolic} \ 9 | %{!shared: \ 10 | -dc -dp \ 11 | %{!nostdlib: \ 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.3/180-libgomp-no-werror.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/libgomp/configure gcc-4.4.0/libgomp/configure 2 | --- gcc-4.4.0.orig/libgomp/configure 2009-04-21 11:08:08.000000000 +0200 3 | +++ gcc-4.4.0/libgomp/configure 2009-05-27 21:38:19.000000000 +0200 4 | @@ -3334,7 +3334,7 @@ 5 | 6 | # Add -Wall -Werror if we are using GCC. 7 | if test "x$GCC" = "xyes"; then 8 | - XCFLAGS="$XCFLAGS -Wall -Werror" 9 | + XCFLAGS="$XCFLAGS -Wall" 10 | fi 11 | 12 | # Find other programs we need. 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.3/200-libiberty.h-asprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/include/libiberty.h gcc-4.4.0/include/libiberty.h 2 | --- gcc-4.4.0.orig/include/libiberty.h 2008-06-24 03:42:31.000000000 +0200 3 | +++ gcc-4.4.0/include/libiberty.h 2009-05-27 21:38:24.000000000 +0200 4 | @@ -595,8 +595,11 @@ 5 | /* Like sprintf but provides a pointer to malloc'd storage, which must 6 | be freed by the caller. */ 7 | 8 | +/* asprintf may be declared as a macro by glibc with __USE_FORTIFY_LEVEL. */ 9 | +#ifndef asprintf 10 | extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2; 11 | #endif 12 | +#endif 13 | 14 | #if !HAVE_DECL_VASPRINTF 15 | /* Like vsprintf but provides a pointer to malloc'd storage, which 16 | -------------------------------------------------------------------------------- /patches/gcc/4.4.3/210-arm-unbreak-armv4t.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h gcc-4.4.0/gcc/config/arm/linux-eabi.h 2 | --- gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h 2007-11-08 14:44:09.000000000 +0100 3 | +++ gcc-4.4.0/gcc/config/arm/linux-eabi.h 2009-05-27 21:38:26.000000000 +0200 4 | @@ -44,7 +44,7 @@ 5 | The ARM10TDMI core is the default for armv5t, so set 6 | SUBTARGET_CPU_DEFAULT to achieve this. */ 7 | #undef SUBTARGET_CPU_DEFAULT 8 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 9 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi 10 | 11 | /* TARGET_BIG_ENDIAN_DEFAULT is set in 12 | config.gcc for big endian configurations. */ 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.3/220-libiberty-pic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/libiberty/Makefile.in gcc-4.4.0/libiberty/Makefile.in 2 | --- gcc-4.4.0.orig/libiberty/Makefile.in 2008-10-22 15:30:19.000000000 +0200 3 | +++ gcc-4.4.0/libiberty/Makefile.in 2009-05-27 21:38:29.000000000 +0200 4 | @@ -227,6 +227,7 @@ 5 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ 6 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 7 | $(RANLIB) $(TARGETLIB); \ 8 | + cp $(TARGETLIB) ../ ; \ 9 | cd ..; \ 10 | else true; fi 11 | 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.3/310-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/boehm-gc/include/gc.h gcc-4.4.0/boehm-gc/include/gc.h 2 | --- gcc-4.4.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 3 | +++ gcc-4.4.0/boehm-gc/include/gc.h 2009-05-27 21:38:55.000000000 +0200 4 | @@ -503,7 +503,7 @@ 5 | #if defined(__linux__) || defined(__GLIBC__) 6 | # include 7 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 8 | - && !defined(__ia64__) 9 | + && !defined(__ia64__) && !defined(__UCLIBC__) 10 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 11 | # define GC_HAVE_BUILTIN_BACKTRACE 12 | # endif 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.3/320-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.0.orig/libstdc++-v3/include/c_global/cstdio gcc-4.4.0/libstdc++-v3/include/c_global/cstdio 2 | --- gcc-4.4.0.orig/libstdc++-v3/include/c_global/cstdio 2009-04-10 01:23:07.000000000 +0200 3 | +++ gcc-4.4.0/libstdc++-v3/include/c_global/cstdio 2009-05-27 21:38:58.000000000 +0200 4 | @@ -139,7 +139,7 @@ 5 | 6 | _GLIBCXX_END_NAMESPACE 7 | 8 | -#if _GLIBCXX_USE_C99 9 | +#if _GLIBCXX_USE_C99 || defined __UCLIBC__ 10 | 11 | #undef snprintf 12 | #undef vfscanf 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.3/400-pr42289-fix-libffi-build-on-arm-oabi.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.4/libffi/src/arm/sysv.S 2 | +++ gcc-4.3.4/libffi/src/arm/sysv.S 3 | @@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV 4 | stmfd sp!, {ip, lr} 5 | UNWIND .save {r0, lr} 6 | add r2, sp, #8 7 | - .pad #16 8 | + UNWIND .pad #16 9 | sub sp, sp, #16 10 | str sp, [sp, #8] 11 | add r1, sp, #8 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.4/160-netbsd-symbolic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.4.orig/gcc/config/netbsd-elf.h gcc-4.4.4/gcc/config/netbsd-elf.h 2 | --- gcc-4.4.4.orig/gcc/config/netbsd-elf.h 2007-09-03 18:14:04.000000000 +0200 3 | +++ gcc-4.4.4/gcc/config/netbsd-elf.h 2010-05-16 19:11:50.000000000 +0200 4 | @@ -82,6 +82,7 @@ 5 | #define NETBSD_LINK_SPEC_ELF \ 6 | "%{assert*} %{R*} %{rpath*} \ 7 | %{shared:-shared} \ 8 | + %{symbolic:-Bsymbolic} \ 9 | %{!shared: \ 10 | -dc -dp \ 11 | %{!nostdlib: \ 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.4/180-libgomp-no-werror.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.4.orig/libgomp/configure gcc-4.4.4/libgomp/configure 2 | --- gcc-4.4.4.orig/libgomp/configure 2010-04-29 10:26:54.000000000 +0200 3 | +++ gcc-4.4.4/libgomp/configure 2010-05-16 19:12:19.000000000 +0200 4 | @@ -3334,7 +3334,7 @@ 5 | 6 | # Add -Wall -Werror if we are using GCC. 7 | if test "x$GCC" = "xyes"; then 8 | - XCFLAGS="$XCFLAGS -Wall -Werror" 9 | + XCFLAGS="$XCFLAGS -Wall" 10 | fi 11 | 12 | # Find other programs we need. 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.4/200-libiberty.h-asprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.4.orig/include/libiberty.h gcc-4.4.4/include/libiberty.h 2 | --- gcc-4.4.4.orig/include/libiberty.h 2008-06-24 03:42:31.000000000 +0200 3 | +++ gcc-4.4.4/include/libiberty.h 2010-05-16 19:12:50.000000000 +0200 4 | @@ -595,8 +595,11 @@ 5 | /* Like sprintf but provides a pointer to malloc'd storage, which must 6 | be freed by the caller. */ 7 | 8 | +/* asprintf may be declared as a macro by glibc with __USE_FORTIFY_LEVEL. */ 9 | +#ifndef asprintf 10 | extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2; 11 | #endif 12 | +#endif 13 | 14 | #if !HAVE_DECL_VASPRINTF 15 | /* Like vsprintf but provides a pointer to malloc'd storage, which 16 | -------------------------------------------------------------------------------- /patches/gcc/4.4.4/210-arm-unbreak-armv4t.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.4.orig/gcc/config/arm/linux-eabi.h gcc-4.4.4/gcc/config/arm/linux-eabi.h 2 | --- gcc-4.4.4.orig/gcc/config/arm/linux-eabi.h 2007-11-08 14:44:09.000000000 +0100 3 | +++ gcc-4.4.4/gcc/config/arm/linux-eabi.h 2010-05-16 19:13:00.000000000 +0200 4 | @@ -44,7 +44,7 @@ 5 | The ARM10TDMI core is the default for armv5t, so set 6 | SUBTARGET_CPU_DEFAULT to achieve this. */ 7 | #undef SUBTARGET_CPU_DEFAULT 8 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 9 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi 10 | 11 | /* TARGET_BIG_ENDIAN_DEFAULT is set in 12 | config.gcc for big endian configurations. */ 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.4/220-libiberty-pic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.4.orig/libiberty/Makefile.in gcc-4.4.4/libiberty/Makefile.in 2 | --- gcc-4.4.4.orig/libiberty/Makefile.in 2008-10-22 15:30:19.000000000 +0200 3 | +++ gcc-4.4.4/libiberty/Makefile.in 2010-05-16 19:13:20.000000000 +0200 4 | @@ -227,6 +227,7 @@ 5 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ 6 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 7 | $(RANLIB) $(TARGETLIB); \ 8 | + cp $(TARGETLIB) ../ ; \ 9 | cd ..; \ 10 | else true; fi 11 | 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.4/310-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.4.orig/boehm-gc/include/gc.h gcc-4.4.4/boehm-gc/include/gc.h 2 | --- gcc-4.4.4.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 3 | +++ gcc-4.4.4/boehm-gc/include/gc.h 2010-05-16 19:36:48.000000000 +0200 4 | @@ -503,7 +503,7 @@ 5 | #if defined(__linux__) || defined(__GLIBC__) 6 | # include 7 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 8 | - && !defined(__ia64__) 9 | + && !defined(__ia64__) && !defined(__UCLIBC__) 10 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 11 | # define GC_HAVE_BUILTIN_BACKTRACE 12 | # endif 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.4/320-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.4.orig/libstdc++-v3/include/c_global/cstdio gcc-4.4.4/libstdc++-v3/include/c_global/cstdio 2 | --- gcc-4.4.4.orig/libstdc++-v3/include/c_global/cstdio 2009-04-10 01:23:07.000000000 +0200 3 | +++ gcc-4.4.4/libstdc++-v3/include/c_global/cstdio 2010-05-16 19:37:06.000000000 +0200 4 | @@ -139,7 +139,7 @@ 5 | 6 | _GLIBCXX_END_NAMESPACE 7 | 8 | -#if _GLIBCXX_USE_C99 9 | +#if _GLIBCXX_USE_C99 || defined __UCLIBC__ 10 | 11 | #undef snprintf 12 | #undef vfscanf 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.4/400-pr42289-fix-libffi-build-on-arm-oabi.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.4/libffi/src/arm/sysv.S 2 | +++ gcc-4.3.4/libffi/src/arm/sysv.S 3 | @@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV 4 | stmfd sp!, {ip, lr} 5 | UNWIND .save {r0, lr} 6 | add r2, sp, #8 7 | - .pad #16 8 | + UNWIND .pad #16 9 | sub sp, sp, #16 10 | str sp, [sp, #8] 11 | add r1, sp, #8 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.5/160-netbsd-symbolic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/gcc/config/netbsd-elf.h gcc-4.4.5/gcc/config/netbsd-elf.h 2 | --- gcc-4.4.5.orig/gcc/config/netbsd-elf.h 2007-09-03 18:14:04.000000000 +0200 3 | +++ gcc-4.4.5/gcc/config/netbsd-elf.h 2010-10-09 22:59:57.000000000 +0200 4 | @@ -82,6 +82,7 @@ 5 | #define NETBSD_LINK_SPEC_ELF \ 6 | "%{assert*} %{R*} %{rpath*} \ 7 | %{shared:-shared} \ 8 | + %{symbolic:-Bsymbolic} \ 9 | %{!shared: \ 10 | -dc -dp \ 11 | %{!nostdlib: \ 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.5/180-libgomp-no-werror.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/libgomp/configure gcc-4.4.5/libgomp/configure 2 | --- gcc-4.4.5.orig/libgomp/configure 2010-10-01 10:26:18.000000000 +0200 3 | +++ gcc-4.4.5/libgomp/configure 2010-10-09 23:00:33.000000000 +0200 4 | @@ -3334,7 +3334,7 @@ 5 | 6 | # Add -Wall -Werror if we are using GCC. 7 | if test "x$GCC" = "xyes"; then 8 | - XCFLAGS="$XCFLAGS -Wall -Werror" 9 | + XCFLAGS="$XCFLAGS -Wall" 10 | fi 11 | 12 | # Find other programs we need. 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.5/200-libiberty.h-asprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/include/libiberty.h gcc-4.4.5/include/libiberty.h 2 | --- gcc-4.4.5.orig/include/libiberty.h 2008-06-24 03:42:31.000000000 +0200 3 | +++ gcc-4.4.5/include/libiberty.h 2010-10-09 23:01:30.000000000 +0200 4 | @@ -595,8 +595,11 @@ 5 | /* Like sprintf but provides a pointer to malloc'd storage, which must 6 | be freed by the caller. */ 7 | 8 | +/* asprintf may be declared as a macro by glibc with __USE_FORTIFY_LEVEL. */ 9 | +#ifndef asprintf 10 | extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2; 11 | #endif 12 | +#endif 13 | 14 | #if !HAVE_DECL_VASPRINTF 15 | /* Like vsprintf but provides a pointer to malloc'd storage, which 16 | -------------------------------------------------------------------------------- /patches/gcc/4.4.5/210-arm-unbreak-armv4t.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/gcc/config/arm/linux-eabi.h gcc-4.4.5/gcc/config/arm/linux-eabi.h 2 | --- gcc-4.4.5.orig/gcc/config/arm/linux-eabi.h 2007-11-08 14:44:09.000000000 +0100 3 | +++ gcc-4.4.5/gcc/config/arm/linux-eabi.h 2010-10-09 23:01:59.000000000 +0200 4 | @@ -44,7 +44,7 @@ 5 | The ARM10TDMI core is the default for armv5t, so set 6 | SUBTARGET_CPU_DEFAULT to achieve this. */ 7 | #undef SUBTARGET_CPU_DEFAULT 8 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 9 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi 10 | 11 | /* TARGET_BIG_ENDIAN_DEFAULT is set in 12 | config.gcc for big endian configurations. */ 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.5/220-libiberty-pic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/libiberty/Makefile.in gcc-4.4.5/libiberty/Makefile.in 2 | --- gcc-4.4.5.orig/libiberty/Makefile.in 2008-10-22 15:30:19.000000000 +0200 3 | +++ gcc-4.4.5/libiberty/Makefile.in 2010-10-09 23:02:28.000000000 +0200 4 | @@ -227,6 +227,7 @@ 5 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ 6 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 7 | $(RANLIB) $(TARGETLIB); \ 8 | + cp $(TARGETLIB) ../ ; \ 9 | cd ..; \ 10 | else true; fi 11 | 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.5/310-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/boehm-gc/include/gc.h gcc-4.4.5/boehm-gc/include/gc.h 2 | --- gcc-4.4.5.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 3 | +++ gcc-4.4.5/boehm-gc/include/gc.h 2010-10-09 23:11:00.000000000 +0200 4 | @@ -503,7 +503,7 @@ 5 | #if defined(__linux__) || defined(__GLIBC__) 6 | # include 7 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 8 | - && !defined(__ia64__) 9 | + && !defined(__ia64__) && !defined(__UCLIBC__) 10 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 11 | # define GC_HAVE_BUILTIN_BACKTRACE 12 | # endif 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.5/320-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/libstdc++-v3/include/c_global/cstdio gcc-4.4.5/libstdc++-v3/include/c_global/cstdio 2 | --- gcc-4.4.5.orig/libstdc++-v3/include/c_global/cstdio 2009-04-10 01:23:07.000000000 +0200 3 | +++ gcc-4.4.5/libstdc++-v3/include/c_global/cstdio 2010-10-09 23:11:27.000000000 +0200 4 | @@ -139,7 +139,7 @@ 5 | 6 | _GLIBCXX_END_NAMESPACE 7 | 8 | -#if _GLIBCXX_USE_C99 9 | +#if _GLIBCXX_USE_C99 || defined __UCLIBC__ 10 | 11 | #undef snprintf 12 | #undef vfscanf 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.5/400-pr42289-fix-libffi-build-on-arm-oabi.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.4/libffi/src/arm/sysv.S 2 | +++ gcc-4.3.4/libffi/src/arm/sysv.S 3 | @@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV 4 | stmfd sp!, {ip, lr} 5 | UNWIND .save {r0, lr} 6 | add r2, sp, #8 7 | - .pad #16 8 | + UNWIND .pad #16 9 | sub sp, sp, #16 10 | str sp, [sp, #8] 11 | add r1, sp, #8 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.6/160-netbsd-symbolic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/gcc/config/netbsd-elf.h gcc-4.4.5/gcc/config/netbsd-elf.h 2 | --- gcc-4.4.5.orig/gcc/config/netbsd-elf.h 2007-09-03 18:14:04.000000000 +0200 3 | +++ gcc-4.4.5/gcc/config/netbsd-elf.h 2010-10-09 22:59:57.000000000 +0200 4 | @@ -82,6 +82,7 @@ 5 | #define NETBSD_LINK_SPEC_ELF \ 6 | "%{assert*} %{R*} %{rpath*} \ 7 | %{shared:-shared} \ 8 | + %{symbolic:-Bsymbolic} \ 9 | %{!shared: \ 10 | -dc -dp \ 11 | %{!nostdlib: \ 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.6/180-libgomp-no-werror.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/libgomp/configure gcc-4.4.5/libgomp/configure 2 | --- gcc-4.4.5.orig/libgomp/configure 2010-10-01 10:26:18.000000000 +0200 3 | +++ gcc-4.4.5/libgomp/configure 2010-10-09 23:00:33.000000000 +0200 4 | @@ -3334,7 +3334,7 @@ 5 | 6 | # Add -Wall -Werror if we are using GCC. 7 | if test "x$GCC" = "xyes"; then 8 | - XCFLAGS="$XCFLAGS -Wall -Werror" 9 | + XCFLAGS="$XCFLAGS -Wall" 10 | fi 11 | 12 | # Find other programs we need. 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.6/200-libiberty.h-asprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/include/libiberty.h gcc-4.4.5/include/libiberty.h 2 | --- gcc-4.4.5.orig/include/libiberty.h 2008-06-24 03:42:31.000000000 +0200 3 | +++ gcc-4.4.5/include/libiberty.h 2010-10-09 23:01:30.000000000 +0200 4 | @@ -595,8 +595,11 @@ 5 | /* Like sprintf but provides a pointer to malloc'd storage, which must 6 | be freed by the caller. */ 7 | 8 | +/* asprintf may be declared as a macro by glibc with __USE_FORTIFY_LEVEL. */ 9 | +#ifndef asprintf 10 | extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2; 11 | #endif 12 | +#endif 13 | 14 | #if !HAVE_DECL_VASPRINTF 15 | /* Like vsprintf but provides a pointer to malloc'd storage, which 16 | -------------------------------------------------------------------------------- /patches/gcc/4.4.6/210-arm-unbreak-armv4t.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/gcc/config/arm/linux-eabi.h gcc-4.4.5/gcc/config/arm/linux-eabi.h 2 | --- gcc-4.4.5.orig/gcc/config/arm/linux-eabi.h 2007-11-08 14:44:09.000000000 +0100 3 | +++ gcc-4.4.5/gcc/config/arm/linux-eabi.h 2010-10-09 23:01:59.000000000 +0200 4 | @@ -44,7 +44,7 @@ 5 | The ARM10TDMI core is the default for armv5t, so set 6 | SUBTARGET_CPU_DEFAULT to achieve this. */ 7 | #undef SUBTARGET_CPU_DEFAULT 8 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 9 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi 10 | 11 | /* TARGET_BIG_ENDIAN_DEFAULT is set in 12 | config.gcc for big endian configurations. */ 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.6/220-libiberty-pic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/libiberty/Makefile.in gcc-4.4.5/libiberty/Makefile.in 2 | --- gcc-4.4.5.orig/libiberty/Makefile.in 2008-10-22 15:30:19.000000000 +0200 3 | +++ gcc-4.4.5/libiberty/Makefile.in 2010-10-09 23:02:28.000000000 +0200 4 | @@ -227,6 +227,7 @@ 5 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ 6 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 7 | $(RANLIB) $(TARGETLIB); \ 8 | + cp $(TARGETLIB) ../ ; \ 9 | cd ..; \ 10 | else true; fi 11 | 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.6/310-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/boehm-gc/include/gc.h gcc-4.4.5/boehm-gc/include/gc.h 2 | --- gcc-4.4.5.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 3 | +++ gcc-4.4.5/boehm-gc/include/gc.h 2010-10-09 23:11:00.000000000 +0200 4 | @@ -503,7 +503,7 @@ 5 | #if defined(__linux__) || defined(__GLIBC__) 6 | # include 7 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 8 | - && !defined(__ia64__) 9 | + && !defined(__ia64__) && !defined(__UCLIBC__) 10 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 11 | # define GC_HAVE_BUILTIN_BACKTRACE 12 | # endif 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.6/320-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/libstdc++-v3/include/c_global/cstdio gcc-4.4.5/libstdc++-v3/include/c_global/cstdio 2 | --- gcc-4.4.5.orig/libstdc++-v3/include/c_global/cstdio 2009-04-10 01:23:07.000000000 +0200 3 | +++ gcc-4.4.5/libstdc++-v3/include/c_global/cstdio 2010-10-09 23:11:27.000000000 +0200 4 | @@ -139,7 +139,7 @@ 5 | 6 | _GLIBCXX_END_NAMESPACE 7 | 8 | -#if _GLIBCXX_USE_C99 9 | +#if _GLIBCXX_USE_C99 || defined __UCLIBC__ 10 | 11 | #undef snprintf 12 | #undef vfscanf 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.6/400-pr42289-fix-libffi-build-on-arm-oabi.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.4/libffi/src/arm/sysv.S 2 | +++ gcc-4.3.4/libffi/src/arm/sysv.S 3 | @@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV 4 | stmfd sp!, {ip, lr} 5 | UNWIND .save {r0, lr} 6 | add r2, sp, #8 7 | - .pad #16 8 | + UNWIND .pad #16 9 | sub sp, sp, #16 10 | str sp, [sp, #8] 11 | add r1, sp, #8 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.7/160-netbsd-symbolic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/gcc/config/netbsd-elf.h gcc-4.4.5/gcc/config/netbsd-elf.h 2 | --- gcc-4.4.5.orig/gcc/config/netbsd-elf.h 2007-09-03 18:14:04.000000000 +0200 3 | +++ gcc-4.4.5/gcc/config/netbsd-elf.h 2010-10-09 22:59:57.000000000 +0200 4 | @@ -82,6 +82,7 @@ 5 | #define NETBSD_LINK_SPEC_ELF \ 6 | "%{assert*} %{R*} %{rpath*} \ 7 | %{shared:-shared} \ 8 | + %{symbolic:-Bsymbolic} \ 9 | %{!shared: \ 10 | -dc -dp \ 11 | %{!nostdlib: \ 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.7/180-libgomp-no-werror.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/libgomp/configure gcc-4.4.5/libgomp/configure 2 | --- gcc-4.4.5.orig/libgomp/configure 2010-10-01 10:26:18.000000000 +0200 3 | +++ gcc-4.4.5/libgomp/configure 2010-10-09 23:00:33.000000000 +0200 4 | @@ -3334,7 +3334,7 @@ 5 | 6 | # Add -Wall -Werror if we are using GCC. 7 | if test "x$GCC" = "xyes"; then 8 | - XCFLAGS="$XCFLAGS -Wall -Werror" 9 | + XCFLAGS="$XCFLAGS -Wall" 10 | fi 11 | 12 | # Find other programs we need. 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.7/200-libiberty.h-asprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/include/libiberty.h gcc-4.4.5/include/libiberty.h 2 | --- gcc-4.4.5.orig/include/libiberty.h 2008-06-24 03:42:31.000000000 +0200 3 | +++ gcc-4.4.5/include/libiberty.h 2010-10-09 23:01:30.000000000 +0200 4 | @@ -595,8 +595,11 @@ 5 | /* Like sprintf but provides a pointer to malloc'd storage, which must 6 | be freed by the caller. */ 7 | 8 | +/* asprintf may be declared as a macro by glibc with __USE_FORTIFY_LEVEL. */ 9 | +#ifndef asprintf 10 | extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2; 11 | #endif 12 | +#endif 13 | 14 | #if !HAVE_DECL_VASPRINTF 15 | /* Like vsprintf but provides a pointer to malloc'd storage, which 16 | -------------------------------------------------------------------------------- /patches/gcc/4.4.7/210-arm-unbreak-armv4t.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/gcc/config/arm/linux-eabi.h gcc-4.4.5/gcc/config/arm/linux-eabi.h 2 | --- gcc-4.4.5.orig/gcc/config/arm/linux-eabi.h 2007-11-08 14:44:09.000000000 +0100 3 | +++ gcc-4.4.5/gcc/config/arm/linux-eabi.h 2010-10-09 23:01:59.000000000 +0200 4 | @@ -44,7 +44,7 @@ 5 | The ARM10TDMI core is the default for armv5t, so set 6 | SUBTARGET_CPU_DEFAULT to achieve this. */ 7 | #undef SUBTARGET_CPU_DEFAULT 8 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 9 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi 10 | 11 | /* TARGET_BIG_ENDIAN_DEFAULT is set in 12 | config.gcc for big endian configurations. */ 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.7/220-libiberty-pic.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/libiberty/Makefile.in gcc-4.4.5/libiberty/Makefile.in 2 | --- gcc-4.4.5.orig/libiberty/Makefile.in 2008-10-22 15:30:19.000000000 +0200 3 | +++ gcc-4.4.5/libiberty/Makefile.in 2010-10-09 23:02:28.000000000 +0200 4 | @@ -227,6 +227,7 @@ 5 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ 6 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 7 | $(RANLIB) $(TARGETLIB); \ 8 | + cp $(TARGETLIB) ../ ; \ 9 | cd ..; \ 10 | else true; fi 11 | 12 | -------------------------------------------------------------------------------- /patches/gcc/4.4.7/310-missing-execinfo_h.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/boehm-gc/include/gc.h gcc-4.4.5/boehm-gc/include/gc.h 2 | --- gcc-4.4.5.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 3 | +++ gcc-4.4.5/boehm-gc/include/gc.h 2010-10-09 23:11:00.000000000 +0200 4 | @@ -503,7 +503,7 @@ 5 | #if defined(__linux__) || defined(__GLIBC__) 6 | # include 7 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ 8 | - && !defined(__ia64__) 9 | + && !defined(__ia64__) && !defined(__UCLIBC__) 10 | # ifndef GC_HAVE_BUILTIN_BACKTRACE 11 | # define GC_HAVE_BUILTIN_BACKTRACE 12 | # endif 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.7/320-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.4.5.orig/libstdc++-v3/include/c_global/cstdio gcc-4.4.5/libstdc++-v3/include/c_global/cstdio 2 | --- gcc-4.4.5.orig/libstdc++-v3/include/c_global/cstdio 2009-04-10 01:23:07.000000000 +0200 3 | +++ gcc-4.4.5/libstdc++-v3/include/c_global/cstdio 2010-10-09 23:11:27.000000000 +0200 4 | @@ -139,7 +139,7 @@ 5 | 6 | _GLIBCXX_END_NAMESPACE 7 | 8 | -#if _GLIBCXX_USE_C99 9 | +#if _GLIBCXX_USE_C99 || defined __UCLIBC__ 10 | 11 | #undef snprintf 12 | #undef vfscanf 13 | -------------------------------------------------------------------------------- /patches/gcc/4.4.7/400-pr42289-fix-libffi-build-on-arm-oabi.patch: -------------------------------------------------------------------------------- 1 | --- gcc-4.3.4/libffi/src/arm/sysv.S 2 | +++ gcc-4.3.4/libffi/src/arm/sysv.S 3 | @@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV 4 | stmfd sp!, {ip, lr} 5 | UNWIND .save {r0, lr} 6 | add r2, sp, #8 7 | - .pad #16 8 | + UNWIND .pad #16 9 | sub sp, sp, #16 10 | str sp, [sp, #8] 11 | add r1, sp, #8 12 | -------------------------------------------------------------------------------- /patches/gcc/4.5.0/100-ecjx-host.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.5.2.orig/libjava/Makefile.in gcc-4.5.2/libjava/Makefile.in 2 | --- gcc-4.5.2.orig/libjava/Makefile.in 2010-12-16 13:49:03.000000000 +0100 3 | +++ gcc-4.5.2/libjava/Makefile.in 2010-12-29 23:02:41.000000000 +0100 4 | @@ -9463,6 +9463,9 @@ 5 | ecjx$(EXEEXT): $(ecjx_OBJECTS) $(ecjx_DEPENDENCIES) 6 | @rm -f ecjx$(EXEEXT) 7 | $(ecjx_LINK) $(ecjx_OBJECTS) $(ecjx_LDADD) $(LIBS) 8 | +ecjx.$(OBJEXT): $(ecjx_SOURCES) 9 | + @rm -f ecjx.$(OBJEXT) 10 | + $(CC_FOR_BUILD) $(BUILD_CFLAGS) -c -o $@ $< 11 | gappletviewer$(EXEEXT): $(gappletviewer_OBJECTS) $(gappletviewer_DEPENDENCIES) 12 | @rm -f gappletviewer$(EXEEXT) 13 | $(gappletviewer_LINK) $(gappletviewer_OBJECTS) $(gappletviewer_LDADD) $(LIBS) 14 | -------------------------------------------------------------------------------- /patches/gcc/4.5.1/100-ecjx-host.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.5.2.orig/libjava/Makefile.in gcc-4.5.2/libjava/Makefile.in 2 | --- gcc-4.5.2.orig/libjava/Makefile.in 2010-12-16 13:49:03.000000000 +0100 3 | +++ gcc-4.5.2/libjava/Makefile.in 2010-12-29 23:02:41.000000000 +0100 4 | @@ -9463,6 +9463,9 @@ 5 | ecjx$(EXEEXT): $(ecjx_OBJECTS) $(ecjx_DEPENDENCIES) 6 | @rm -f ecjx$(EXEEXT) 7 | $(ecjx_LINK) $(ecjx_OBJECTS) $(ecjx_LDADD) $(LIBS) 8 | +ecjx.$(OBJEXT): $(ecjx_SOURCES) 9 | + @rm -f ecjx.$(OBJEXT) 10 | + $(CC_FOR_BUILD) $(BUILD_CFLAGS) -c -o $@ $< 11 | gappletviewer$(EXEEXT): $(gappletviewer_OBJECTS) $(gappletviewer_DEPENDENCIES) 12 | @rm -f gappletviewer$(EXEEXT) 13 | $(gappletviewer_LINK) $(gappletviewer_OBJECTS) $(gappletviewer_LDADD) $(LIBS) 14 | -------------------------------------------------------------------------------- /patches/gcc/4.5.2/100-ecjx-host.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.5.2.orig/libjava/Makefile.in gcc-4.5.2/libjava/Makefile.in 2 | --- gcc-4.5.2.orig/libjava/Makefile.in 2010-12-16 13:49:03.000000000 +0100 3 | +++ gcc-4.5.2/libjava/Makefile.in 2010-12-29 23:02:41.000000000 +0100 4 | @@ -9463,6 +9463,9 @@ 5 | ecjx$(EXEEXT): $(ecjx_OBJECTS) $(ecjx_DEPENDENCIES) 6 | @rm -f ecjx$(EXEEXT) 7 | $(ecjx_LINK) $(ecjx_OBJECTS) $(ecjx_LDADD) $(LIBS) 8 | +ecjx.$(OBJEXT): $(ecjx_SOURCES) 9 | + @rm -f ecjx.$(OBJEXT) 10 | + $(CC_FOR_BUILD) $(BUILD_CFLAGS) -c -o $@ $< 11 | gappletviewer$(EXEEXT): $(gappletviewer_OBJECTS) $(gappletviewer_DEPENDENCIES) 12 | @rm -f gappletviewer$(EXEEXT) 13 | $(gappletviewer_LINK) $(gappletviewer_OBJECTS) $(gappletviewer_LDADD) $(LIBS) 14 | -------------------------------------------------------------------------------- /patches/gcc/4.5.3/100-ecjx-host.patch: -------------------------------------------------------------------------------- 1 | diff -durN gcc-4.5.2.orig/libjava/Makefile.in gcc-4.5.2/libjava/Makefile.in 2 | --- gcc-4.5.2.orig/libjava/Makefile.in 2010-12-16 13:49:03.000000000 +0100 3 | +++ gcc-4.5.2/libjava/Makefile.in 2010-12-29 23:02:41.000000000 +0100 4 | @@ -9463,6 +9463,9 @@ 5 | ecjx$(EXEEXT): $(ecjx_OBJECTS) $(ecjx_DEPENDENCIES) 6 | @rm -f ecjx$(EXEEXT) 7 | $(ecjx_LINK) $(ecjx_OBJECTS) $(ecjx_LDADD) $(LIBS) 8 | +ecjx.$(OBJEXT): $(ecjx_SOURCES) 9 | + @rm -f ecjx.$(OBJEXT) 10 | + $(CC_FOR_BUILD) $(BUILD_CFLAGS) -c -o $@ $< 11 | gappletviewer$(EXEEXT): $(gappletviewer_OBJECTS) $(gappletviewer_DEPENDENCIES) 12 | @rm -f gappletviewer$(EXEEXT) 13 | $(gappletviewer_LINK) $(gappletviewer_OBJECTS) $(gappletviewer_LDADD) $(LIBS) 14 | -------------------------------------------------------------------------------- /patches/gdb/6.8a/150-handle-stpcpy-define.patch: -------------------------------------------------------------------------------- 1 | diff -ru gdb-6.8.orig/bfd/sysdep.h gdb-6.8/bfd/sysdep.h 2 | --- gdb-6.8.orig/bfd/sysdep.h 2007-07-03 16:26:42.000000000 +0200 3 | +++ gdb-6.8/bfd/sysdep.h 2011-08-21 13:33:47.000000000 +0200 4 | @@ -131,7 +131,7 @@ 5 | extern PTR realloc (); 6 | #endif 7 | 8 | -#if !HAVE_DECL_STPCPY 9 | +#if !HAVE_DECL_STPCPY && !defined(stpcpy) 10 | extern char *stpcpy (char *__dest, const char *__src); 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /patches/gdb/7.2a/100-sim-ppc-lz-fix.patch: -------------------------------------------------------------------------------- 1 | Fix for psim build failure due to -lz 2 | 3 | See http://sourceware.org/bugzilla/show_bug.cgi?id=12202 4 | 5 | --- gdb-7.2.orig/sim/ppc/Makefile.in 6 | +++ gdb-7.2/sim/ppc/Makefile.in 7 | @@ -551,7 +551,7 @@ 8 | PACKAGE_OBJ = @sim_pk_obj@ 9 | 10 | 11 | -psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBS) $(LIBINTL_DEP) 12 | +psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBINTL_DEP) 13 | $(CC) $(CFLAGS) $(SIM_CFLAGS) $(LDFLAGS) -o psim$(EXEEXT) main.o $(TARGETLIB) $(BFD_LIB) $(LIBINTL) $(LIBIBERTY_LIB) $(LIBS) 14 | 15 | run: psim 16 | -------------------------------------------------------------------------------- /patches/glibc/2.10.1/920-make-382.patch: -------------------------------------------------------------------------------- 1 | diff -urN glibc-2.10.1-orig/manual/Makefile glibc-2.10.1/manual/Makefile 2 | --- glibc-2.10.1-orig/manual/Makefile 2006-01-07 22:43:47.000000000 -0800 3 | +++ glibc-2.10.1/manual/Makefile 2014-01-15 11:49:08.256982014 -0800 4 | @@ -232,7 +232,11 @@ 5 | .PHONY: stubs 6 | stubs: $(objpfx)stubs 7 | endif 8 | -$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%: 9 | +$(objpfx)stamp%: 10 | + $(make-target-directory) 11 | + touch $@ 12 | + 13 | +$(objpfx)stubs ../po/manual.pot: 14 | $(make-target-directory) 15 | touch $@ 16 | 17 | -------------------------------------------------------------------------------- /patches/glibc/2.12.1/920-make-382.patch: -------------------------------------------------------------------------------- 1 | http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=blob_plain;f=source/base/glibc/make-3.82-fix.patch;hb=8217c32ecc2e14962847ba3d8a272eb64a3dba4f 2 | 3 | --- glibc-2.10.1.OLD/manual/Makefile 4 | +++ glibc-2.10.1.NEW/manual/Makefile 5 | @@ -232,7 +232,9 @@ 6 | .PHONY: stubs 7 | stubs: $(objpfx)stubs 8 | endif 9 | -$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%: 10 | +$(objpfx)stubs ../po/manual.pot: 11 | + touch $@ 12 | +$(objpfx)stamp%: 13 | $(make-target-directory) 14 | touch $@ 15 | 16 | -------------------------------------------------------------------------------- /patches/glibc/2.6.1/190-alpha-atfcts.patch: -------------------------------------------------------------------------------- 1 | --- glibc-2.6.1/sysdeps/unix/sysv/linux/kernel-features.h 2006-07-29 07:43:27.000000000 +0300 2 | +++ glibc-2.6.1/sysdeps/unix/sysv/linux/kernel-features.h.new 2008-07-26 08:45:06.000000000 +0300 3 | @@ -445,7 +445,7 @@ 4 | /* The *at syscalls were introduced just after 2.6.16-rc1. Due to the way the 5 | kernel versions are advertised we can only rely on 2.6.17 to have 6 | the code. */ 7 | -#if __LINUX_KERNEL_VERSION >= 0x020611 8 | +#if __LINUX_KERNEL_VERSION >= 0x020611 && !defined __alpha__ 9 | # define __ASSUME_ATFCTS 1 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /patches/glibc/2.6/190-alpha-atfcts.patch: -------------------------------------------------------------------------------- 1 | --- glibc-2.6/sysdeps/unix/sysv/linux/kernel-features.h 2006-07-29 07:43:27.000000000 +0300 2 | +++ glibc-2.6/sysdeps/unix/sysv/linux/kernel-features.h.new 2008-07-26 08:45:06.000000000 +0300 3 | @@ -445,7 +445,7 @@ 4 | /* The *at syscalls were introduced just after 2.6.16-rc1. Due to the way the 5 | kernel versions are advertised we can only rely on 2.6.17 to have 6 | the code. */ 7 | -#if __LINUX_KERNEL_VERSION >= 0x020611 8 | +#if __LINUX_KERNEL_VERSION >= 0x020611 && !defined __alpha__ 9 | # define __ASSUME_ATFCTS 1 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /patches/glibc/2.7/200-alpha-atfcts.patch: -------------------------------------------------------------------------------- 1 | --- glibc-2.7/sysdeps/unix/sysv/linux/kernel-features.h 2007-08-14 06:21:09.000000000 +0300 2 | +++ glibc-2.7/sysdeps/unix/sysv/linux/kernel-features.h.new 2008-07-23 07:05:20.000000000 +0300 3 | @@ -449,8 +449,7 @@ 4 | and on Alpha just after 2.6.22-rc1. */ 5 | #if __LINUX_KERNEL_VERSION >= 0x020611 \ 6 | && ((!defined __sh__ && !defined __alpha__) \ 7 | - || (__LINUX_KERNEL_VERSION >= 0x020613 && defined __sh__) \ 8 | - || (__LINUX_KERNEL_VERSION >= 0x020617 && defined __alpha__)) 9 | + || (__LINUX_KERNEL_VERSION >= 0x020613 && defined __sh__)) 10 | # define __ASSUME_ATFCTS 1 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /patches/glibc/2.7/220-objdump_for_host.patch: -------------------------------------------------------------------------------- 1 | diff -durN glibc-2.7.orig/Makerules glibc-2.7/Makerules 2 | --- glibc-2.7.orig/Makerules 2007-08-26 04:18:03.000000000 +0200 3 | +++ glibc-2.7/Makerules 2008-07-28 15:17:27.000000000 +0200 4 | @@ -1203,6 +1203,9 @@ 5 | # The include magic above causes those files to use this variable for flags. 6 | CPPFLAGS-nonlib = -DNOT_IN_libc=1 7 | 8 | +ifneq ($(OBJDUMP_FOR_HOST),) 9 | +OBJDUMP = $(OBJDUMP_FOR_HOST) 10 | +endif 11 | 12 | ifeq ($(versioning),yes) 13 | # Generate normalized lists of symbols, versions, and data sizes. 14 | -------------------------------------------------------------------------------- /patches/glibc/2.7/230-powerpc-private_futex.patch: -------------------------------------------------------------------------------- 1 | 2008-04-28 Hiroki Kaminaga 2 | 3 | [BZ 6740] 4 | nptl/sysdeps/powerpc/tcb-offsets.sym (PRIVATE_FUTEX_OFFSET): 5 | Guard sym definition with #ifndef __ASSUME_PRIVATE_FUTEX. 6 | 7 | --- a/nptl/sysdeps/powerpc/tcb-offsets.sym 8 | +++ b/nptl/sysdeps/powerpc/tcb-offsets.sym 9 | @@ -15,4 +15,6 @@ 10 | PID thread_offsetof (pid) 11 | TID thread_offsetof (tid) 12 | POINTER_GUARD (offsetof (tcbhead_t, pointer_guard) - TLS_TCB_OFFSET - sizeof (tcbhead_t)) 13 | +#ifndef __ASSUME_PRIVATE_FUTEX 14 | PRIVATE_FUTEX_OFFSET thread_offsetof (header.private_futex) 15 | +#endif 16 | -------------------------------------------------------------------------------- /patches/glibc/2.9/540-alpha-atfcts.patch: -------------------------------------------------------------------------------- 1 | --- glibc-2.7/sysdeps/unix/sysv/linux/kernel-features.h 2007-08-14 06:21:09.000000000 +0300 2 | +++ glibc-2.7/sysdeps/unix/sysv/linux/kernel-features.h.new 2008-07-23 07:05:20.000000000 +0300 3 | @@ -454,8 +454,7 @@ 4 | and on Alpha just after 2.6.22-rc1. */ 5 | #if __LINUX_KERNEL_VERSION >= 0x020611 \ 6 | && ((!defined __sh__ && !defined __alpha__) \ 7 | - || (__LINUX_KERNEL_VERSION >= 0x020613 && defined __sh__) \ 8 | - || (__LINUX_KERNEL_VERSION >= 0x020617 && defined __alpha__)) 9 | + || (__LINUX_KERNEL_VERSION >= 0x020613 && defined __sh__)) 10 | # define __ASSUME_ATFCTS 1 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /patches/glibc/2.9/560-syslog.patch: -------------------------------------------------------------------------------- 1 | diff -durN glibc-cvs-2.9.orig/misc/syslog.c glibc-cvs-2.9/misc/syslog.c 2 | --- glibc-cvs-2.9.orig/misc/syslog.c 2009-06-01 10:16:50.000000000 +0200 3 | +++ glibc-cvs-2.9/misc/syslog.c 2009-06-01 10:17:20.000000000 +0200 4 | @@ -152,7 +152,7 @@ 5 | #define INTERNALLOG LOG_ERR|LOG_CONS|LOG_PERROR|LOG_PID 6 | /* Check for invalid bits. */ 7 | if (pri & ~(LOG_PRIMASK|LOG_FACMASK)) { 8 | - syslog(INTERNALLOG, 9 | + __syslog(INTERNALLOG, 10 | "syslog: unknown facility/priority: %x", pri); 11 | pri &= LOG_PRIMASK|LOG_FACMASK; 12 | } 13 | -------------------------------------------------------------------------------- /patches/glibc/2.9/610-fix-nptl-init.patch: -------------------------------------------------------------------------------- 1 | --- glibc-2_9.orig/nptl/init.c 2007-10-15 22:25:25.000000000 +0200 2 | +++ glibc-2_9/nptl/init.c 2010-08-18 10:46:06.109098646 +0200 3 | @@ -236,7 +236,7 @@ 4 | 5 | 6 | /* This can be set by the debugger before initialization is complete. */ 7 | -static bool __nptl_initial_report_events; 8 | +static bool __nptl_initial_report_events __attribute_used__; 9 | 10 | void 11 | __pthread_initialize_minimal_internal (void) 12 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.10.1/430-alpha-creat.patch: -------------------------------------------------------------------------------- 1 | alpha does not have a __NR_creat 2 | 3 | http://bugs.gentoo.org/227275 4 | http://sourceware.org/bugzilla/show_bug.cgi?id=6650 5 | 6 | diff -durN glibc-2.10.1.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c glibc-2.10.1/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 7 | --- glibc-2.10.1.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2007-11-10 20:34:26.000000000 +0100 8 | +++ glibc-2.10.1/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2009-11-13 00:50:51.000000000 +0100 9 | @@ -1 +1,5 @@ 10 | /* Defined as alias for the syscall. */ 11 | +#include 12 | +#ifndef __NR_creat 13 | +#include "../../../../../io/creat64.c" 14 | +#endif 15 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.10.1/590-sh-set-fpscr-proto.patch: -------------------------------------------------------------------------------- 1 | 2 | 3 | diff -durN glibc-2.10.1.orig/sysdeps/sh/sh4/fpu/fpu_control.h glibc-2.10.1/sysdeps/sh/sh4/fpu/fpu_control.h 4 | --- glibc-2.10.1.orig/sysdeps/sh/sh4/fpu/fpu_control.h 2001-07-06 06:56:04.000000000 +0200 5 | +++ glibc-2.10.1/sysdeps/sh/sh4/fpu/fpu_control.h 2009-11-13 00:51:26.000000000 +0100 6 | @@ -45,6 +45,7 @@ 7 | #define _FPU_GETCW(cw) __asm__ ("sts fpscr,%0" : "=r" (cw)) 8 | 9 | #if defined __GNUC__ 10 | +extern void __set_fpscr(unsigned long); 11 | #define _FPU_SETCW(cw) __set_fpscr ((cw)) 12 | #else 13 | #define _FPU_SETCW(cw) __asm__ ("lds %0,fpscr" : : "r" (cw)) 14 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.10.1/640-alpha-atfcts.patch: -------------------------------------------------------------------------------- 1 | --- glibc-2.7/sysdeps/unix/sysv/linux/kernel-features.h 2007-08-14 06:21:09.000000000 +0300 2 | +++ glibc-2.7/sysdeps/unix/sysv/linux/kernel-features.h.new 2008-07-23 07:05:20.000000000 +0300 3 | @@ -454,8 +454,7 @@ 4 | and on Alpha just after 2.6.22-rc1. */ 5 | #if __LINUX_KERNEL_VERSION >= 0x020611 \ 6 | && ((!defined __sh__ && !defined __alpha__) \ 7 | - || (__LINUX_KERNEL_VERSION >= 0x020613 && defined __sh__) \ 8 | - || (__LINUX_KERNEL_VERSION >= 0x020617 && defined __alpha__)) 9 | + || (__LINUX_KERNEL_VERSION >= 0x020613 && defined __sh__)) 10 | # define __ASSUME_ATFCTS 1 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.10.1/650-syslog.patch: -------------------------------------------------------------------------------- 1 | diff -durN glibc-cvs-2.9.orig/misc/syslog.c glibc-cvs-2.9/misc/syslog.c 2 | --- glibc-cvs-2.9.orig/misc/syslog.c 2009-06-01 10:16:50.000000000 +0200 3 | +++ glibc-cvs-2.9/misc/syslog.c 2009-06-01 10:17:20.000000000 +0200 4 | @@ -152,7 +152,7 @@ 5 | #define INTERNALLOG LOG_ERR|LOG_CONS|LOG_PERROR|LOG_PID 6 | /* Check for invalid bits. */ 7 | if (pri & ~(LOG_PRIMASK|LOG_FACMASK)) { 8 | - syslog(INTERNALLOG, 9 | + __syslog(INTERNALLOG, 10 | "syslog: unknown facility/priority: %x", pri); 11 | pri &= LOG_PRIMASK|LOG_FACMASK; 12 | } 13 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.12.1/430-alpha-creat.patch: -------------------------------------------------------------------------------- 1 | alpha does not have a __NR_creat 2 | 3 | http://bugs.gentoo.org/227275 4 | http://sourceware.org/bugzilla/show_bug.cgi?id=6650 5 | 6 | diff -durN glibc-2.12.1.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c glibc-2.12.1/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 7 | --- glibc-2.12.1.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2007-11-10 20:34:26.000000000 +0100 8 | +++ glibc-2.12.1/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2009-11-13 00:50:51.000000000 +0100 9 | @@ -1 +1,5 @@ 10 | /* Defined as alias for the syscall. */ 11 | +#include 12 | +#ifndef __NR_creat 13 | +#include "../../../../../io/creat64.c" 14 | +#endif 15 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.12.1/630-mips_shn_undef-hack.patch: -------------------------------------------------------------------------------- 1 | diff -durN glibc-2.12.1.orig/elf/dl-lookup.c glibc-2.12.1/elf/dl-lookup.c 2 | --- glibc-2.12.1.orig/elf/dl-lookup.c 2009-03-30 23:14:32.000000000 +0200 3 | +++ glibc-2.12.1/elf/dl-lookup.c 2009-11-13 00:51:36.000000000 +0100 4 | @@ -301,6 +301,12 @@ 5 | /* FALLTHROUGH */ 6 | case STB_GLOBAL: 7 | success: 8 | +#ifdef __mips__ 9 | + /* HACK: MIPS marks its lazy evaluation stubs with SHN_UNDEF 10 | + symbols, we skip them. */ 11 | + if (sym->st_shndx == SHN_UNDEF) 12 | + break; 13 | +#endif 14 | /* Global definition. Just what we need. */ 15 | result->s = sym; 16 | result->m = (struct link_map *) map; 17 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.12.1/640-alpha-atfcts.patch: -------------------------------------------------------------------------------- 1 | --- glibc-2.12.1/sysdeps/unix/sysv/linux/kernel-features.h 2010-07-27 14:34:39.000000000 +0300 2 | +++ glibc-2.12.1/sysdeps/unix/sysv/linux/kernel-features.h.new 2011-03-10 18:54:37.686795979 +0200 3 | @@ -437,7 +437,8 @@ 4 | the code. On PPC they were introduced in 2.6.17-rc1, 5 | on SH in 2.6.19-rc1. */ 6 | #if __LINUX_KERNEL_VERSION >= 0x020611 \ 7 | - && (!defined __sh__ || __LINUX_KERNEL_VERSION >= 0x020613) 8 | + && (!defined __sh__ || __LINUX_KERNEL_VERSION >= 0x020613) \ 9 | + && (!defined __alpha__) 10 | # define __ASSUME_ATFCTS 1 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.12.1/650-syslog.patch: -------------------------------------------------------------------------------- 1 | diff -durN glibc-cvs-2.9.orig/misc/syslog.c glibc-cvs-2.9/misc/syslog.c 2 | --- glibc-cvs-2.9.orig/misc/syslog.c 2009-06-01 10:16:50.000000000 +0200 3 | +++ glibc-cvs-2.9/misc/syslog.c 2009-06-01 10:17:20.000000000 +0200 4 | @@ -152,7 +152,7 @@ 5 | #define INTERNALLOG LOG_ERR|LOG_CONS|LOG_PERROR|LOG_PID 6 | /* Check for invalid bits. */ 7 | if (pri & ~(LOG_PRIMASK|LOG_FACMASK)) { 8 | - syslog(INTERNALLOG, 9 | + __syslog(INTERNALLOG, 10 | "syslog: unknown facility/priority: %x", pri); 11 | pri &= LOG_PRIMASK|LOG_FACMASK; 12 | } 13 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.13/430-alpha-creat.patch: -------------------------------------------------------------------------------- 1 | alpha does not have a __NR_creat 2 | 3 | http://bugs.gentoo.org/227275 4 | http://sourceware.org/bugzilla/show_bug.cgi?id=6650 5 | 6 | diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c glibc-2.13/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 7 | --- glibc-2.13.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2007-11-10 20:34:26.000000000 +0100 8 | +++ glibc-2.13/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2009-11-13 00:50:51.000000000 +0100 9 | @@ -1 +1,5 @@ 10 | /* Defined as alias for the syscall. */ 11 | +#include 12 | +#ifndef __NR_creat 13 | +#include "../../../../../io/creat64.c" 14 | +#endif 15 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.13/630-mips_shn_undef-hack.patch: -------------------------------------------------------------------------------- 1 | diff -durN glibc-2.13.orig/elf/dl-lookup.c glibc-2.13/elf/dl-lookup.c 2 | --- glibc-2.13.orig/elf/dl-lookup.c 2009-03-30 23:14:32.000000000 +0200 3 | +++ glibc-2.13/elf/dl-lookup.c 2009-11-13 00:51:36.000000000 +0100 4 | @@ -301,6 +301,12 @@ 5 | /* FALLTHROUGH */ 6 | case STB_GLOBAL: 7 | success: 8 | +#ifdef __mips__ 9 | + /* HACK: MIPS marks its lazy evaluation stubs with SHN_UNDEF 10 | + symbols, we skip them. */ 11 | + if (sym->st_shndx == SHN_UNDEF) 12 | + break; 13 | +#endif 14 | /* Global definition. Just what we need. */ 15 | result->s = sym; 16 | result->m = (struct link_map *) map; 17 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.13/640-alpha-atfcts.patch: -------------------------------------------------------------------------------- 1 | --- glibc-2.13/sysdeps/unix/sysv/linux/kernel-features.h 2010-07-27 14:34:39.000000000 +0300 2 | +++ glibc-2.13/sysdeps/unix/sysv/linux/kernel-features.h.new 2011-03-10 18:54:37.686795979 +0200 3 | @@ -437,7 +437,8 @@ 4 | the code. On PPC they were introduced in 2.6.17-rc1, 5 | on SH in 2.6.19-rc1. */ 6 | #if __LINUX_KERNEL_VERSION >= 0x020611 \ 7 | - && (!defined __sh__ || __LINUX_KERNEL_VERSION >= 0x020613) 8 | + && (!defined __sh__ || __LINUX_KERNEL_VERSION >= 0x020613) \ 9 | + && (!defined __alpha__) 10 | # define __ASSUME_ATFCTS 1 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.13/650-syslog.patch: -------------------------------------------------------------------------------- 1 | diff -durN glibc-cvs-2.9.orig/misc/syslog.c glibc-cvs-2.9/misc/syslog.c 2 | --- glibc-cvs-2.9.orig/misc/syslog.c 2009-06-01 10:16:50.000000000 +0200 3 | +++ glibc-cvs-2.9/misc/syslog.c 2009-06-01 10:17:20.000000000 +0200 4 | @@ -152,7 +152,7 @@ 5 | #define INTERNALLOG LOG_ERR|LOG_CONS|LOG_PERROR|LOG_PID 6 | /* Check for invalid bits. */ 7 | if (pri & ~(LOG_PRIMASK|LOG_FACMASK)) { 8 | - syslog(INTERNALLOG, 9 | + __syslog(INTERNALLOG, 10 | "syslog: unknown facility/priority: %x", pri); 11 | pri &= LOG_PRIMASK|LOG_FACMASK; 12 | } 13 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.6.1/100-ARM-NPTL.patch: -------------------------------------------------------------------------------- 1 | diff -durN glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2 | --- glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2005-11-16 20:22:59.000000000 +0100 3 | +++ glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2007-09-06 13:53:16.000000000 +0200 4 | @@ -126,3 +126,9 @@ 5 | # define NO_CANCELLATION 1 6 | 7 | #endif 8 | + 9 | +#ifndef __ASSEMBLER__ 10 | +# define RTLD_SINGLE_THREAD_P \ 11 | + __builtin_expect (THREAD_GETMEM (THREAD_SELF, \ 12 | + header.multiple_threads) == 0, 1) 13 | +#endif 14 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.6.1/110-ARM-asm_page_h.patch: -------------------------------------------------------------------------------- 1 | diff -durN glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/ioperm.c glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c 2 | --- glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/ioperm.c 2005-06-10 13:12:09.000000000 +0200 3 | +++ glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/ioperm.c 2008-05-18 16:19:45.000000000 +0200 4 | @@ -45,7 +45,6 @@ 5 | #include 6 | 7 | #include 8 | -#include 9 | #include 10 | 11 | #define PATH_ARM_SYSTYPE "/etc/arm_systype" 12 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.7/100-ARM-asm_page_h.patch: -------------------------------------------------------------------------------- 1 | diff -durN glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/ioperm.c glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c 2 | --- glibc-2.7.orig/glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c 2005-06-10 13:12:09.000000000 +0200 3 | +++ glibc-2.7/glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c 2008-05-18 16:19:45.000000000 +0200 4 | @@ -45,7 +45,6 @@ 5 | #include 6 | 7 | #include 8 | -#include 9 | #include 10 | 11 | #define PATH_ARM_SYSTYPE "/etc/arm_systype" 12 | -------------------------------------------------------------------------------- /patches/glibc/ports-2.7/110-ARM-NPTL.patch: -------------------------------------------------------------------------------- 1 | --- glibc-2.7/glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2007-06-06 19:27:04.000000000 +0200 2 | +++ glibc-2.7/glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2008-05-18 16:57:21.000000000 +0200 3 | @@ -73,6 +73,9 @@ 4 | # define DOCARGS_5 DOCARGS_4 5 | # define UNDOCARGS_5 UNDOCARGS_4 6 | 7 | +# define DOCARGS_6 DOCARGS_5 8 | +# define UNDOCARGS_6 UNDOCARGS_5 9 | + 10 | # ifdef IS_IN_libpthread 11 | # define CENABLE bl PLTJMP(__pthread_enable_asynccancel) 12 | # define CDISABLE bl PLTJMP(__pthread_disable_asynccancel) 13 | -------------------------------------------------------------------------------- /patches/ltrace/0.4/120-alpha-support.patch: -------------------------------------------------------------------------------- 1 | diff -durN ltrace-0.4.orig/Makefile.in ltrace-0.4/Makefile.in 2 | --- ltrace-0.4.orig/Makefile.in 2008-10-26 15:34:21.000000000 +0100 3 | +++ ltrace-0.4/Makefile.in 2008-10-26 15:37:40.000000000 +0100 4 | @@ -5,6 +5,7 @@ 5 | OS := @HOST_OS@ 6 | ARCH := $(shell echo "@HOST_ARCH@" |sed -e s/i.86/i386/ \ 7 | -e s/sun4u/sparc64/ \ 8 | + -e s/alpha.*/alpha/ \ 9 | -e s/arm.*/arm/ \ 10 | -e s/sa110/arm/ \ 11 | -e s/ppc64/ppc/ \ 12 | -------------------------------------------------------------------------------- /patches/ltrace/0.5.1/110-alpha-support.patch: -------------------------------------------------------------------------------- 1 | diff -durN ltrace-0.5.1.orig/Makefile.in ltrace-0.5.1/Makefile.in 2 | --- ltrace-0.5.1.orig/Makefile.in 2009-03-16 17:24:08.000000000 +0100 3 | +++ ltrace-0.5.1/Makefile.in 2009-03-16 17:43:09.000000000 +0100 4 | @@ -5,6 +5,7 @@ 5 | OS := @HOST_OS@ 6 | ARCH := $(shell echo "@HOST_ARCH@" |sed -e s/i.86/i386/ \ 7 | -e s/sun4u/sparc64/ \ 8 | + -e s/alpha.*/alpha/ \ 9 | -e s/arm.*/arm/ \ 10 | -e s/sa110/arm/ \ 11 | -e s/ppc64/ppc/ \ 12 | -------------------------------------------------------------------------------- /patches/ltrace/0.5.2/110-alpha-support.patch: -------------------------------------------------------------------------------- 1 | diff -durN ltrace-0.5.2.orig/Makefile.in ltrace-0.5.2/Makefile.in 2 | --- ltrace-0.5.2.orig/Makefile.in 2009-06-27 15:34:04.000000000 +0200 3 | +++ ltrace-0.5.2/Makefile.in 2009-06-27 15:34:27.000000000 +0200 4 | @@ -5,6 +5,7 @@ 5 | OS := @HOST_OS@ 6 | ARCH := $(shell echo "@HOST_ARCH@" |sed -e s/i.86/i386/ \ 7 | -e s/sun4u/sparc64/ \ 8 | + -e s/alpha.*/alpha/ \ 9 | -e s/arm.*/arm/ \ 10 | -e s/sa110/arm/ \ 11 | -e s/ppc64/ppc/ \ 12 | -------------------------------------------------------------------------------- /patches/ltrace/0.5.3/110-alpha-support.patch: -------------------------------------------------------------------------------- 1 | diff -ru ltrace-0.5.3.orig/sysdeps/linux-gnu/Makefile ltrace-0.5.3/sysdeps/linux-gnu/Makefile 2 | --- ltrace-0.5.3.orig/sysdeps/linux-gnu/Makefile 2009-07-25 17:13:02.000000000 +0200 3 | +++ ltrace-0.5.3/sysdeps/linux-gnu/Makefile 2010-01-01 22:20:45.000000000 +0100 4 | @@ -2,6 +2,7 @@ 5 | -e s/i.86/i386/ \ 6 | -e s/sun4u/sparc64/ \ 7 | -e s/sparc64/sparc/ \ 8 | + -e s/alpha.*/alpha/ \ 9 | -e s/arm.*/arm/ \ 10 | -e s/sa110/arm/ \ 11 | -e s/ppc64/ppc/ \ 12 | -------------------------------------------------------------------------------- /patches/ltrace/0.5.3/130-add-sysdep.patch: -------------------------------------------------------------------------------- 1 | This patch is courtesy of OpenEmbedded, by Khem Raj 2 | 3 | http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=b85b779688f0abc389e3c25d06b54de8b86385c1 4 | 5 | Index: ltrace-0.5.3/Makefile.in 6 | =================================================================== 7 | --- ltrace-0.5.3.orig/Makefile.in 2009-10-23 22:06:08.130304691 -0700 8 | +++ ltrace-0.5.3/Makefile.in 2009-10-23 22:06:53.160369614 -0700 9 | @@ -39,6 +39,8 @@ ltrace: main.o libltrace.a 10 | libltrace.a: sysdeps/sysdep.o $(OBJ) 11 | $(AR) rcv $@ $^ 12 | 13 | +$(OBJ): sysdeps/sysdep.o 14 | + 15 | sysdeps/sysdep.o: dummy 16 | $(MAKE) -C sysdeps/$(OS) 17 | 18 | -------------------------------------------------------------------------------- /patches/ltrace/0.5.3/170-lib-supcc.patch: -------------------------------------------------------------------------------- 1 | Index: ltrace-0.5.3/configure 2 | =================================================================== 3 | --- ltrace-0.5.3/configure 4 | +++ ltrace-0.5.3/configure 5 | @@ -78,7 +78,10 @@ fi 6 | rm -f conftest.c a.out 7 | 8 | CFLAGS='-g -O2' 9 | -LIBS='-lelf -lsupc++ -liberty ' 10 | +LIBS='-lelf' 11 | +[ -n "$HAVE_LIBSUPC__" ] && LIBS="$LIBS -lsupc++" 12 | +[ -n "$HAVE_LIBIBERTY" ] && LIBS="$LIBS -liberty" 13 | + 14 | INSTALL='install -c' 15 | iquote='-iquote ' 16 | iquoteend='' 17 | -------------------------------------------------------------------------------- /patches/ltrace/0.5.3/180-libltrace-genindex.patch: -------------------------------------------------------------------------------- 1 | diff -ru ltrace-0.5.3.org/Makefile.in ltrace-0.5.3/Makefile.in 2 | --- ltrace-0.5.3.org/Makefile.in 2011-08-21 18:55:15.000000000 +0200 3 | +++ ltrace-0.5.3/Makefile.in 2011-08-21 18:40:53.000000000 +0200 4 | @@ -39,7 +40,7 @@ 5 | $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ 6 | 7 | libltrace.a: sysdeps/sysdep.o $(OBJ) 8 | - $(AR) rcv $@ $^ 9 | + $(AR) rscv $@ $^ 10 | 11 | $(OBJ): sysdeps/sysdep.o 12 | 13 | -------------------------------------------------------------------------------- /patches/ltrace/0.5.3/200-configure-hostos.patch: -------------------------------------------------------------------------------- 1 | diff -ru ltrace-0.5.3.org/configure ltrace-0.5.3/configure 2 | --- ltrace-0.5.3.org/configure 2011-08-21 18:55:15.000000000 +0200 3 | +++ ltrace-0.5.3/configure 2011-08-21 18:54:46.000000000 +0200 4 | @@ -15,8 +15,12 @@ 5 | echo $PACKAGE_VERSION 6 | 7 | echo -n "checking HOST_OS... " 8 | -HOST_OS=$( uname -s ) 9 | -if [ "$HOST_OS" = "Linux" ] 10 | +if [ -z "$HOST_OS" ] ; then 11 | + HOST_OS=$( uname -s ) 12 | +else 13 | + echo -n "using preset: " 14 | +fi 15 | +if [ "$HOST_OS" = "Linux" -o "$HOST_OS" = "linux" ] 16 | then 17 | HOST_OS="linux-gnu" 18 | fi 19 | -------------------------------------------------------------------------------- /patches/ltrace/0.5/120-alpha-support.patch: -------------------------------------------------------------------------------- 1 | diff -durN ltrace-0.4.orig/Makefile.in ltrace-0.4/Makefile.in 2 | --- ltrace-0.4.orig/Makefile.in 2008-10-26 15:34:21.000000000 +0100 3 | +++ ltrace-0.4/Makefile.in 2008-10-26 15:37:40.000000000 +0100 4 | @@ -5,6 +5,7 @@ 5 | OS := @HOST_OS@ 6 | ARCH := $(shell echo "@HOST_ARCH@" |sed -e s/i.86/i386/ \ 7 | -e s/sun4u/sparc64/ \ 8 | + -e s/alpha.*/alpha/ \ 9 | -e s/arm.*/arm/ \ 10 | -e s/sa110/arm/ \ 11 | -e s/ppc64/ppc/ \ 12 | -------------------------------------------------------------------------------- /patches/mpc/0.8.1/100-fix-build-with-mpfr-3_0_9.diff: -------------------------------------------------------------------------------- 1 | --- trunk/src/acos.c 2009/12/08 16:49:43 733 2 | +++ trunk/src/acos.c 2009/12/09 20:51:38 734 3 | @@ -188,10 +188,7 @@ 4 | else 5 | rnd_im = rnd_im == GMP_RNDU ? GMP_RNDD 6 | : rnd_im == GMP_RNDD ? GMP_RNDU 7 | -#if MPFR_VERSION_MAJOR >= 3 8 | - : rnd_im == GMP_RNDA ? GMP_RNDZ 9 | -#endif 10 | - : rnd_im; 11 | + : rnd_im; /* both RNDZ and RNDA map to themselves for -asin(z) */ 12 | rnd1 = RNDC(GMP_RNDN, rnd_im); 13 | mpfr_init2 (pi_over_2, p); 14 | for (;;) 15 | -------------------------------------------------------------------------------- /patches/strace/4.5.15/120-fix-arm-bad-syscall.patch: -------------------------------------------------------------------------------- 1 | diff -dur strace-4.5.15.orig/syscall.c strace-4.5.15/syscall.c 2 | --- strace-4.5.15.orig/syscall.c 2006-12-21 23:13:33.000000000 +0100 3 | +++ strace-4.5.15/syscall.c 2007-07-14 19:21:44.000000000 +0200 4 | @@ -1045,6 +1045,15 @@ 5 | /* 6 | * Note: we only deal with only 32-bit CPUs here. 7 | */ 8 | + 9 | + if (!(tcp->flags & TCB_INSYSCALL) && 10 | + (tcp->flags & TCB_WAITEXECVE)) { 11 | + /* caught a fake syscall from the execve's exit */ 12 | + tcp->flags &= ~TCB_WAITEXECVE; 13 | + return 0; 14 | + } 15 | + 16 | + 17 | if (regs.ARM_cpsr & 0x20) { 18 | /* 19 | * Get the Thumb-mode system call number 20 | -------------------------------------------------------------------------------- /patches/strace/4.5.15/140-mips-sprintsigmask-fix.patch: -------------------------------------------------------------------------------- 1 | diff -dur strace-4.5.15.orig/signal.c strace-4.5.15/signal.c 2 | --- strace-4.5.15.orig/signal.c 2007-01-11 23:08:38.000000000 +0100 3 | +++ strace-4.5.15/signal.c 2007-07-14 19:24:43.000000000 +0200 4 | @@ -1440,7 +1440,7 @@ 5 | tcp->u_rval = tcp->u_error = 0; 6 | if(tcp->u_arg[0] == 0) 7 | return 0; 8 | - tcp->auxstr = sprintsigmask("mask now ", tcp->u_arg[1]); 9 | + tcp->auxstr = sprintsigmask("mask now ", tcp->u_arg[1], 0); 10 | return RVAL_NONE | RVAL_STR; 11 | } 12 | return 0; 13 | -------------------------------------------------------------------------------- /patches/strace/4.5.15/170-undef-CTL_PROC.patch: -------------------------------------------------------------------------------- 1 | diff -dur strace-4.5.15.orig/system.c strace-4.5.15/system.c 2 | --- strace-4.5.15.orig/system.c 2007-01-17 00:22:36.000000000 +0100 3 | +++ strace-4.5.15/system.c 2007-07-14 19:28:41.000000000 +0200 4 | @@ -1612,7 +1612,9 @@ 5 | { CTL_KERN, "CTL_KERN" }, 6 | { CTL_VM, "CTL_VM" }, 7 | { CTL_NET, "CTL_NET" }, 8 | +#ifdef CTL_PROC 9 | { CTL_PROC, "CTL_PROC" }, 10 | +#endif 11 | { CTL_FS, "CTL_FS" }, 12 | { CTL_DEBUG, "CTL_DEBUG" }, 13 | { CTL_DEV, "CTL_DEV" }, 14 | -------------------------------------------------------------------------------- /patches/strace/4.5.15/180-undef-PACKET_MEMBERSHIP.patch: -------------------------------------------------------------------------------- 1 | diff -dur strace-4.5.15.orig/net.c strace-4.5.15/net.c 2 | --- strace-4.5.15.orig/net.c 2006-12-13 20:57:23.000000000 +0100 3 | +++ strace-4.5.15/net.c 2007-07-14 19:29:36.000000000 +0200 4 | @@ -800,8 +800,12 @@ 5 | 6 | #ifdef SOL_PACKET 7 | static const struct xlat sockpacketoptions[] = { 8 | +#if defined(PACKET_ADD_MEMBERSHIP) 9 | { PACKET_ADD_MEMBERSHIP, "PACKET_ADD_MEMBERSHIP" }, 10 | +#endif 11 | +#if defined(PACKET_DROP_MEMBERSHIP) 12 | { PACKET_DROP_MEMBERSHIP, "PACKET_DROP_MEMBERSHIP"}, 13 | +#endif 14 | #if defined(PACKET_RECV_OUTPUT) 15 | { PACKET_RECV_OUTPUT, "PACKET_RECV_OUTPUT" }, 16 | #endif 17 | -------------------------------------------------------------------------------- /patches/strace/4.5.16/120-fix-arm-bad-syscall.patch: -------------------------------------------------------------------------------- 1 | diff -dur strace-4.5.16.orig/syscall.c strace-4.5.16/syscall.c 2 | --- strace-4.5.16.orig/syscall.c 2006-12-21 23:13:33.000000000 +0100 3 | +++ strace-4.5.16/syscall.c 2007-07-14 19:21:44.000000000 +0200 4 | @@ -1045,6 +1045,15 @@ 5 | /* 6 | * Note: we only deal with only 32-bit CPUs here. 7 | */ 8 | + 9 | + if (!(tcp->flags & TCB_INSYSCALL) && 10 | + (tcp->flags & TCB_WAITEXECVE)) { 11 | + /* caught a fake syscall from the execve's exit */ 12 | + tcp->flags &= ~TCB_WAITEXECVE; 13 | + return 0; 14 | + } 15 | + 16 | + 17 | if (regs.ARM_cpsr & 0x20) { 18 | /* 19 | * Get the Thumb-mode system call number 20 | -------------------------------------------------------------------------------- /patches/strace/4.5.16/160-undef-CTL_PROC.patch: -------------------------------------------------------------------------------- 1 | diff -dur strace-4.5.16.orig/system.c strace-4.5.16/system.c 2 | --- strace-4.5.16.orig/system.c 2007-01-17 00:22:36.000000000 +0100 3 | +++ strace-4.5.16/system.c 2007-07-14 19:28:41.000000000 +0200 4 | @@ -1612,7 +1612,9 @@ 5 | { CTL_KERN, "CTL_KERN" }, 6 | { CTL_VM, "CTL_VM" }, 7 | { CTL_NET, "CTL_NET" }, 8 | +#ifdef CTL_PROC 9 | { CTL_PROC, "CTL_PROC" }, 10 | +#endif 11 | { CTL_FS, "CTL_FS" }, 12 | { CTL_DEBUG, "CTL_DEBUG" }, 13 | { CTL_DEV, "CTL_DEV" }, 14 | -------------------------------------------------------------------------------- /patches/strace/4.5.16/170-undef-PACKET_MEMBERSHIP.patch: -------------------------------------------------------------------------------- 1 | diff -dur strace-4.5.16.orig/net.c strace-4.5.16/net.c 2 | --- strace-4.5.16.orig/net.c 2006-12-13 20:57:23.000000000 +0100 3 | +++ strace-4.5.16/net.c 2007-07-14 19:29:36.000000000 +0200 4 | @@ -800,8 +800,12 @@ 5 | 6 | #ifdef SOL_PACKET 7 | static const struct xlat sockpacketoptions[] = { 8 | +#if defined(PACKET_ADD_MEMBERSHIP) 9 | { PACKET_ADD_MEMBERSHIP, "PACKET_ADD_MEMBERSHIP" }, 10 | +#endif 11 | +#if defined(PACKET_DROP_MEMBERSHIP) 12 | { PACKET_DROP_MEMBERSHIP, "PACKET_DROP_MEMBERSHIP"}, 13 | +#endif 14 | #if defined(PACKET_RECV_OUTPUT) 15 | { PACKET_RECV_OUTPUT, "PACKET_RECV_OUTPUT" }, 16 | #endif 17 | -------------------------------------------------------------------------------- /patches/strace/4.5.17/150-undef-CTL_PROC.patch: -------------------------------------------------------------------------------- 1 | Original patch from gentoo: ../../dev/crosstool-NG/ct-ng.trunk/patches/strace/4.5.17/150-undef-CTL_PROC.patch 2 | -= BEGIN original header =- 3 | diff -dur strace-4.5.16.orig/system.c strace-4.5.16/system.c 4 | -= END original header =- 5 | diff -durN strace-4.5.17.orig/system.c strace-4.5.17/system.c 6 | --- strace-4.5.17.orig/system.c 2007-01-17 00:22:36.000000000 +0100 7 | +++ strace-4.5.17/system.c 2008-10-24 21:30:13.000000000 +0200 8 | @@ -1612,7 +1612,9 @@ 9 | { CTL_KERN, "CTL_KERN" }, 10 | { CTL_VM, "CTL_VM" }, 11 | { CTL_NET, "CTL_NET" }, 12 | +#ifdef CTL_PROC 13 | { CTL_PROC, "CTL_PROC" }, 14 | +#endif 15 | { CTL_FS, "CTL_FS" }, 16 | { CTL_DEBUG, "CTL_DEBUG" }, 17 | { CTL_DEV, "CTL_DEV" }, 18 | -------------------------------------------------------------------------------- /patches/strace/4.5.18/120-fix-arm-bad-syscall.patch: -------------------------------------------------------------------------------- 1 | diff -dur strace-4.5.16.orig/syscall.c strace-4.5.16/syscall.c 2 | --- strace-4.5.16.orig/syscall.c 2006-12-21 23:13:33.000000000 +0100 3 | +++ strace-4.5.16/syscall.c 2007-07-14 19:21:44.000000000 +0200 4 | @@ -1045,6 +1045,15 @@ 5 | /* 6 | * Note: we only deal with only 32-bit CPUs here. 7 | */ 8 | + 9 | + if (!(tcp->flags & TCB_INSYSCALL) && 10 | + (tcp->flags & TCB_WAITEXECVE)) { 11 | + /* caught a fake syscall from the execve's exit */ 12 | + tcp->flags &= ~TCB_WAITEXECVE; 13 | + return 0; 14 | + } 15 | + 16 | + 17 | if (regs.ARM_cpsr & 0x20) { 18 | /* 19 | * Get the Thumb-mode system call number 20 | -------------------------------------------------------------------------------- /patches/strace/4.5.18/150-undef-CTL_PROC.patch: -------------------------------------------------------------------------------- 1 | diff -dur strace-4.5.16.orig/system.c strace-4.5.16/system.c 2 | --- strace-4.5.16.orig/system.c 2007-01-17 00:22:36.000000000 +0100 3 | +++ strace-4.5.16/system.c 2007-07-14 19:28:41.000000000 +0200 4 | @@ -1612,7 +1612,9 @@ 5 | { CTL_KERN, "CTL_KERN" }, 6 | { CTL_VM, "CTL_VM" }, 7 | { CTL_NET, "CTL_NET" }, 8 | +#ifdef CTL_PROC 9 | { CTL_PROC, "CTL_PROC" }, 10 | +#endif 11 | { CTL_FS, "CTL_FS" }, 12 | { CTL_DEBUG, "CTL_DEBUG" }, 13 | { CTL_DEV, "CTL_DEV" }, 14 | -------------------------------------------------------------------------------- /patches/strace/4.5.19/110-fix-arm-bad-syscall.patch: -------------------------------------------------------------------------------- 1 | diff -durN strace-4.5.19.orig/syscall.c strace-4.5.19/syscall.c 2 | --- strace-4.5.19.orig/syscall.c 2009-10-12 21:54:21.000000000 +0200 3 | +++ strace-4.5.19/syscall.c 2009-10-28 18:47:18.000000000 +0100 4 | @@ -1022,6 +1022,15 @@ 5 | /* 6 | * Note: we only deal with only 32-bit CPUs here. 7 | */ 8 | + 9 | + if (!(tcp->flags & TCB_INSYSCALL) && 10 | + (tcp->flags & TCB_WAITEXECVE)) { 11 | + /* caught a fake syscall from the execve's exit */ 12 | + tcp->flags &= ~TCB_WAITEXECVE; 13 | + return 0; 14 | + } 15 | + 16 | + 17 | if (regs.ARM_cpsr & 0x20) { 18 | /* 19 | * Get the Thumb-mode system call number 20 | -------------------------------------------------------------------------------- /patches/strace/4.5.19/140-undef-CTL_PROC.patch: -------------------------------------------------------------------------------- 1 | diff -durN strace-4.5.19.orig/system.c strace-4.5.19/system.c 2 | --- strace-4.5.19.orig/system.c 2009-06-01 11:59:11.000000000 +0200 3 | +++ strace-4.5.19/system.c 2009-10-28 18:47:18.000000000 +0100 4 | @@ -1654,7 +1654,9 @@ 5 | { CTL_KERN, "CTL_KERN" }, 6 | { CTL_VM, "CTL_VM" }, 7 | { CTL_NET, "CTL_NET" }, 8 | +#ifdef CTL_PROC 9 | { CTL_PROC, "CTL_PROC" }, 10 | +#endif 11 | { CTL_FS, "CTL_FS" }, 12 | { CTL_DEBUG, "CTL_DEBUG" }, 13 | { CTL_DEV, "CTL_DEV" }, 14 | -------------------------------------------------------------------------------- /patches/uClibc/0.9.28.3/100-string-functions.patch: -------------------------------------------------------------------------------- 1 | Give preference to target-optimised functions over glibc's ones, 2 | which in turn ahave precedence over generic ones. 3 | 4 | --- uClibc.orig/libc/Makefile 2005-07-20 08:10:44.000000000 +0200 5 | +++ uclibc/libc/Makefile 2005-07-28 13:33:40.000000000 +0200 6 | @@ -59,7 +59,7 @@ 7 | $(AR) dN 2 $(LIBNAME) $$objs && \ 8 | $(AR) dN 2 $(LIBNAME) $$objs 9 | @for objfile in obj.signal \ 10 | - obj.string.generic obj.string.$(TARGET_ARCH) obj.string \ 11 | + obj.string obj.string.generic obj.string.$(TARGET_ARCH) \ 12 | obj.sysdeps.common obj.sysdeps.$(TARGET_ARCH) ; do \ 13 | if [ -e $$objfile ] ; then \ 14 | echo $(AR) $(ARFLAGS) $(LIBNAME) $$objfile ; \ 15 | -------------------------------------------------------------------------------- /patches/uClibc/0.9.28.3/120-no_LFS-no_readahead.patch: -------------------------------------------------------------------------------- 1 | diff -dur uClibc-0.9.28.1.orig/libc/sysdeps/linux/common/Makefile uClibc-0.9.28.1/libc/sysdeps/linux/common/Makefile 2 | --- uClibc-0.9.28.1.orig/libc/sysdeps/linux/common/Makefile 2007-01-26 00:54:19.000000000 +0100 3 | +++ uClibc-0.9.28.1/libc/sysdeps/linux/common/Makefile 2007-02-01 08:44:37.000000000 +0100 4 | @@ -25,6 +25,10 @@ 5 | SRCS := $(filter-out sbrk.c,$(SRCS)) 6 | endif 7 | 8 | +ifneq ($(strip $(UCLIBC_HAS_LFS)),y) 9 | +SRCS := $(filter-out readahead.c,$(SRCS)) 10 | +endif 11 | + 12 | ifneq ($(strip $(UCLIBC_HAS_SSP)),y) 13 | SRCS := $(filter-out ssp.c,$(SRCS)) 14 | endif 15 | -------------------------------------------------------------------------------- /patches/uClibc/0.9.29/130-fix-gethostent_r-failure-retval.patch: -------------------------------------------------------------------------------- 1 | diff -ur uClibc-0.9.29/libc/inet/resolv.c uClibc-0.9.29-patched/libc/inet/resolv.c 2 | --- uClibc-0.9.29/libc/inet/resolv.c 2007-04-23 12:01:05.000000000 -0500 3 | +++ uClibc-0.9.29-patched/libc/inet/resolv.c 2007-05-09 18:05:33.563404419 -0500 4 | @@ -1700,7 +1700,7 @@ 5 | int gethostent_r(struct hostent *result_buf, char *buf, size_t buflen, 6 | struct hostent **result, int *h_errnop) 7 | { 8 | - int ret; 9 | + int ret = HOST_NOT_FOUND; 10 | 11 | __UCLIBC_MUTEX_LOCK(mylock); 12 | if (__gethostent_fp == NULL) { 13 | -------------------------------------------------------------------------------- /patches/uClibc/0.9.30.1/100-fix-gethostent_r-failure-retval.patch: -------------------------------------------------------------------------------- 1 | Original patch from Gentoo. 2 | 3 | -= BEGIN original header =- 4 | -= END original header =- 5 | 6 | diff -durN uClibc-0.9.30.orig/libc/inet/resolv.c uClibc-0.9.30/libc/inet/resolv.c 7 | --- uClibc-0.9.30.orig/libc/inet/resolv.c 2008-11-02 01:25:33.000000000 +0100 8 | +++ uClibc-0.9.30/libc/inet/resolv.c 2009-02-07 09:57:59.000000000 +0100 9 | @@ -1788,7 +1788,7 @@ 10 | int gethostent_r(struct hostent *result_buf, char *buf, size_t buflen, 11 | struct hostent **result, int *h_errnop) 12 | { 13 | - int ret; 14 | + int ret = HOST_NOT_FOUND; 15 | 16 | __UCLIBC_MUTEX_LOCK(mylock); 17 | if (__gethostent_fp == NULL) { 18 | -------------------------------------------------------------------------------- /patches/uClibc/0.9.30.1/140-gnu89-inline.patch: -------------------------------------------------------------------------------- 1 | Original patch from Gentoo. 2 | 3 | -= BEGIN original header =- 4 | -= END original header =- 5 | 6 | diff -durN uClibc-0.9.30.orig/Rules.mak uClibc-0.9.30/Rules.mak 7 | --- uClibc-0.9.30.orig/Rules.mak 2008-11-12 13:24:16.000000000 +0100 8 | +++ uClibc-0.9.30/Rules.mak 2009-02-07 09:57:59.000000000 +0100 9 | @@ -519,6 +519,7 @@ 10 | endif 11 | 12 | CFLAGS += $(call check_gcc,-std=gnu99,) 13 | +CFLAGS += $(call check_gcc,-fgnu89-inline,) 14 | 15 | LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -Wl,-shared \ 16 | -Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc 17 | -------------------------------------------------------------------------------- /patches/uClibc/0.9.30.1/190-fix-getaddrinfo-NULL-pointer-dereference.patch: -------------------------------------------------------------------------------- 1 | diff -Narup uClibc-0.9.30.1.orig/libc/inet/getaddrinfo.c uClibc-0.9.30.1/libc/inet/getaddrinfo.c 2 | --- uClibc-0.9.30.1.orig/libc/inet/getaddrinfo.c 2009-02-26 21:49:14.000000000 +0900 3 | +++ uClibc-0.9.30.1/libc/inet/getaddrinfo.c 2009-03-06 00:59:23.000000000 +0900 4 | @@ -187,6 +187,8 @@ static unsigned __check_pf(void) 5 | } 6 | 7 | for (runp = ifa; runp != NULL; runp = runp->ifa_next) { 8 | + if (runp->ifa_addr == NULL) 9 | + continue; 10 | #if defined __UCLIBC_HAS_IPV4__ 11 | if (runp->ifa_addr->sa_family == PF_INET) 12 | seen |= SEEN_IPV4; 13 | -------------------------------------------------------------------------------- /patches/uClibc/0.9.30.2/100-fix-gethostent_r-failure-retval.patch: -------------------------------------------------------------------------------- 1 | Original patch from Gentoo. 2 | 3 | -= BEGIN original header =- 4 | -= END original header =- 5 | 6 | diff -durN uClibc-0.9.30.orig/libc/inet/resolv.c uClibc-0.9.30/libc/inet/resolv.c 7 | --- uClibc-0.9.30.orig/libc/inet/resolv.c 2008-11-02 01:25:33.000000000 +0100 8 | +++ uClibc-0.9.30/libc/inet/resolv.c 2009-02-07 09:57:59.000000000 +0100 9 | @@ -1788,7 +1788,7 @@ 10 | int gethostent_r(struct hostent *result_buf, char *buf, size_t buflen, 11 | struct hostent **result, int *h_errnop) 12 | { 13 | - int ret; 14 | + int ret = HOST_NOT_FOUND; 15 | 16 | __UCLIBC_MUTEX_LOCK(mylock); 17 | if (__gethostent_fp == NULL) { 18 | -------------------------------------------------------------------------------- /patches/uClibc/0.9.30.2/130-gnu89-inline.patch: -------------------------------------------------------------------------------- 1 | Original patch from Gentoo. 2 | 3 | -= BEGIN original header =- 4 | -= END original header =- 5 | 6 | diff -durN uClibc-0.9.30.orig/Rules.mak uClibc-0.9.30/Rules.mak 7 | --- uClibc-0.9.30.orig/Rules.mak 2008-11-12 13:24:16.000000000 +0100 8 | +++ uClibc-0.9.30/Rules.mak 2009-02-07 09:57:59.000000000 +0100 9 | @@ -519,6 +519,7 @@ 10 | endif 11 | 12 | CFLAGS += $(call check_gcc,-std=gnu99,) 13 | +CFLAGS += $(call check_gcc,-fgnu89-inline,) 14 | 15 | LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -shared \ 16 | -Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc 17 | -------------------------------------------------------------------------------- /patches/uClibc/0.9.30/100-fix-gethostent_r-failure-retval.patch: -------------------------------------------------------------------------------- 1 | Original patch from Gentoo. 2 | 3 | -= BEGIN original header =- 4 | -= END original header =- 5 | 6 | diff -durN uClibc-0.9.30.orig/libc/inet/resolv.c uClibc-0.9.30/libc/inet/resolv.c 7 | --- uClibc-0.9.30.orig/libc/inet/resolv.c 2008-11-02 01:25:33.000000000 +0100 8 | +++ uClibc-0.9.30/libc/inet/resolv.c 2009-02-07 09:57:59.000000000 +0100 9 | @@ -1788,7 +1788,7 @@ 10 | int gethostent_r(struct hostent *result_buf, char *buf, size_t buflen, 11 | struct hostent **result, int *h_errnop) 12 | { 13 | - int ret; 14 | + int ret = HOST_NOT_FOUND; 15 | 16 | __UCLIBC_MUTEX_LOCK(mylock); 17 | if (__gethostent_fp == NULL) { 18 | -------------------------------------------------------------------------------- /patches/uClibc/0.9.30/140-gnu89-inline.patch: -------------------------------------------------------------------------------- 1 | Original patch from Gentoo. 2 | 3 | -= BEGIN original header =- 4 | -= END original header =- 5 | 6 | diff -durN uClibc-0.9.30.orig/Rules.mak uClibc-0.9.30/Rules.mak 7 | --- uClibc-0.9.30.orig/Rules.mak 2008-11-12 13:24:16.000000000 +0100 8 | +++ uClibc-0.9.30/Rules.mak 2009-02-07 09:57:59.000000000 +0100 9 | @@ -502,6 +502,7 @@ 10 | endif 11 | 12 | CFLAGS += $(call check_gcc,-std=gnu99,) 13 | +CFLAGS += $(call check_gcc,-fgnu89-inline,) 14 | 15 | LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -Wl,-shared \ 16 | -Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc 17 | -------------------------------------------------------------------------------- /patches/uClibc/0.9.30/210-find-portable.patch: -------------------------------------------------------------------------------- 1 | --- uClibc-0.9.30.orig/extra/scripts/install_headers.sh 2008-10-10 15:50:38.000000000 +0200 2 | +++ uClibc-0.9.30/extra/scripts/install_headers.sh 2011-08-21 09:49:03.000000000 +0200 3 | @@ -33,7 +33,7 @@ 4 | ( 5 | # We must cd, or else we'll prepend "$1" to filenames! 6 | cd "$1" || exit 1 7 | -find ! -name '.' -a ! -path '*/.*' | sed -e 's/^\.\///' -e '/^config\//d' \ 8 | +find . ! -name '.' -a ! -path '*/.*' | sed -e 's/^\.\///' -e '/^config\//d' \ 9 | -e '/^config$/d' 10 | ) | \ 11 | ( 12 | -------------------------------------------------------------------------------- /samples/alphaev56-unknown-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_CPU="ev56" 5 | CT_ARCH_TUNE="ev56" 6 | CT_ARCH_ALPHA_EV56=y 7 | CT_KERNEL_linux=y 8 | CT_BINUTILS_PLUGINS=y 9 | CT_LIBC_glibc=y 10 | CT_LIBC_GLIBC_USE_PORTS=y 11 | CT_CC_LANG_CXX=y 12 | -------------------------------------------------------------------------------- /samples/alphaev56-unknown-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Ioannis E. VENETIS" 2 | reporter_url="http://sourceware.org/ml/crossgcc/2009-11/msg00109.html" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/alphaev67-unknown-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_CPU="ev56" 5 | CT_ARCH_TUNE="ev56" 6 | CT_ARCH_ALPHA_EV67=y 7 | CT_KERNEL_linux=y 8 | CT_BINUTILS_PLUGINS=y 9 | CT_LIBC_glibc=y 10 | CT_LIBC_GLIBC_USE_PORTS=y 11 | CT_CC_LANG_CXX=y 12 | # CT_CC_GCC_ENABLE_TARGET_OPTSPACE is not set 13 | -------------------------------------------------------------------------------- /samples/alphaev67-unknown-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Ioannis E. Venetis" 2 | reporter_url="http://sourceware.org/ml/crossgcc/2011-05/msg00005.html" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/arm-bare_newlib_cortex_m3_nommu-eabi/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_CPU="cortex-m3" 5 | CT_ARCH_TUNE="cortex-m3" 6 | CT_ARCH_FLOAT_SW=y 7 | CT_ARCH_arm=y 8 | # CT_ARCH_USE_MMU is not set 9 | CT_ARCH_ARM_MODE_THUMB=y 10 | CT_TARGET_VENDOR="bare_newlib_cortex_m3_nommu" 11 | CT_ARCH_BINFMT_FLAT=y 12 | CT_LIBC_NEWLIB_IO_C99FMT=y 13 | CT_LIBC_NEWLIB_IO_LL=y 14 | CT_LIBC_NEWLIB_IO_FLOAT=y 15 | CT_LIBC_NEWLIB_IO_LDBL=y 16 | CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y 17 | CT_CC_LANG_CXX=y 18 | CT_CC_GCC_BUILD_ID=y 19 | -------------------------------------------------------------------------------- /samples/arm-bare_newlib_cortex_m3_nommu-eabi/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Yann E. MORIN" 2 | reporter_url="http://ymorin.is-a-geek.org/projects/crosstool" 3 | reporter_comment="Experimental toolchain for ARM cortex-m3 in Thumb-only, noMMU, and newlib." 4 | -------------------------------------------------------------------------------- /samples/arm-cortex_a15-linux-gnueabi/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_CPU="cortex-a15" 5 | CT_ARCH_TUNE="cortex-a15" 6 | CT_ARCH_FPU="neon-vfpv4" 7 | CT_ARCH_FLOAT_HW=y 8 | CT_ARCH_arm=y 9 | CT_TARGET_VENDOR="cortex_a15" 10 | CT_KERNEL_linux=y 11 | CT_BINUTILS_LINKER_LD_GOLD=y 12 | CT_BINUTILS_GOLD_THREADS=y 13 | CT_BINUTILS_LD_WRAPPER=y 14 | CT_BINUTILS_PLUGINS=y 15 | CT_LIBC_glibc=y 16 | CT_CC_GCC_SHOW_LINARO=y 17 | CT_CC_LANG_CXX=y 18 | CT_DEBUG_dmalloc=y 19 | CT_DEBUG_duma=y 20 | CT_DEBUG_gdb=y 21 | # CT_GDB_CROSS_PYTHON is not set 22 | CT_GDB_NATIVE=y 23 | CT_GDB_NATIVE_STATIC=y 24 | CT_DEBUG_strace=y 25 | -------------------------------------------------------------------------------- /samples/arm-cortex_a15-linux-gnueabi/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="dsreed on freenode/#crosstool-ng" 2 | reporter_url="" 3 | reporter_comment="Enables experimental support for VFP/NEON hardware floating point." 4 | -------------------------------------------------------------------------------- /samples/arm-cortex_a8-linux-gnueabi/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_ARCH="armv7-a" 5 | CT_ARCH_CPU="cortex-a8" 6 | CT_ARCH_TUNE="cortex-a8" 7 | CT_ARCH_FLOAT_SW=y 8 | CT_ARCH_arm=y 9 | CT_TARGET_VENDOR="cortex_a8" 10 | CT_KERNEL_linux=y 11 | CT_BINUTILS_LINKER_LD_GOLD=y 12 | CT_BINUTILS_GOLD_THREADS=y 13 | CT_BINUTILS_LD_WRAPPER=y 14 | CT_BINUTILS_PLUGINS=y 15 | CT_LIBC_glibc=y 16 | CT_CC_LANG_CXX=y 17 | CT_DEBUG_dmalloc=y 18 | CT_DEBUG_duma=y 19 | CT_DEBUG_gdb=y 20 | # CT_GDB_CROSS_PYTHON is not set 21 | CT_GDB_NATIVE=y 22 | CT_GDB_NATIVE_STATIC=y 23 | CT_DEBUG_ltrace=y 24 | CT_DEBUG_strace=y 25 | -------------------------------------------------------------------------------- /samples/arm-cortex_a8-linux-gnueabi/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Yann E. MORIN" 2 | reporter_url="http://ymorin.is-a-geek.org/" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/arm-cortexa5-linux-uclibcgnueabihf/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Alexandre Belloni" 2 | reporter_url="https://plus.google.com/+AlexandreBelloni" 3 | reporter_comment="Cortex-A5 using the hard-float GNU EABI (VFPV4-D16 whithout NEON)." 4 | -------------------------------------------------------------------------------- /samples/arm-cortexa9_neon-linux-gnueabihf/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Benoît Thébaudeau" 2 | reporter_url="http://www.advansee.com/" 3 | reporter_comment="Cortex-A9 with NEON support using the hard-float GNU EABI." 4 | -------------------------------------------------------------------------------- /samples/arm-unknown-eabi/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_FLOAT_SW=y 5 | CT_ARCH_arm=y 6 | CT_LIBC_NEWLIB_IO_C99FMT=y 7 | CT_LIBC_NEWLIB_IO_LL=y 8 | CT_LIBC_NEWLIB_IO_FLOAT=y 9 | CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y 10 | CT_CC_LANG_CXX=y 11 | -------------------------------------------------------------------------------- /samples/arm-unknown-eabi/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="YEM" 2 | reporter_url="http://ymorin.is-a-geek.org/" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/arm-unknown-linux-gnueabi/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | # CT_REMOVE_DOCS is not set 4 | CT_LOG_EXTRA=y 5 | CT_ARCH_FLOAT_SW=y 6 | CT_ARCH_arm=y 7 | CT_KERNEL_linux=y 8 | CT_BINUTILS_LINKER_LD_GOLD=y 9 | CT_BINUTILS_GOLD_THREADS=y 10 | CT_BINUTILS_LD_WRAPPER=y 11 | CT_BINUTILS_PLUGINS=y 12 | CT_LIBC_glibc=y 13 | CT_CC_LANG_CXX=y 14 | # CT_CC_GCC_SJLJ_EXCEPTIONS is not set 15 | CT_DEBUG_dmalloc=y 16 | CT_DEBUG_duma=y 17 | CT_DEBUG_gdb=y 18 | # CT_GDB_CROSS_PYTHON is not set 19 | CT_GDB_NATIVE=y 20 | CT_DEBUG_ltrace=y 21 | CT_DEBUG_strace=y 22 | -------------------------------------------------------------------------------- /samples/arm-unknown-linux-gnueabi/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Alexander BIGGA" 2 | reporter_url="http://sourceware.org/ml/crossgcc/2008-06/msg00031.html" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/arm-unknown-linux-uclibcgnueabi/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_ARCH="armv5te" 5 | CT_ARCH_CPU="arm926ej-s" 6 | CT_ARCH_TUNE="arm926ej-s" 7 | CT_ARCH_FLOAT_SW=y 8 | CT_ARCH_arm=y 9 | CT_KERNEL_linux=y 10 | CT_BINUTILS_LINKER_LD_GOLD=y 11 | CT_BINUTILS_GOLD_THREADS=y 12 | CT_BINUTILS_LD_WRAPPER=y 13 | CT_BINUTILS_PLUGINS=y 14 | CT_LIBC_uClibc=y 15 | CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" 16 | CT_CC_LANG_CXX=y 17 | CT_DEBUG_dmalloc=y 18 | CT_DEBUG_duma=y 19 | CT_DEBUG_gdb=y 20 | CT_GDB_CROSS_STATIC=y 21 | CT_GDB_NATIVE=y 22 | CT_GDB_NATIVE_STATIC=y 23 | CT_DEBUG_ltrace=y 24 | CT_DEBUG_strace=y 25 | -------------------------------------------------------------------------------- /samples/arm-unknown-linux-uclibcgnueabi/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Thomas Petazzoni" 2 | reporter_url="https://plus.google.com/+ThomasPetazzoni" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/arm-unknown-linux-uclibcgnueabihf/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Yann E. MORIN" 2 | reporter_url="http://ymorin.is-a-geek.org/" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/armeb-unknown-eabi/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_BE=y 5 | CT_ARCH_FLOAT_SW=y 6 | CT_ARCH_arm=y 7 | CT_BINUTILS_LINKER_LD_GOLD=y 8 | CT_BINUTILS_GOLD_THREADS=y 9 | CT_BINUTILS_LD_WRAPPER=y 10 | CT_BINUTILS_PLUGINS=y 11 | CT_LIBC_none=y 12 | # CT_CC_GCC_USE_GRAPHITE is not set 13 | # CT_CC_GCC_USE_LTO is not set 14 | CT_DEBUG_gdb=y 15 | -------------------------------------------------------------------------------- /samples/armeb-unknown-eabi/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="YEM" 2 | reporter_url="http://ymorin.is-a-geek.org/" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/armeb-unknown-linux-gnueabi/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_ARCH="armv5te" 5 | CT_ARCH_BE=y 6 | CT_ARCH_FLOAT_SW=y 7 | CT_ARCH_arm=y 8 | CT_KERNEL_linux=y 9 | CT_BINUTILS_LINKER_LD_GOLD=y 10 | CT_BINUTILS_GOLD_THREADS=y 11 | CT_BINUTILS_LD_WRAPPER=y 12 | CT_BINUTILS_PLUGINS=y 13 | CT_LIBC_glibc=y 14 | CT_CC_LANG_CXX=y 15 | # CT_CC_GCC_SJLJ_EXCEPTIONS is not set 16 | CT_DEBUG_dmalloc=y 17 | CT_DEBUG_duma=y 18 | CT_DEBUG_gdb=y 19 | # CT_GDB_CROSS_PYTHON is not set 20 | CT_GDB_NATIVE=y 21 | CT_DEBUG_ltrace=y 22 | CT_DEBUG_strace=y 23 | -------------------------------------------------------------------------------- /samples/armeb-unknown-linux-gnueabi/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="YEM" 2 | reporter_url="http://ymorin.is-a-geek.org/" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/armeb-unknown-linux-uclibcgnueabi/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="YEM" 2 | reporter_url="http://ymorin.is-a-geek.org/" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/armv6-rpi-linux-gnueabi/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Yann E. MORIN" 2 | reporter_url="http://ymorin.is-a-geek.org/" 3 | reporter_comment="Toolchain for the Raspberry Pi, with hard-float." 4 | -------------------------------------------------------------------------------- /samples/avr32-unknown-none/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_CONFIG_SHELL_SH=y 4 | CT_LOG_EXTRA=y 5 | CT_ARCH_avr32=y 6 | CT_BINUTILS_V_2_18a=y 7 | CT_CC_V_4_2_2=y 8 | CT_LIBC_NEWLIB_V_1_17_0=y 9 | CT_LIBC_NEWLIB_IO_LL=y 10 | CT_LIBC_NEWLIB_IO_FLOAT=y 11 | CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y 12 | -------------------------------------------------------------------------------- /samples/avr32-unknown-none/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Martin Lund" 2 | reporter_url="http://www.doredevelopment.dk" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/bfin-unknown-linux-uclibc/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_blackfin=y 5 | CT_KERNEL_linux=y 6 | CT_ARCH_BINFMT_FDPIC=y 7 | CT_BINUTILS_PLUGINS=y 8 | CT_LIBC_uClibc=y 9 | CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" 10 | CT_THREADS_LT=y 11 | CT_CC_V_4_5_3=y 12 | # CT_CC_GCC_USE_GRAPHITE is not set 13 | # CT_CC_GCC_USE_LTO is not set 14 | CT_GMP_V_4_3_2=y 15 | CT_MPFR_V_2_4_2=y 16 | CT_COMP_TOOLS=y 17 | CT_COMP_TOOLS_autoconf=y 18 | CT_COMP_TOOLS_automake=y 19 | CT_COMP_TOOLS_libtool=y 20 | -------------------------------------------------------------------------------- /samples/bfin-unknown-linux-uclibc/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Thomas Petazzoni" 2 | reporter_url="http://www.free-electrons.com/" 3 | reporter_comment="Very basic testing only" 4 | -------------------------------------------------------------------------------- /samples/i586-geode-linux-uclibc/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_ARCH="pentium-mmx" 5 | CT_ARCH_x86=y 6 | CT_TARGET_VENDOR="geode" 7 | CT_KERNEL_linux=y 8 | CT_BINUTILS_LINKER_LD_GOLD=y 9 | CT_BINUTILS_GOLD_THREADS=y 10 | CT_BINUTILS_LD_WRAPPER=y 11 | CT_BINUTILS_PLUGINS=y 12 | CT_LIBC_uClibc=y 13 | CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" 14 | CT_LIBC_UCLIBC_LOCALES=y 15 | CT_CC_LANG_CXX=y 16 | CT_DEBUG_dmalloc=y 17 | CT_DEBUG_duma=y 18 | CT_DEBUG_gdb=y 19 | # CT_GDB_CROSS_PYTHON is not set 20 | CT_GDB_NATIVE=y 21 | CT_DEBUG_strace=y 22 | -------------------------------------------------------------------------------- /samples/i586-geode-linux-uclibc/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="YEM" 2 | reporter_url="http://ymorin.is-a-geek.org/" 3 | reporter_comment="Sample i586 configuration tweaked to generate code for the geode." 4 | -------------------------------------------------------------------------------- /samples/i586-mingw32msvc,i686-none-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_ARCH="i686" 5 | CT_ARCH_TUNE="i686" 6 | CT_ARCH_x86=y 7 | CT_TARGET_VENDOR="none" 8 | CT_CANADIAN=y 9 | CT_HOST="i586-mingw32msvc" 10 | CT_KERNEL_linux=y 11 | CT_LIBC_glibc=y 12 | # CT_LIBC_XLDD is not set 13 | CT_CC_LANG_CXX=y 14 | -------------------------------------------------------------------------------- /samples/i586-mingw32msvc,i686-none-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="" 2 | reporter_url="" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/i686-nptl-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_ARCH="i686" 5 | CT_ARCH_x86=y 6 | CT_TARGET_VENDOR="nptl" 7 | CT_KERNEL_linux=y 8 | CT_BINUTILS_LINKER_LD_GOLD=y 9 | CT_BINUTILS_GOLD_THREADS=y 10 | CT_BINUTILS_LD_WRAPPER=y 11 | CT_BINUTILS_PLUGINS=y 12 | CT_LIBC_glibc=y 13 | CT_CC_LANG_CXX=y 14 | CT_DEBUG_dmalloc=y 15 | CT_DEBUG_duma=y 16 | CT_DEBUG_gdb=y 17 | # CT_GDB_CROSS_PYTHON is not set 18 | CT_GDB_NATIVE=y 19 | CT_DEBUG_ltrace=y 20 | CT_DEBUG_strace=y 21 | -------------------------------------------------------------------------------- /samples/i686-nptl-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="YEM" 2 | reporter_url="http://ymorin.is-a-geek.org/" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/i686-unknown-mingw32/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_ARCH="i686" 5 | CT_ARCH_x86=y 6 | CT_KERNEL_windows=y 7 | CT_BINUTILS_PLUGINS=y 8 | CT_MINGW_DIRECTX=y 9 | CT_MINGW_DDK=y 10 | CT_CC_V_4_8_3=y 11 | CT_CC_LANG_CXX=y 12 | -------------------------------------------------------------------------------- /samples/i686-unknown-mingw32/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Yann Diorcet " 2 | reporter_url="" 3 | reporter_comment="Config to build cross-compiler with mingw as kernel type for 4 | 32 bits Windows target" 5 | -------------------------------------------------------------------------------- /samples/m68k-unknown-elf/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_CPU="cpu32" 5 | CT_ARCH_m68k=y 6 | CT_ARCH_BINFMT_FLAT=y 7 | CT_LIBC_none=y 8 | # CT_CC_GCC_USE_GRAPHITE is not set 9 | # CT_CC_GCC_USE_LTO is not set 10 | CT_COMP_TOOLS=y 11 | CT_COMP_TOOLS_autoconf=y 12 | CT_COMP_TOOLS_automake=y 13 | CT_COMP_TOOLS_libtool=y 14 | -------------------------------------------------------------------------------- /samples/m68k-unknown-elf/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Remy Bohmer" 2 | reporter_url="linux@bohmer.net" 3 | reporter_comment="Example for building a toolchain for m68000 bare metal targets" 4 | -------------------------------------------------------------------------------- /samples/m68k-unknown-uclinux-uclibc/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_m68k=y 5 | CT_KERNEL_linux=y 6 | CT_LIBC_uClibc=y 7 | CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" 8 | CT_THREADS_LT=y 9 | -------------------------------------------------------------------------------- /samples/m68k-unknown-uclinux-uclibc/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Esben Haabendal" 2 | reporter_url="esben@haabendal.dk" 3 | reporter_comment="Example for building a toolchain for m68k no-mmu Linux targets" 4 | -------------------------------------------------------------------------------- /samples/mips-ar2315-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_ARCH="4kc" 5 | CT_ARCH_TUNE="4kc" 6 | CT_ARCH_FLOAT_SW=y 7 | CT_ARCH_mips=y 8 | CT_TARGET_VENDOR="ar2315" 9 | CT_KERNEL_linux=y 10 | CT_BINUTILS_PLUGINS=y 11 | CT_LIBC_glibc=y 12 | CT_CC_LANG_CXX=y 13 | CT_CC_GCC_mips_plt=y 14 | CT_DEBUG_gdb=y 15 | # CT_GDB_CROSS_PYTHON is not set 16 | -------------------------------------------------------------------------------- /samples/mips-ar2315-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Giammarco Zacheo" 2 | reporter_url="" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/mips-malta-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_mips=y 5 | CT_TARGET_VENDOR="malta" 6 | CT_KERNEL_linux=y 7 | CT_BINUTILS_PLUGINS=y 8 | CT_LIBC_glibc=y 9 | CT_CC_LANG_CXX=y 10 | CT_CC_GCC_mips_plt=y 11 | CT_DEBUG_gdb=y 12 | # CT_GDB_CROSS_PYTHON is not set 13 | -------------------------------------------------------------------------------- /samples/mips-malta-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Antony Pavlov" 2 | reporter_url="" 3 | reporter_comment="Experimental toolchain for MIPS32r2" 4 | -------------------------------------------------------------------------------- /samples/mips-unknown-elf/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_FLOAT_SW=y 5 | CT_ARCH_mips=y 6 | CT_LIBC_none=y 7 | CT_CC_GCC_mips_plt=y 8 | CT_DEBUG_gdb=y 9 | # CT_GDB_CROSS_PYTHON is not set 10 | -------------------------------------------------------------------------------- /samples/mips-unknown-elf/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="YEM" 2 | reporter_url="http://ymorin.is-a-geek.org/" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/mips-unknown-linux-uclibc/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_ARCH="mips1" 5 | CT_ARCH_FLOAT_SW=y 6 | CT_ARCH_mips=y 7 | CT_KERNEL_linux=y 8 | CT_BINUTILS_PLUGINS=y 9 | CT_LIBC_uClibc=y 10 | CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" 11 | CT_LIBC_UCLIBC_WCHAR=y 12 | CT_CC_LANG_CXX=y 13 | CT_CC_GCC_mips_plt=y 14 | CT_DEBUG_dmalloc=y 15 | CT_DEBUG_duma=y 16 | CT_DEBUG_gdb=y 17 | # CT_GDB_CROSS_PYTHON is not set 18 | -------------------------------------------------------------------------------- /samples/mips-unknown-linux-uclibc/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="YEM" 2 | reporter_url="http://ymorin.is-a-geek.org/" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/mips64el-n32-linux-uclibc/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_EXPERIMENTAL=y 2 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 3 | CT_SAVE_TARBALLS=y 4 | CT_LOG_EXTRA=y 5 | CT_ARCH_LE=y 6 | CT_ARCH_64=y 7 | CT_ARCH_FLOAT_SW=y 8 | CT_ARCH_mips=y 9 | CT_TARGET_VENDOR="n32" 10 | CT_KERNEL_linux=y 11 | CT_BINUTILS_V_2_22=y 12 | CT_BINUTILS_PLUGINS=y 13 | CT_LIBC_uClibc=y 14 | CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" 15 | CT_LIBC_UCLIBC_WCHAR=y 16 | CT_CC_LANG_CXX=y 17 | CT_CC_GCC_mips_plt=y 18 | -------------------------------------------------------------------------------- /samples/mips64el-n32-linux-uclibc/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Yann E. MORIN" 2 | reporter_url="http://ymorin.is-a-geek.org/projects/crosstool" 3 | reporter_comment="EXPERIMENTAL MIPS-64 n32 toolchain." 4 | -------------------------------------------------------------------------------- /samples/mips64el-n64-linux-uclibc/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_EXPERIMENTAL=y 2 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 3 | CT_SAVE_TARBALLS=y 4 | CT_LOG_EXTRA=y 5 | CT_ARCH_LE=y 6 | CT_ARCH_64=y 7 | CT_ARCH_FLOAT_SW=y 8 | CT_ARCH_mips=y 9 | CT_ARCH_mips_n64=y 10 | CT_TARGET_VENDOR="n64" 11 | CT_KERNEL_linux=y 12 | CT_BINUTILS_V_2_22=y 13 | CT_BINUTILS_PLUGINS=y 14 | CT_LIBC_uClibc=y 15 | CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" 16 | CT_LIBC_UCLIBC_WCHAR=y 17 | CT_CC_LANG_CXX=y 18 | CT_CC_GCC_mips_plt=y 19 | -------------------------------------------------------------------------------- /samples/mips64el-n64-linux-uclibc/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Yann E. MORIN" 2 | reporter_url="http://ymorin.is-a-geek.org/projects/crosstool" 3 | reporter_comment="EXPERIMENTAL MIPS-64 n64 toolchain." 4 | -------------------------------------------------------------------------------- /samples/mipsel-sde-elf/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_LE=y 5 | CT_ARCH_FLOAT_SW=y 6 | CT_ARCH_mips=y 7 | CT_TARGET_VENDOR="sde" 8 | CT_LIBC_none=y 9 | # CT_CC_GCC_ENABLE_TARGET_OPTSPACE is not set 10 | CT_DEBUG_gdb=y 11 | # CT_GDB_CROSS_PYTHON is not set 12 | -------------------------------------------------------------------------------- /samples/mipsel-sde-elf/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Kevin Cernekee" 2 | reporter_url="http://sourceware.org/ml/crossgcc/2011-09/msg00037.html" 3 | reporter_comment="MIPS SDE-compatible toolchain" 4 | -------------------------------------------------------------------------------- /samples/mipsel-unknown-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_ARCH="mips1" 5 | CT_ARCH_LE=y 6 | CT_ARCH_FLOAT_SW=y 7 | CT_ARCH_mips=y 8 | CT_KERNEL_linux=y 9 | CT_BINUTILS_PLUGINS=y 10 | CT_LIBC_glibc=y 11 | CT_CC_LANG_CXX=y 12 | CT_CC_GCC_mips_plt=y 13 | CT_DEBUG_dmalloc=y 14 | CT_DEBUG_duma=y 15 | CT_DEBUG_gdb=y 16 | # CT_GDB_CROSS_PYTHON is not set 17 | CT_GDB_NATIVE=y 18 | CT_DEBUG_strace=y 19 | -------------------------------------------------------------------------------- /samples/mipsel-unknown-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Alexander BIGGA" 2 | reporter_url="http://sourceware.org/ml/crossgcc/2008-07/msg00000.html" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/powerpc-405-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_CPU="405" 5 | CT_ARCH_TUNE="405" 6 | CT_ARCH_FLOAT_SW=y 7 | CT_ARCH_powerpc=y 8 | CT_TARGET_VENDOR="405" 9 | CT_KERNEL_linux=y 10 | CT_BINUTILS_PLUGINS=y 11 | CT_LIBC_glibc=y 12 | CT_LIBC_GLIBC_USE_PORTS=y 13 | CT_CC_LANG_CXX=y 14 | CT_DEBUG_gdb=y 15 | # CT_GDB_CROSS_PYTHON is not set 16 | -------------------------------------------------------------------------------- /samples/powerpc-405-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Julien DUSSER" 2 | reporter_url="http://sourceware.org/ml/crossgcc/2008-10/msg00054.html" 3 | reporter_comment="Soft-float for the 405 PowerPC" 4 | -------------------------------------------------------------------------------- /samples/powerpc-860-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_CPU="860" 5 | CT_ARCH_FLOAT_SW=y 6 | CT_ARCH_powerpc=y 7 | CT_TARGET_VENDOR="860" 8 | CT_KERNEL_linux=y 9 | CT_BINUTILS_PLUGINS=y 10 | CT_LIBC_glibc=y 11 | CT_LIBC_GLIBC_EXTRA_CONFIG_ARRAY="--without-fp" 12 | CT_CC_LANG_CXX=y 13 | CT_CC_EXTRA_CONFIG_ARRAY="--with-cpu=860 --enable-cxx-flags=-mcpu=860 --with-float=soft --enable-cxx-flags=-msoft-float" 14 | CT_DEBUG_gdb=y 15 | # CT_GDB_CROSS_PYTHON is not set 16 | -------------------------------------------------------------------------------- /samples/powerpc-860-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Nye Liu" 2 | reporter_url="http://sourceware.org/ml/crossgcc/2008-10/msg00046.html" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/powerpc-e300c3-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_CPU="e300c3" 5 | CT_ARCH_TUNE="e300c3" 6 | CT_ARCH_powerpc=y 7 | CT_TARGET_VENDOR="e300c3" 8 | CT_KERNEL_linux=y 9 | CT_BINUTILS_PLUGINS=y 10 | CT_LIBC_glibc=y 11 | CT_CC_LANG_CXX=y 12 | # CT_CC_GCC_ENABLE_TARGET_OPTSPACE is not set 13 | -------------------------------------------------------------------------------- /samples/powerpc-e300c3-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Gustavo Zacarias " 2 | reporter_url="http://sourceware.org/ml/crossgcc/2011-03/msg00028.html" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/powerpc-unknown-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_powerpc=y 5 | CT_KERNEL_linux=y 6 | CT_BINUTILS_PLUGINS=y 7 | CT_LIBC_glibc=y 8 | CT_CC_LANG_CXX=y 9 | CT_DEBUG_duma=y 10 | CT_DEBUG_gdb=y 11 | # CT_GDB_CROSS_PYTHON is not set 12 | CT_GDB_NATIVE=y 13 | CT_DEBUG_strace=y 14 | -------------------------------------------------------------------------------- /samples/powerpc-unknown-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Thomas JOURDAN" 2 | reporter_url="" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/powerpc-unknown-linux-uclibc/broken: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/esp8266/crosstool-NG/69ddd7276ebb4f80d51b51fb28a2a08be4528b48/samples/powerpc-unknown-linux-uclibc/broken -------------------------------------------------------------------------------- /samples/powerpc-unknown-linux-uclibc/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_FLOAT_SW=y 5 | CT_ARCH_powerpc=y 6 | CT_KERNEL_linux=y 7 | CT_KERNEL_V_2_6_31=y 8 | CT_BINUTILS_V_2_19_1a=y 9 | CT_BINUTILS_FOR_TARGET=y 10 | CT_CC_V_4_2_4=y 11 | CT_CC_LANG_FORTRAN=y 12 | CT_CC_LANG_CXX=y 13 | CT_LIBC_uClibc=y 14 | CT_LIBC_UCLIBC_V_0_9_30_1=y 15 | CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" 16 | CT_DEBUG_dmalloc=y 17 | CT_DEBUG_duma=y 18 | CT_DEBUG_gdb=y 19 | CT_GDB_NATIVE=y 20 | CT_GDB_V_6_8a=y 21 | CT_DEBUG_strace=y 22 | CT_STRACE_V_4_5_19=y 23 | CT_GMP_V_4_3_2=y 24 | CT_MPFR_V_2_4_2=y 25 | -------------------------------------------------------------------------------- /samples/powerpc-unknown-linux-uclibc/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Daniel DITTMANN" 2 | reporter_url="" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_FLOAT_SW=y 5 | CT_ARCH_powerpc=y 6 | CT_TARGET_VENDOR="unknown_nofpu" 7 | CT_KERNEL_linux=y 8 | CT_BINUTILS_PLUGINS=y 9 | CT_LIBC_glibc=y 10 | CT_CC_LANG_CXX=y 11 | CT_DEBUG_duma=y 12 | CT_DEBUG_gdb=y 13 | CT_GDB_V_6_8a=y 14 | CT_DEBUG_strace=y 15 | CT_STRACE_V_4_5_19=y 16 | -------------------------------------------------------------------------------- /samples/powerpc-unknown_nofpu-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Thomas JOURDAN" 2 | reporter_url="" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/powerpc64-unknown-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_64=y 5 | CT_ARCH_powerpc=y 6 | CT_KERNEL_linux=y 7 | CT_BINUTILS_PLUGINS=y 8 | CT_LIBC_glibc=y 9 | CT_CC_LANG_CXX=y 10 | CT_DEBUG_gdb=y 11 | # CT_GDB_CROSS_PYTHON is not set 12 | CT_GDB_NATIVE=y 13 | -------------------------------------------------------------------------------- /samples/powerpc64-unknown-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Yann E. MORIN" 2 | reporter_url="http://ymorin.is-a-geek.org/dokuwiki/projects/crosstool" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/s390-ibm-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_EXPERIMENTAL=y 2 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 3 | CT_SAVE_TARBALLS=y 4 | CT_LOG_EXTRA=y 5 | CT_ARCH_s390=y 6 | CT_KERNEL_linux=y 7 | CT_BINUTILS_PLUGINS=y 8 | CT_LIBC_glibc=y 9 | CT_CC_LANG_CXX=y 10 | -------------------------------------------------------------------------------- /samples/s390-ibm-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Harold Grovesteen" 2 | reporter_url="http://sourceware.org/ml/crossgcc/2009-11/msg00052.html" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/s390x-ibm-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_PATCH_NONE=y 4 | CT_LOG_EXTRA=y 5 | CT_ARCH_64=y 6 | CT_ARCH_s390=y 7 | CT_KERNEL_linux=y 8 | CT_BINUTILS_PLUGINS=y 9 | CT_LIBC_glibc=y 10 | CT_CC_LANG_CXX=y 11 | -------------------------------------------------------------------------------- /samples/s390x-ibm-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Harold Grovesteen" 2 | reporter_url="http://sourceware.org/ml/crossgcc/2009-11/msg00052.html" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/sh4-unknown-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_sh=y 5 | CT_ARCH_SH_SH4=y 6 | CT_KERNEL_linux=y 7 | CT_BINUTILS_PLUGINS=y 8 | CT_LIBC_glibc=y 9 | CT_CC_LANG_CXX=y 10 | CT_DEBUG_gdb=y 11 | # CT_GDB_CROSS_PYTHON is not set 12 | -------------------------------------------------------------------------------- /samples/sh4-unknown-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="YEM" 2 | reporter_url="http://ymorin.is-a-geek.org/" 3 | reporter_comment="EXPERIMENTAL Super-H sh4 sample." 4 | -------------------------------------------------------------------------------- /samples/sparc-unknown-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_sparc=y 5 | CT_KERNEL_linux=y 6 | CT_LIBC_glibc=y 7 | CT_LIBC_GLIBC_USE_PORTS=y 8 | -------------------------------------------------------------------------------- /samples/sparc-unknown-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Yann E. MORIN" 2 | reporter_url="" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/x86_64-unknown-linux-gnu/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_64=y 5 | CT_ARCH_x86=y 6 | CT_KERNEL_linux=y 7 | CT_BINUTILS_LINKER_LD_GOLD=y 8 | CT_BINUTILS_GOLD_THREADS=y 9 | CT_BINUTILS_LD_WRAPPER=y 10 | CT_BINUTILS_PLUGINS=y 11 | CT_LIBC_glibc=y 12 | CT_LIBC_GLIBC_KERNEL_VERSION_NONE=y 13 | CT_CC_LANG_CXX=y 14 | CT_CC_GCC_LNK_HASH_STYLE_BOTH=y 15 | CT_DEBUG_gdb=y 16 | -------------------------------------------------------------------------------- /samples/x86_64-unknown-linux-gnu/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Thomas JOURDAN" 2 | reporter_url="" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/x86_64-unknown-linux-uclibc/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_64=y 5 | CT_ARCH_x86=y 6 | CT_KERNEL_linux=y 7 | # CT_KERNEL_LINUX_INSTALL_CHECK is not set 8 | CT_BINUTILS_LINKER_LD_GOLD=y 9 | CT_BINUTILS_GOLD_THREADS=y 10 | CT_BINUTILS_LD_WRAPPER=y 11 | CT_BINUTILS_PLUGINS=y 12 | CT_LIBC_uClibc=y 13 | CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" 14 | CT_LIBC_UCLIBC_LOCALES=y 15 | CT_CC_LANG_CXX=y 16 | CT_CC_EXTRA_CONFIG_ARRAY="--disable-libsanitizer" 17 | CT_DEBUG_dmalloc=y 18 | CT_DEBUG_duma=y 19 | CT_DEBUG_gdb=y 20 | CT_GDB_NATIVE=y 21 | -------------------------------------------------------------------------------- /samples/x86_64-unknown-linux-uclibc/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="YEM" 2 | reporter_url="http://ymorin.is-a-geek.org/" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /samples/x86_64-unknown-mingw32/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_LOCAL_TARBALLS_DIR="${HOME}/src" 2 | CT_SAVE_TARBALLS=y 3 | CT_LOG_EXTRA=y 4 | CT_ARCH_64=y 5 | CT_ARCH_x86=y 6 | CT_KERNEL_windows=y 7 | CT_BINUTILS_PLUGINS=y 8 | CT_MINGW_DIRECTX=y 9 | CT_MINGW_DDK=y 10 | CT_CC_LANG_CXX=y 11 | -------------------------------------------------------------------------------- /samples/x86_64-unknown-mingw32/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Yann Diorcet " 2 | reporter_url="" 3 | reporter_comment="Config to build cross-compiler with mingw as kernel type for 4 | 64 bits Windows target" 5 | -------------------------------------------------------------------------------- /samples/xtensa-lx106-elf/crosstool.config: -------------------------------------------------------------------------------- 1 | CT_EXPERIMENTAL=y 2 | CT_PREFIX_DIR="${CT_TOP_DIR}/builds/${CT_TARGET}" 3 | CT_PATCH_BUNDLED_LOCAL=y 4 | CT_LOCAL_PATCH_DIR="${CT_TOP_DIR}/local-patches" 5 | CT_ARCH_xtensa=y 6 | CT_XTENSA_CUSTOM=y 7 | CT_ARCH_XTENSA_CUSTOM_NAME="lx106" 8 | CT_ARCH_XTENSA_CUSTOM_OVERLAY_LOCATION="${CT_TOP_DIR}/overlays" 9 | CT_TARGET_VENDOR="lx106" 10 | CT_LIBC_none=y 11 | CT_CC_V_4_8_2=y 12 | # CT_CC_STATIC_LIBSTDCXX is not set 13 | -------------------------------------------------------------------------------- /samples/xtensa-lx106-elf/reported.by: -------------------------------------------------------------------------------- 1 | reporter_name="Max Filippov " 2 | reporter_url="http://www.esp8266.com/viewtopic.php?f=9&t=224" 3 | reporter_comment="" 4 | -------------------------------------------------------------------------------- /scripts/.gitignore: -------------------------------------------------------------------------------- 1 | crosstool-NG.sh 2 | saveSample.sh 3 | showTuple.sh 4 | -------------------------------------------------------------------------------- /scripts/build/arch/alpha.sh: -------------------------------------------------------------------------------- 1 | # Compute Alpha-specific values 2 | 3 | CT_DoArchTupleValues () { 4 | # The architecture part of the tuple: 5 | CT_TARGET_ARCH="${CT_ARCH}${CT_ARCH_SUFFIX:-${CT_ARCH_ALPHA_VARIANT}}" 6 | } 7 | -------------------------------------------------------------------------------- /scripts/build/arch/avr32.sh: -------------------------------------------------------------------------------- 1 | # Compute AVR32-specific values 2 | 3 | CT_DoArchTupleValues() { 4 | # gcc ./configure flags 5 | CT_ARCH_WITH_ARCH= 6 | CT_ARCH_WITH_ABI= 7 | CT_ARCH_WITH_CPU= 8 | CT_ARCH_WITH_TUNE= 9 | CT_ARCH_WITH_FPU= 10 | CT_ARCH_WITH_FLOAT= 11 | CT_TARGET_SYS=none 12 | 13 | } 14 | -------------------------------------------------------------------------------- /scripts/build/arch/blackfin.sh: -------------------------------------------------------------------------------- 1 | # Compute Blackfin-specific values 2 | 3 | CT_DoArchTupleValues() { 4 | # The architecture part of the tuple: 5 | CT_TARGET_ARCH="bfin${CT_ARCH_SUFFIX}" 6 | 7 | # gcc ./configure flags 8 | CT_ARCH_WITH_ARCH= 9 | CT_ARCH_WITH_ABI= 10 | CT_ARCH_WITH_CPU= 11 | CT_ARCH_WITH_TUNE= 12 | CT_ARCH_WITH_FPU= 13 | CT_ARCH_WITH_FLOAT= 14 | } 15 | -------------------------------------------------------------------------------- /scripts/build/arch/m68k.sh: -------------------------------------------------------------------------------- 1 | # Compute M68k-specific values 2 | 3 | CT_DoArchTupleValues() { 4 | : 5 | } 6 | -------------------------------------------------------------------------------- /scripts/build/arch/microblaze.sh: -------------------------------------------------------------------------------- 1 | # Compute microblaze specific values 2 | 3 | CT_DoArchTupleValues () { 4 | # The architecture part of the tuple: 5 | CT_TARGET_ARCH="${CT_ARCH}${CT_ARCH_SUFFIX:-${target_endian_el}}" 6 | 7 | # gcc ./configure flags 8 | CT_ARCH_WITH_ARCH= 9 | CT_ARCH_WITH_ABI= 10 | CT_ARCH_WITH_CPU= 11 | CT_ARCH_WITH_TUNE= 12 | CT_ARCH_WITH_FPU= 13 | CT_ARCH_WITH_FLOAT= 14 | 15 | # CFLAGS 16 | case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in 17 | y,) CT_ARCH_FLOAT_CFLAG="-mhard-float" ;; 18 | ,y) CT_ARCH_FLOAT_CFLAG="-msoft-float" ;; 19 | esac 20 | 21 | } 22 | -------------------------------------------------------------------------------- /scripts/build/arch/mips.sh: -------------------------------------------------------------------------------- 1 | # Compute MIPS-specific values 2 | 3 | CT_DoArchTupleValues() { 4 | # The architecture part of the tuple 5 | CT_TARGET_ARCH="${CT_ARCH}${target_bits_64}${CT_ARCH_SUFFIX:-${target_endian_el}}" 6 | 7 | # Override CFLAGS for endianness: 8 | case "${CT_ARCH_ENDIAN}" in 9 | big) CT_ARCH_ENDIAN_CFLAG="-EB";; 10 | little) CT_ARCH_ENDIAN_CFLAG="-EL";; 11 | esac 12 | 13 | # Override ABI flags 14 | CT_ARCH_ABI_CFLAG="-mabi=${CT_ARCH_mips_ABI}" 15 | CT_ARCH_WITH_ABI="--with-abi=${CT_ARCH_mips_ABI}" 16 | } 17 | -------------------------------------------------------------------------------- /scripts/build/arch/s390.sh: -------------------------------------------------------------------------------- 1 | # Compute s390-specific values 2 | 3 | CT_DoArchTupleValues() { 4 | # That's the only thing to override 5 | if [ "${CT_ARCH_64}" = "y" ]; then 6 | CT_TARGET_ARCH="s390x${CT_ARCH_SUFFIX}" 7 | fi 8 | } 9 | -------------------------------------------------------------------------------- /scripts/build/arch/sparc.sh: -------------------------------------------------------------------------------- 1 | # Compute sparc-specific values 2 | CT_DoArchTupleValues() { 3 | # That's the only thing to override 4 | CT_TARGET_ARCH="sparc${target_bits_64}${CT_ARCH_SUFFIX}" 5 | } 6 | -------------------------------------------------------------------------------- /scripts/build/binutils/binutils-ld.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | call_to=@@DEFAULT_LD@@ 4 | 5 | case "${CTNG_LD_IS}" in 6 | bfd) call_to=bfd;; 7 | gold) call_to=gold;; 8 | esac 9 | 10 | exec "${0}.${call_to}" "$@" 11 | exit $? 12 | -------------------------------------------------------------------------------- /scripts/build/debug/gdbinit.in: -------------------------------------------------------------------------------- 1 | python 2 | import sys 3 | sys.path.insert(0, '@@PREFIX@@/share/gcc-@@VERSION@@/python') 4 | from libstdcxx.v6.printers import register_libstdcxx_printers 5 | register_libstdcxx_printers (None) 6 | end 7 | -------------------------------------------------------------------------------- /scripts/build/kernel/bare-metal.sh: -------------------------------------------------------------------------------- 1 | # This file declares functions for bare metal kernel (IE. none) 2 | # Copyright 2008 Yann E. MORIN 3 | # Licensed under the GPL v2. See COPYING in the root of this package 4 | 5 | CT_DoKernelTupleValues() { 6 | # For bare-metal, there is no kernel part in the tuple 7 | CT_TARGET_KERNEL= 8 | } 9 | 10 | do_kernel_get() { 11 | : 12 | } 13 | 14 | do_kernel_extract() { 15 | : 16 | } 17 | 18 | do_kernel_headers() { 19 | : 20 | } 21 | -------------------------------------------------------------------------------- /scripts/build/kernel/windows.sh: -------------------------------------------------------------------------------- 1 | # This file declares functions to install the kernel headers for mingw64 2 | # Copyright 2012 Yann Diorcet 3 | # Licensed under the GPL v2. See COPYING in the root of this package 4 | 5 | CT_DoKernelTupleValues() { 6 | # Even we compile for x86_64 target architecture, the target OS have to 7 | # bet mingw32 (require by gcc and mingw-w64) 8 | CT_TARGET_KERNEL="mingw32" 9 | CT_TARGET_SYS= 10 | } 11 | 12 | do_kernel_get() { 13 | : 14 | } 15 | 16 | do_kernel_extract() { 17 | : 18 | } 19 | 20 | do_kernel_headers() { 21 | : 22 | } 23 | -------------------------------------------------------------------------------- /scripts/build/libc/none.sh: -------------------------------------------------------------------------------- 1 | # This file adds functions to build the C library for bare metal (IE. none) 2 | # Copyright 2008 Yann E. MORIN 3 | # Licensed under the GPL v2. See COPYING in the root of this package 4 | 5 | do_libc_get() { 6 | : 7 | } 8 | 9 | do_libc_extract() { 10 | : 11 | } 12 | 13 | do_libc_check_config() { 14 | : 15 | } 16 | 17 | do_libc_start_files() { 18 | : 19 | } 20 | 21 | do_libc() { 22 | : 23 | } 24 | -------------------------------------------------------------------------------- /scripts/toolchain-config.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | tail -n+5 "${0}" |bzcat 4 | exit 0 5 | --------------------------------------------------------------------------------