summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-09-23 20:58:16 (GMT)
committerAlexey Neyman <stilor@att.net>2018-09-25 06:09:53 (GMT)
commit98834458f12d36fb485f4706625a26d2f7e6c69d (patch)
treec570d5145dbee4daf166593fb95afc63e8f8d27f /packages
parenteb65ba65ba761f2ff613342498fd58fcefdc606e (diff)
Upgrades. Lots of 'em.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages')
-rw-r--r--packages/android-ndk/r17c/chksum4
-rw-r--r--packages/android-ndk/r17c/version.desc (renamed from packages/linux/4.9.93/version.desc)0
-rw-r--r--packages/android-ndk/r18/chksum4
-rw-r--r--packages/android-ndk/r18/version.desc (renamed from packages/linux/4.16.1/version.desc)0
-rw-r--r--packages/binutils/2.31.1/0000-sh-conf.patch34
-rw-r--r--packages/binutils/2.31.1/0001-001_ld_makefile_patch.patch27
-rw-r--r--packages/binutils/2.31.1/0002-012_check_ldrunpath_length.patch24
-rw-r--r--packages/binutils/2.31.1/0003-MinGW-w64-winpthreads-doesnt-have-pthread_mutexattr_settype.patch15
-rw-r--r--packages/binutils/2.31.1/0004-Dont-link-to-libfl-as-its-unnecessary.patch105
-rw-r--r--packages/binutils/2.31.1/0005-Darwin-gold-binary-cc-include-string-not-cstring.patch15
-rw-r--r--packages/binutils/2.31.1/0006-Darwin-Two-fixes-from-Android-NDK-PTHREAD_ONCE_INIT-wcsncasecmp.patch70
-rw-r--r--packages/binutils/2.31.1/0007-sysroot.patch41
-rw-r--r--packages/binutils/2.31.1/0008-poison-system-directories.patch279
-rw-r--r--packages/binutils/2.31.1/chksum12
-rw-r--r--packages/binutils/2.31.1/version.desc (renamed from packages/linux/4.15/version.desc)0
-rw-r--r--packages/expat/2.2.5/chksum4
-rw-r--r--packages/expat/2.2.6/chksum4
-rw-r--r--packages/expat/2.2.6/version.desc (renamed from packages/linux/4.15.16/version.desc)0
-rw-r--r--packages/gcc-linaro/6.4-2017.11/chksum4
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0000-libtool-leave-framework-alone.patch (renamed from packages/gcc/8.1.0/0000-libtool-leave-framework-alone.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0001-uclibc-conf.patch (renamed from packages/gcc/8.1.0/0001-uclibc-conf.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0002-missing-execinfo_h.patch (renamed from packages/gcc-linaro/6.4-2017.11/0002-missing-execinfo_h.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0003-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch (renamed from packages/gcc-linaro/6.4-2017.11/0003-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch)6
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0004-gcc-plugin-POSIX-include-sys-select-h.patch (renamed from packages/gcc-linaro/6.4-2017.11/0004-gcc-plugin-POSIX-include-sys-select-h.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0005-arm-softfloat-libgcc.patch (renamed from packages/gcc-linaro/6.4-2017.11/0005-arm-softfloat-libgcc.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0006-arm_unbreak_armv4t.patch (renamed from packages/gcc-linaro/6.4-2017.11/0006-arm_unbreak_armv4t.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0007-cilk-wchar.patch (renamed from packages/gcc-linaro/6.4-2017.11/0007-cilk-wchar.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0008-fix-m68k-compile.patch (renamed from packages/gcc-linaro/6.4-2017.11/0008-fix-m68k-compile.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0009-fix-m68k-uclinux.patch (renamed from packages/gcc-linaro/6.4-2017.11/0009-fix-m68k-uclinux.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0010-libgcc-mkmap-symver-support-skip_underscore.patch (renamed from packages/gcc-linaro/6.4-2017.11/0010-libgcc-mkmap-symver-support-skip_underscore.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0011-libgcc-config-bfin-use-the-generic-linker-version-in.patch (renamed from packages/gcc-linaro/6.4-2017.11/0011-libgcc-config-bfin-use-the-generic-linker-version-in.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0012-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch (renamed from packages/gcc-linaro/6.4-2017.11/0012-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0013-bfin-define-REENTRANT.patch (renamed from packages/gcc-linaro/6.4-2017.11/0013-bfin-define-REENTRANT.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0014-libgfortran-missing-include.patch (renamed from packages/gcc-linaro/6.4-2017.11/0014-libgfortran-missing-include.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0015-nios2-bad-multilib-default.patch (renamed from packages/gcc-linaro/6.4-2017.11/0015-nios2-bad-multilib-default.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0016-libgcc-disable-split-stack-nothreads.patch (renamed from packages/gcc-linaro/6.4-2017.11/0016-libgcc-disable-split-stack-nothreads.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0017-uclinux-enable-threads.patch (renamed from packages/gcc-linaro/6.4-2017.11/0017-uclinux-enable-threads.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0018-bionic-ndk.patch (renamed from packages/gcc-linaro/6.4-2017.11/0018-bionic-ndk.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0019-bionic-errno.patch (renamed from packages/gcc-linaro/6.4-2017.11/0019-bionic-errno.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0020-crystax.patch (renamed from packages/gcc-linaro/6.4-2017.11/0020-crystax.patch)8
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0021-crystax.patch (renamed from packages/gcc-linaro/6.4-2017.11/0021-crystax.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0022-crystax.patch (renamed from packages/gcc-linaro/6.4-2017.11/0022-crystax.patch)6
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0023-crystax.patch (renamed from packages/gcc-linaro/6.4-2017.11/0023-crystax.patch)2
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0024-crystax.patch (renamed from packages/gcc-linaro/6.4-2017.11/0024-crystax.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0025-crystax.patch (renamed from packages/gcc-linaro/6.4-2017.11/0025-crystax.patch)2
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0026-crystax.patch (renamed from packages/gcc-linaro/6.4-2017.11/0026-crystax.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0027-crystax.patch (renamed from packages/gcc-linaro/6.4-2017.11/0027-crystax.patch)0
-rw-r--r--packages/gcc-linaro/6.4-2018.05/chksum4
-rw-r--r--packages/gcc-linaro/6.4-2018.05/version.desc (renamed from packages/linux/4.14.33/version.desc)0
-rw-r--r--packages/gcc-linaro/7.2-2017.11/chksum4
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0000-libtool-leave-framework-alone.patch (renamed from packages/gcc-linaro/7.2-2017.11/0000-libtool-leave-framework-alone.patch)0
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0001-uclibc-conf.patch (renamed from packages/gcc-linaro/7.2-2017.11/0001-uclibc-conf.patch)0
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch (renamed from packages/gcc-linaro/7.2-2017.11/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch)6
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0003-gcc-plugin-POSIX-include-sys-select-h.patch (renamed from packages/gcc/8.1.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch)0
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0004-arm-softfloat-libgcc.patch (renamed from packages/gcc/8.1.0/0004-arm-softfloat-libgcc.patch)0
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0005-cilk-wchar.patch (renamed from packages/gcc-linaro/7.2-2017.11/0005-cilk-wchar.patch)0
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0006-fix-m68k-uclinux.patch (renamed from packages/gcc-linaro/7.2-2017.11/0006-fix-m68k-uclinux.patch)0
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0007-libgfortran-missing-include.patch (renamed from packages/gcc-linaro/7.2-2017.11/0007-libgfortran-missing-include.patch)0
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0008-nios2-bad-multilib-default.patch (renamed from packages/gcc-linaro/7.2-2017.11/0008-nios2-bad-multilib-default.patch)0
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0009-libgcc-disable-split-stack-nothreads.patch (renamed from packages/gcc-linaro/7.2-2017.11/0009-libgcc-disable-split-stack-nothreads.patch)0
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0010-bionic-ndk.patch (renamed from packages/gcc-linaro/7.2-2017.11/0010-bionic-ndk.patch)0
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0011-bionic-errno.patch (renamed from packages/gcc-linaro/7.2-2017.11/0011-bionic-errno.patch)0
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0012-crystax.patch (renamed from packages/gcc-linaro/7.2-2017.11/0012-crystax.patch)10
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0013-crystax.patch (renamed from packages/gcc-linaro/7.2-2017.11/0013-crystax.patch)0
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0014-crystax.patch (renamed from packages/gcc-linaro/7.2-2017.11/0014-crystax.patch)6
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0015-crystax.patch (renamed from packages/gcc-linaro/7.2-2017.11/0015-crystax.patch)2
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0016-crystax.patch (renamed from packages/gcc-linaro/7.2-2017.11/0016-crystax.patch)0
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0017-crystax.patch (renamed from packages/gcc-linaro/7.2-2017.11/0017-crystax.patch)2
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0018-crystax.patch (renamed from packages/gcc-linaro/7.2-2017.11/0018-crystax.patch)0
-rw-r--r--packages/gcc-linaro/7.3-2018.05/0019-crystax.patch (renamed from packages/gcc-linaro/7.2-2017.11/0019-crystax.patch)0
-rw-r--r--packages/gcc-linaro/7.3-2018.05/chksum4
-rw-r--r--packages/gcc-linaro/7.3-2018.05/version.desc (renamed from packages/linux/3.16.56/version.desc)0
-rw-r--r--packages/gcc/8.1.0/0018-ARC-Reimplement-return-padding-operation-for-ARC700.patch402
-rw-r--r--packages/gcc/8.1.0/0018-xscale.patch52
-rw-r--r--packages/gcc/8.1.0/0020-ARC-Don-t-mention-not-yet-supported-hs4xy-CPUs.patch35
-rw-r--r--packages/gcc/8.1.0/0021-xtensa-fix-PR-target-65416.patch101
-rw-r--r--packages/gcc/8.1.0/chksum8
-rw-r--r--packages/gcc/8.2.0/0000-libtool-leave-framework-alone.patch (renamed from packages/gcc-linaro/6.4-2017.11/0000-libtool-leave-framework-alone.patch)0
-rw-r--r--packages/gcc/8.2.0/0001-uclibc-conf.patch (renamed from packages/gcc-linaro/6.4-2017.11/0001-uclibc-conf.patch)0
-rw-r--r--packages/gcc/8.2.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch (renamed from packages/gcc/8.1.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch)0
-rw-r--r--packages/gcc/8.2.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch (renamed from packages/gcc-linaro/7.2-2017.11/0003-gcc-plugin-POSIX-include-sys-select-h.patch)0
-rw-r--r--packages/gcc/8.2.0/0004-arm-softfloat-libgcc.patch (renamed from packages/gcc-linaro/7.2-2017.11/0004-arm-softfloat-libgcc.patch)0
-rw-r--r--packages/gcc/8.2.0/0005-fix-m68k-uclinux.patch (renamed from packages/gcc/8.1.0/0005-fix-m68k-uclinux.patch)0
-rw-r--r--packages/gcc/8.2.0/0006-libgfortran-missing-include.patch (renamed from packages/gcc/8.1.0/0006-libgfortran-missing-include.patch)0
-rw-r--r--packages/gcc/8.2.0/0007-nios2-bad-multilib-default.patch (renamed from packages/gcc/8.1.0/0007-nios2-bad-multilib-default.patch)0
-rw-r--r--packages/gcc/8.2.0/0008-libgcc-disable-split-stack-nothreads.patch (renamed from packages/gcc/8.1.0/0008-libgcc-disable-split-stack-nothreads.patch)0
-rw-r--r--packages/gcc/8.2.0/0009-bionic-ndk.patch (renamed from packages/gcc/8.1.0/0009-bionic-ndk.patch)0
-rw-r--r--packages/gcc/8.2.0/0010-crystax.patch (renamed from packages/gcc/8.1.0/0010-crystax.patch)4
-rw-r--r--packages/gcc/8.2.0/0011-crystax.patch (renamed from packages/gcc/8.1.0/0011-crystax.patch)0
-rw-r--r--packages/gcc/8.2.0/0012-crystax.patch (renamed from packages/gcc/8.1.0/0012-crystax.patch)0
-rw-r--r--packages/gcc/8.2.0/0013-crystax.patch (renamed from packages/gcc/8.1.0/0013-crystax.patch)2
-rw-r--r--packages/gcc/8.2.0/0014-crystax.patch (renamed from packages/gcc/8.1.0/0014-crystax.patch)0
-rw-r--r--packages/gcc/8.2.0/0015-crystax.patch (renamed from packages/gcc/8.1.0/0015-crystax.patch)0
-rw-r--r--packages/gcc/8.2.0/0016-crystax.patch (renamed from packages/gcc/8.1.0/0016-crystax.patch)0
-rw-r--r--packages/gcc/8.2.0/0017-crystax.patch (renamed from packages/gcc/8.1.0/0017-crystax.patch)0
-rw-r--r--packages/gcc/8.2.0/0018-ARC-Add-multilib-support-for-linux-targets.patch (renamed from packages/gcc/8.1.0/0019-ARC-Add-multilib-support-for-linux-targets.patch)14
-rw-r--r--packages/gcc/8.2.0/chksum8
-rw-r--r--packages/gcc/8.2.0/version.desc (renamed from packages/gdb/8.1/version.desc)0
-rw-r--r--packages/gdb/8.1.1/0000-musl_fix.patch (renamed from packages/gdb/8.1/0000-musl_fix.patch)0
-rw-r--r--packages/gdb/8.1.1/0001-uclibc-no-gettimeofday-clobber.patch (renamed from packages/gdb/8.1/0001-uclibc-no-gettimeofday-clobber.patch)0
-rw-r--r--packages/gdb/8.1.1/0002-xtensa-make-sure-ar_base-is-initialized.patch (renamed from packages/gdb/8.1/0002-xtensa-make-sure-ar_base-is-initialized.patch)0
-rw-r--r--packages/gdb/8.1.1/0003-WIP-end-of-prologue-detection-hack.patch (renamed from packages/gdb/8.1/0003-WIP-end-of-prologue-detection-hack.patch)0
-rw-r--r--packages/gdb/8.1.1/0004-allow-android.patch (renamed from packages/gdb/8.1/0004-allow-android.patch)0
-rw-r--r--packages/gdb/8.1.1/chksum8
-rw-r--r--packages/gdb/8.1.1/version.desc (renamed from packages/gcc/8.1.0/version.desc)0
-rw-r--r--packages/gdb/8.1/chksum8
-rw-r--r--packages/gdb/8.2/0000-musl_fix.patch33
-rw-r--r--packages/gdb/8.2/0001-uclibc-no-gettimeofday-clobber.patch33
-rw-r--r--packages/gdb/8.2/0002-xtensa-make-sure-ar_base-is-initialized.patch30
-rw-r--r--packages/gdb/8.2/0003-WIP-end-of-prologue-detection-hack.patch26
-rw-r--r--packages/gdb/8.2/0004-allow-android.patch45
-rw-r--r--packages/gdb/8.2/chksum8
-rw-r--r--packages/gdb/8.2/version.desc (renamed from packages/gcc-linaro/7.2-2017.11/version.desc)0
-rw-r--r--packages/glibc/2.27/version.desc1
-rw-r--r--packages/glibc/2.28/0000-typedef-caddr.patch17
-rw-r--r--packages/glibc/2.28/chksum12
-rw-r--r--packages/glibc/2.28/version.desc1
-rw-r--r--packages/isl/0.20/chksum12
-rw-r--r--packages/isl/0.20/version.desc (renamed from packages/gcc-linaro/6.4-2017.11/version.desc)0
-rw-r--r--packages/linux/2.6.32.71/chksum8
-rw-r--r--packages/linux/3.16.56/chksum8
-rw-r--r--packages/linux/3.16.57/chksum8
-rw-r--r--packages/linux/3.16.57/version.desc (renamed from packages/expat/2.2.5/version.desc)0
-rw-r--r--packages/linux/3.18.104/chksum8
-rw-r--r--packages/linux/3.18.104/version.desc1
-rw-r--r--packages/linux/3.18.122/chksum8
-rw-r--r--packages/linux/3.18.122/version.desc (renamed from packages/linux/4.10.8/version.desc)0
-rw-r--r--packages/linux/4.14.33/chksum8
-rw-r--r--packages/linux/4.14.71/chksum8
-rw-r--r--packages/linux/4.14.71/version.desc0
-rw-r--r--packages/linux/4.15.16/chksum8
-rw-r--r--packages/linux/4.15.18/chksum8
-rw-r--r--packages/linux/4.15.18/version.desc0
-rw-r--r--packages/linux/4.15/chksum8
-rw-r--r--packages/linux/4.16.1/chksum8
-rw-r--r--packages/linux/4.16.18/chksum8
-rw-r--r--packages/linux/4.16.18/version.desc0
-rw-r--r--packages/linux/4.17.19/chksum8
-rw-r--r--packages/linux/4.17.19/version.desc0
-rw-r--r--packages/linux/4.18.9/chksum8
-rw-r--r--packages/linux/4.18.9/version.desc0
-rw-r--r--packages/linux/4.4.127/chksum8
-rw-r--r--packages/linux/4.4.157/chksum8
-rw-r--r--packages/linux/4.4.157/version.desc (renamed from packages/linux/4.4.127/version.desc)0
-rw-r--r--packages/linux/4.9.128/chksum8
-rw-r--r--packages/linux/4.9.128/version.desc0
-rw-r--r--packages/linux/4.9.93/chksum8
-rw-r--r--packages/mingw-w64/v6.0.0/0000-mingw64-malloc.patch58
-rw-r--r--packages/mingw-w64/v6.0.0/chksum8
-rw-r--r--packages/mingw-w64/v6.0.0/version.desc0
-rw-r--r--packages/newlib/3.0.0.20180226/chksum4
-rw-r--r--packages/newlib/3.0.0.20180831/0000-fix-unaligned-access-memcpy-m68k.patch (renamed from packages/newlib/3.0.0.20180226/0000-fix-unaligned-access-memcpy-m68k.patch)0
-rw-r--r--packages/newlib/3.0.0.20180831/0001-fix-mt-cflags.patch (renamed from packages/newlib/3.0.0.20180226/0001-fix-mt-cflags.patch)0
-rw-r--r--packages/newlib/3.0.0.20180831/chksum4
-rw-r--r--packages/newlib/3.0.0.20180831/version.desc (renamed from packages/newlib/3.0.0.20180226/version.desc)0
-rw-r--r--packages/strace/4.23/chksum4
-rw-r--r--packages/strace/4.23/version.desc0
-rw-r--r--packages/strace/4.24/chksum4
-rw-r--r--packages/strace/4.24/version.desc0
159 files changed, 1061 insertions, 730 deletions
diff --git a/packages/android-ndk/r17c/chksum b/packages/android-ndk/r17c/chksum
new file mode 100644
index 0000000..fd5b6f9
--- /dev/null
+++ b/packages/android-ndk/r17c/chksum
@@ -0,0 +1,4 @@
+md5 android-ndk-r17c-linux-x86_64.zip a4b6b8281e7d101efd994d31e64af746
+sha1 android-ndk-r17c-linux-x86_64.zip 12cacc70c3fd2f40574015631c00f41fb8a39048
+sha256 android-ndk-r17c-linux-x86_64.zip 3f541adbd0330a9205ba12697f6d04ec90752c53d6b622101a2a8a856e816589
+sha512 android-ndk-r17c-linux-x86_64.zip b8ad2aae0ea8caa7043c390c94c638c9499db22050c46b5e4f4b005fef6b47b7abdfb76c340c5a7e6024d8e6be926e07ab5556002c02919ba88f8b9469ed831e
diff --git a/packages/linux/4.9.93/version.desc b/packages/android-ndk/r17c/version.desc
index e69de29..e69de29 100644
--- a/packages/linux/4.9.93/version.desc
+++ b/packages/android-ndk/r17c/version.desc
diff --git a/packages/android-ndk/r18/chksum b/packages/android-ndk/r18/chksum
new file mode 100644
index 0000000..32f2ab3
--- /dev/null
+++ b/packages/android-ndk/r18/chksum
@@ -0,0 +1,4 @@
+md5 android-ndk-r18-linux-x86_64.zip 41a86d61b2c003db139f2c8ba139086c
+sha1 android-ndk-r18-linux-x86_64.zip 2ac2e8e1ef73ed551cac3a1479bb28bd49369212
+sha256 android-ndk-r18-linux-x86_64.zip c413dd014edc37f822d0dc88fabc05b64232d07d5c6e9345224e47073fdf140b
+sha512 android-ndk-r18-linux-x86_64.zip 7a8b372be53a7d5a008b6cafda451096623af33aea910edd8e98ee4b15682da5d2ad641727ab12eca522ba965073a3eb247cd3cd850c9b602e2c7b1cd6eec708
diff --git a/packages/linux/4.16.1/version.desc b/packages/android-ndk/r18/version.desc
index e69de29..e69de29 100644
--- a/packages/linux/4.16.1/version.desc
+++ b/packages/android-ndk/r18/version.desc
diff --git a/packages/binutils/2.31.1/0000-sh-conf.patch b/packages/binutils/2.31.1/0000-sh-conf.patch
new file mode 100644
index 0000000..f4fb760
--- /dev/null
+++ b/packages/binutils/2.31.1/0000-sh-conf.patch
@@ -0,0 +1,34 @@
+r10231 | lethal | 2005-05-02 09:58:00 -0400 (Mon, 02 May 2005) | 13 lines
+
+Likewise, binutils has no idea about any of these new targets either, so we
+fix that up too.. now we're able to actually build a real toolchain for
+sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more
+inept targets than that one, really. Go look, I promise).
+
+---
+ configure | 2 +-
+ configure.ac | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/configure
++++ b/configure
+@@ -3855,7 +3855,7 @@
+ nvptx*-*-*)
+ noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
+ ;;
+- sh-*-*)
++ sh*-*-*)
+ case "${target}" in
+ sh*-*-elf)
+ ;;
+--- a/configure.ac
++++ b/configure.ac
+@@ -1152,7 +1152,7 @@
+ nvptx*-*-*)
+ noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
+ ;;
+- sh-*-*)
++ sh*-*-*)
+ case "${target}" in
+ sh*-*-elf)
+ ;;
diff --git a/packages/binutils/2.31.1/0001-001_ld_makefile_patch.patch b/packages/binutils/2.31.1/0001-001_ld_makefile_patch.patch
new file mode 100644
index 0000000..f73ff26
--- /dev/null
+++ b/packages/binutils/2.31.1/0001-001_ld_makefile_patch.patch
@@ -0,0 +1,27 @@
+---
+ ld/Makefile.am | 2 +-
+ ld/Makefile.in | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/ld/Makefile.am
++++ b/ld/Makefile.am
+@@ -57,7 +57,7 @@
+ # We put the scripts in the directory $(scriptdir)/ldscripts.
+ # We can't put the scripts in $(datadir) because the SEARCH_DIR
+ # directives need to be different for native and cross linkers.
+-scriptdir = $(tooldir)/lib
++scriptdir = $(libdir)
+
+ EMUL = @EMUL@
+ EMULATION_OFILES = @EMULATION_OFILES@
+--- a/ld/Makefile.in
++++ b/ld/Makefile.in
+@@ -563,7 +563,7 @@
+ # We put the scripts in the directory $(scriptdir)/ldscripts.
+ # We can't put the scripts in $(datadir) because the SEARCH_DIR
+ # directives need to be different for native and cross linkers.
+-scriptdir = $(tooldir)/lib
++scriptdir = $(libdir)
+ BASEDIR = $(srcdir)/..
+ BFDDIR = $(BASEDIR)/bfd
+ INCDIR = $(BASEDIR)/include
diff --git a/packages/binutils/2.31.1/0002-012_check_ldrunpath_length.patch b/packages/binutils/2.31.1/0002-012_check_ldrunpath_length.patch
new file mode 100644
index 0000000..c0803d6
--- /dev/null
+++ b/packages/binutils/2.31.1/0002-012_check_ldrunpath_length.patch
@@ -0,0 +1,24 @@
+---
+ ld/emultempl/elf32.em | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- a/ld/emultempl/elf32.em
++++ b/ld/emultempl/elf32.em
+@@ -1471,6 +1471,8 @@
+ && command_line.rpath == NULL)
+ {
+ path = (const char *) getenv ("LD_RUN_PATH");
++ if ((path) && (strlen (path) == 0))
++ path = NULL;
+ if (path
+ && gld${EMULATION_NAME}_search_needed (path, &n, force))
+ break;
+@@ -1751,6 +1753,8 @@
+ rpath = command_line.rpath;
+ if (rpath == NULL)
+ rpath = (const char *) getenv ("LD_RUN_PATH");
++ if ((rpath) && (*rpath == '\0'))
++ rpath = NULL;
+
+ for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next)
+ if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
diff --git a/packages/binutils/2.31.1/0003-MinGW-w64-winpthreads-doesnt-have-pthread_mutexattr_settype.patch b/packages/binutils/2.31.1/0003-MinGW-w64-winpthreads-doesnt-have-pthread_mutexattr_settype.patch
new file mode 100644
index 0000000..99dee96
--- /dev/null
+++ b/packages/binutils/2.31.1/0003-MinGW-w64-winpthreads-doesnt-have-pthread_mutexattr_settype.patch
@@ -0,0 +1,15 @@
+---
+ gold/gold-threads.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/gold/gold-threads.cc
++++ b/gold/gold-threads.cc
+@@ -101,7 +101,7 @@
+ int err = pthread_mutexattr_init(&attr);
+ if (err != 0)
+ gold_fatal(_("pthead_mutexattr_init failed: %s"), strerror(err));
+-#ifdef PTHREAD_MUTEX_ADAPTIVE_NP
++#if defined(PTHREAD_MUTEX_ADAPTIVE_NP) && !defined(_WIN32)
+ err = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP);
+ if (err != 0)
+ gold_fatal(_("pthread_mutexattr_settype failed: %s"), strerror(err));
diff --git a/packages/binutils/2.31.1/0004-Dont-link-to-libfl-as-its-unnecessary.patch b/packages/binutils/2.31.1/0004-Dont-link-to-libfl-as-its-unnecessary.patch
new file mode 100644
index 0000000..9e9138b
--- /dev/null
+++ b/packages/binutils/2.31.1/0004-Dont-link-to-libfl-as-its-unnecessary.patch
@@ -0,0 +1,105 @@
+---
+ binutils/configure | 3 +++
+ binutils/configure.ac | 3 +++
+ gas/configure | 3 +++
+ gas/configure.ac | 3 +++
+ ld/configure | 3 +++
+ ld/configure.ac | 3 +++
+ 6 files changed, 18 insertions(+)
+
+--- a/binutils/configure
++++ b/binutils/configure
+@@ -12445,6 +12445,7 @@
+ done
+ test -n "$YACC" || YACC="yacc"
+
++save_LIBS=$LIBS
+ for ac_prog in flex lex
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+@@ -12608,6 +12609,8 @@
+ if test "$LEX" = :; then
+ LEX=${am_missing_run}flex
+ fi
++LIBS=$save_LIBS
++LEXLIB=
+
+ ALL_LINGUAS="bg ca da es fi fr hr id it ja pt ro ru rw sk sr sv tr uk vi zh_CN zh_TW"
+ # If we haven't got the data from the intl directory,
+--- a/binutils/configure.ac
++++ b/binutils/configure.ac
+@@ -86,7 +86,10 @@
+ fi
+
+ AC_PROG_YACC
++save_LIBS=$LIBS
+ AM_PROG_LEX
++LIBS=$save_LIBS
++LEXLIB=
+
+ ALL_LINGUAS="bg ca da es fi fr hr id it ja pt ro ru rw sk sr sv tr uk vi zh_CN zh_TW"
+ ZW_GNU_GETTEXT_SISTER_DIR
+--- a/gas/configure
++++ b/gas/configure
+@@ -13344,6 +13344,7 @@
+ done
+ test -n "$YACC" || YACC="yacc"
+
++save_LIBS=$LIBS
+ for ac_prog in flex lex
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+@@ -13507,6 +13508,8 @@
+ if test "$LEX" = :; then
+ LEX=${am_missing_run}flex
+ fi
++LIBS=$save_LIBS
++LEXLIB=
+
+ ALL_LINGUAS="es fi fr id ja ru rw sv tr uk zh_CN"
+ # If we haven't got the data from the intl directory,
+--- a/gas/configure.ac
++++ b/gas/configure.ac
+@@ -795,7 +795,10 @@
+ AC_DEFINE_UNQUOTED(TARGET_OS, "${target_os}", [Target OS.])
+
+ AC_PROG_YACC
++save_LIBS=$LIBS
+ AM_PROG_LEX
++LIBS=$save_LIBS
++LEXLIB=
+
+ ALL_LINGUAS="es fi fr id ja ru rw sv tr uk zh_CN"
+ ZW_GNU_GETTEXT_SISTER_DIR
+--- a/ld/configure
++++ b/ld/configure
+@@ -16536,6 +16536,7 @@
+ done
+ test -n "$YACC" || YACC="yacc"
+
++save_LIBS=$LIBS
+ for ac_prog in flex lex
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+@@ -16699,6 +16700,8 @@
+ if test "$LEX" = :; then
+ LEX=${am_missing_run}flex
+ fi
++LIBS=$save_LIBS
++LEXLIB=
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
+--- a/ld/configure.ac
++++ b/ld/configure.ac
+@@ -243,7 +243,10 @@
+ AC_EXEEXT
+
+ AC_PROG_YACC
++save_LIBS=$LIBS
+ AM_PROG_LEX
++LIBS=$save_LIBS
++LEXLIB=
+
+ AM_MAINTAINER_MODE
+ AM_CONDITIONAL(GENINSRC_NEVER, false)
diff --git a/packages/binutils/2.31.1/0005-Darwin-gold-binary-cc-include-string-not-cstring.patch b/packages/binutils/2.31.1/0005-Darwin-gold-binary-cc-include-string-not-cstring.patch
new file mode 100644
index 0000000..fbc4041
--- /dev/null
+++ b/packages/binutils/2.31.1/0005-Darwin-gold-binary-cc-include-string-not-cstring.patch
@@ -0,0 +1,15 @@
+---
+ gold/binary.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/gold/binary.cc
++++ b/gold/binary.cc
+@@ -23,7 +23,7 @@
+ #include "gold.h"
+
+ #include <cerrno>
+-#include <cstring>
++#include <string>
+
+ #include "elfcpp.h"
+ #include "stringpool.h"
diff --git a/packages/binutils/2.31.1/0006-Darwin-Two-fixes-from-Android-NDK-PTHREAD_ONCE_INIT-wcsncasecmp.patch b/packages/binutils/2.31.1/0006-Darwin-Two-fixes-from-Android-NDK-PTHREAD_ONCE_INIT-wcsncasecmp.patch
new file mode 100644
index 0000000..8e71dbb
--- /dev/null
+++ b/packages/binutils/2.31.1/0006-Darwin-Two-fixes-from-Android-NDK-PTHREAD_ONCE_INIT-wcsncasecmp.patch
@@ -0,0 +1,70 @@
+From c39479f4ab4d372b518957871e1f205a03e7c3d6 Mon Sep 17 00:00:00 2001
+From: Andrew Hsieh <andrewhsieh@google.com>
+Date: Wed, 18 Mar 2015 10:57:24 +0800
+Subject: [PATCH] Fix darwin build
+
+1. In Drawin PTHREAD_ONCE_INIT is {0x30B1BCBA, {0}} and the GCC < 4.4
+ doesn't support ended initializer list
+2. wcsncasecmp doesn't exist in MacSDK10.6.x
+
+Change-Id: I69204a72f853f5263dffedc448379d75ed4eca2e
+---
+ bfd/peXXigen.c | 22 ++++++++++++++++++++++
+ gold/gold-threads.cc | 15 ++++++++++++---
+ 2 files changed, 34 insertions(+), 3 deletions(-)
+
+--- a/bfd/peXXigen.c
++++ b/bfd/peXXigen.c
+@@ -3621,6 +3621,28 @@
+ }
+ #endif /* HAVE_WCHAR_H and not Cygwin/Mingw */
+
++#if defined __APPLE__ && __DARWIN_C_LEVEL < 200809L
++/* wcsncasecmp isn't always defined in Mac SDK */
++static int
++wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n)
++{
++ wchar_t c1, c2;
++
++ if (n == 0)
++ return (0);
++ for (; *s1; s1++, s2++)
++ {
++ c1 = towlower(*s1);
++ c2 = towlower(*s2);
++ if (c1 != c2)
++ return ((int)c1 - c2);
++ if (--n == 0)
++ return (0);
++ }
++ return (-*s2);
++}
++#endif
++
+ /* Perform a comparison of two entries. */
+ static signed int
+ rsrc_cmp (bfd_boolean is_name, rsrc_entry * a, rsrc_entry * b)
+--- a/gold/gold-threads.cc
++++ b/gold/gold-threads.cc
+@@ -284,9 +284,18 @@
+ class Once_initialize
+ {
+ public:
+- Once_initialize()
+- : once_(PTHREAD_ONCE_INIT)
+- { }
++ Once_initialize()
++#if !defined(__APPLE__)
++ : once_(PTHREAD_ONCE_INIT)
++ { }
++#else
++// In Drawin PTHREAD_ONCE_INIT is {0x30B1BCBA, {0}} and the GCC < 4.4 doesn't support
++// extended initializer list as above */
++ {
++ pthread_once_t once_2 = PTHREAD_ONCE_INIT;
++ once_ = once_2;
++ }
++#endif
+
+ // Return a pointer to the pthread_once_t variable.
+ pthread_once_t*
diff --git a/packages/binutils/2.31.1/0007-sysroot.patch b/packages/binutils/2.31.1/0007-sysroot.patch
new file mode 100644
index 0000000..ba7940a
--- /dev/null
+++ b/packages/binutils/2.31.1/0007-sysroot.patch
@@ -0,0 +1,41 @@
+Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
+
+Always try to prepend the sysroot prefix to absolute filenames first.
+
+http://bugs.gentoo.org/275666
+http://sourceware.org/bugzilla/show_bug.cgi?id=10340
+
+---
+ ld/ldfile.c | 11 +++++++++--
+ 1 file changed, 9 insertions(+), 2 deletions(-)
+
+--- a/ld/ldfile.c
++++ b/ld/ldfile.c
+@@ -338,18 +338,25 @@
+ directory first. */
+ if (!entry->flags.maybe_archive)
+ {
+- if (entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename))
++ /* For absolute pathnames, try to always open the file in the
++ sysroot first. If this fails, try to open the file at the
++ given location. */
++ entry->flags.sysrooted = is_sysrooted_pathname (entry->filename);
++ if (!entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename)
++ && ld_sysroot)
+ {
+ char *name = concat (ld_sysroot, entry->filename,
+ (const char *) NULL);
+ if (ldfile_try_open_bfd (name, entry))
+ {
+ entry->filename = name;
++ entry->flags.sysrooted = TRUE;
+ return TRUE;
+ }
+ free (name);
+ }
+- else if (ldfile_try_open_bfd (entry->filename, entry))
++
++ if (ldfile_try_open_bfd (entry->filename, entry))
+ return TRUE;
+
+ if (IS_ABSOLUTE_PATH (entry->filename))
diff --git a/packages/binutils/2.31.1/0008-poison-system-directories.patch b/packages/binutils/2.31.1/0008-poison-system-directories.patch
new file mode 100644
index 0000000..0a8079f
--- /dev/null
+++ b/packages/binutils/2.31.1/0008-poison-system-directories.patch
@@ -0,0 +1,279 @@
+Patch adapted to binutils 2.23.2 and extended to use
+BR_COMPILER_PARANOID_UNSAFE_PATH by Thomas Petazzoni.
+
+[Gustavo: adapt to binutils 2.25]
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+Upstream-Status: Inappropriate [distribution: codesourcery]
+
+Patch originally created by Mark Hatle, forward-ported to
+binutils 2.21 by Scott Garman.
+
+purpose: warn for uses of system directories when cross linking
+
+Code Merged from Sourcery G++ binutils 2.19 - 4.4-277
+
+2008-07-02 Joseph Myers <joseph@codesourcery.com>
+
+ ld/
+ * ld.h (args_type): Add error_poison_system_directories.
+ * ld.texinfo (--error-poison-system-directories): Document.
+ * ldfile.c (ldfile_add_library_path): Check
+ command_line.error_poison_system_directories.
+ * ldmain.c (main): Initialize
+ command_line.error_poison_system_directories.
+ * lexsup.c (enum option_values): Add
+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES.
+ (ld_options): Add --error-poison-system-directories.
+ (parse_args): Handle new option.
+
+2007-06-13 Joseph Myers <joseph@codesourcery.com>
+
+ ld/
+ * config.in: Regenerate.
+ * ld.h (args_type): Add poison_system_directories.
+ * ld.texinfo (--no-poison-system-directories): Document.
+ * ldfile.c (ldfile_add_library_path): Check
+ command_line.poison_system_directories.
+ * ldmain.c (main): Initialize
+ command_line.poison_system_directories.
+ * lexsup.c (enum option_values): Add
+ OPTION_NO_POISON_SYSTEM_DIRECTORIES.
+ (ld_options): Add --no-poison-system-directories.
+ (parse_args): Handle new option.
+
+2007-04-20 Joseph Myers <joseph@codesourcery.com>
+
+ Merge from Sourcery G++ binutils 2.17:
+
+ 2007-03-20 Joseph Myers <joseph@codesourcery.com>
+ Based on patch by Mark Hatle <mark.hatle@windriver.com>.
+ ld/
+ * configure.ac (--enable-poison-system-directories): New option.
+ * configure, config.in: Regenerate.
+ * ldfile.c (ldfile_add_library_path): If
+ ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib,
+ /usr/lib, /usr/local/lib or /usr/X11R6/lib.
+
+Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
+Signed-off-by: Scott Garman <scott.a.garman@intel.com>
+
+---
+ ld/config.in | 3 +++
+ ld/configure | 14 ++++++++++++++
+ ld/configure.ac | 10 ++++++++++
+ ld/ld.h | 8 ++++++++
+ ld/ld.texi | 12 ++++++++++++
+ ld/ldfile.c | 17 +++++++++++++++++
+ ld/ldlex.h | 2 ++
+ ld/ldmain.c | 2 ++
+ ld/lexsup.c | 21 +++++++++++++++++++++
+ 9 files changed, 89 insertions(+)
+
+--- a/ld/config.in
++++ b/ld/config.in
+@@ -31,6 +31,9 @@
+ language is requested. */
+ #undef ENABLE_NLS
+
++/* Define to warn for use of native system library directories */
++#undef ENABLE_POISON_SYSTEM_DIRECTORIES
++
+ /* Additional extension a shared object might have. */
+ #undef EXTRA_SHLIB_EXTENSION
+
+--- a/ld/configure
++++ b/ld/configure
+@@ -822,6 +822,7 @@
+ enable_targets
+ enable_64_bit_bfd
+ with_sysroot
++enable_poison_system_directories
+ enable_gold
+ enable_got
+ enable_compressed_debug_sections
+@@ -1486,6 +1487,8 @@
+ --disable-largefile omit support for large files
+ --enable-targets alternative target configurations
+ --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
++ --enable-poison-system-directories
++ warn for use of native system library directories
+ --enable-gold[=ARG] build gold [ARG={default,yes,no}]
+ --enable-got=<type> GOT handling scheme (target, single, negative,
+ multigot)
+@@ -15803,7 +15806,18 @@
+ fi
+
+
++# Check whether --enable-poison-system-directories was given.
++if test "${enable_poison_system_directories+set}" = set; then :
++ enableval=$enable_poison_system_directories;
++else
++ enable_poison_system_directories=no
++fi
++
++if test "x${enable_poison_system_directories}" = "xyes"; then
+
++$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h
++
++fi
+
+ # Check whether --enable-got was given.
+ if test "${enable_got+set}" = set; then :
+--- a/ld/configure.ac
++++ b/ld/configure.ac
+@@ -94,6 +94,16 @@
+ AC_SUBST(TARGET_SYSTEM_ROOT)
+ AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE)
+
++AC_ARG_ENABLE([poison-system-directories],
++ AS_HELP_STRING([--enable-poison-system-directories],
++ [warn for use of native system library directories]),,
++ [enable_poison_system_directories=no])
++if test "x${enable_poison_system_directories}" = "xyes"; then
++ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES],
++ [1],
++ [Define to warn for use of native system library directories])
++fi
++
+ dnl Use --enable-gold to decide if this linker should be the default.
+ dnl "install_as_default" is set to false if gold is the default linker.
+ dnl "installed_linker" is the installed BFD linker name.
+--- a/ld/ld.h
++++ b/ld/ld.h
+@@ -175,6 +175,14 @@
+ /* If set, display the target memory usage (per memory region). */
+ bfd_boolean print_memory_usage;
+
++ /* If TRUE (the default) warn for uses of system directories when
++ cross linking. */
++ bfd_boolean poison_system_directories;
++
++ /* If TRUE (default FALSE) give an error for uses of system
++ directories when cross linking instead of a warning. */
++ bfd_boolean error_poison_system_directories;
++
+ /* Should we force section groups to be resolved? Controlled with
+ --force-group-allocation on the command line or FORCE_GROUP_ALLOCATION
+ in the linker script. */
+--- a/ld/ld.texi
++++ b/ld/ld.texi
+@@ -2479,6 +2479,18 @@
+
+ Passing @code{none} for @var{style} disables the setting from any
+ @code{--build-id} options earlier on the command line.
++
++@kindex --no-poison-system-directories
++@item --no-poison-system-directories
++Do not warn for @option{-L} options using system directories such as
++@file{/usr/lib} when cross linking. This option is intended for use
++in chroot environments when such directories contain the correct
++libraries for the target system rather than the host.
++
++@kindex --error-poison-system-directories
++@item --error-poison-system-directories
++Give an error instead of a warning for @option{-L} options using
++system directories when cross linking.
+ @end table
+
+ @c man end
+--- a/ld/ldfile.c
++++ b/ld/ldfile.c
+@@ -116,6 +116,23 @@
+ new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL);
+ else
+ new_dirs->name = xstrdup (name);
++
++#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES
++ if (command_line.poison_system_directories
++ && ((!strncmp (name, "/lib", 4))
++ || (!strncmp (name, "/usr/lib", 8))
++ || (!strncmp (name, "/usr/local/lib", 14))
++ || (!strncmp (name, "/usr/X11R6/lib", 14))))
++ {
++ if (command_line.error_poison_system_directories)
++ einfo (_("%X%P: error: library search path \"%s\" is unsafe for "
++ "cross-compilation\n"), name);
++ else
++ einfo (_("%P: warning: library search path \"%s\" is unsafe for "
++ "cross-compilation\n"), name);
++ }
++#endif
++
+ }
+
+ /* Try to open a BFD for a lang_input_statement. */
+--- a/ld/ldlex.h
++++ b/ld/ldlex.h
+@@ -148,6 +148,8 @@
+ OPTION_REQUIRE_DEFINED_SYMBOL,
+ OPTION_ORPHAN_HANDLING,
+ OPTION_FORCE_GROUP_ALLOCATION,
++ OPTION_NO_POISON_SYSTEM_DIRECTORIES,
++ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES,
+ };
+
+ /* The initial parser states. */
+--- a/ld/ldmain.c
++++ b/ld/ldmain.c
+@@ -268,6 +268,8 @@
+ command_line.warn_mismatch = TRUE;
+ command_line.warn_search_mismatch = TRUE;
+ command_line.check_section_addresses = -1;
++ command_line.poison_system_directories = TRUE;
++ command_line.error_poison_system_directories = FALSE;
+
+ /* We initialize DEMANGLING based on the environment variable
+ COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the
+--- a/ld/lexsup.c
++++ b/ld/lexsup.c
+@@ -543,6 +543,14 @@
+ { {"orphan-handling", required_argument, NULL, OPTION_ORPHAN_HANDLING},
+ '\0', N_("=MODE"), N_("Control how orphan sections are handled."),
+ TWO_DASHES },
++ { {"no-poison-system-directories", no_argument, NULL,
++ OPTION_NO_POISON_SYSTEM_DIRECTORIES},
++ '\0', NULL, N_("Do not warn for -L options using system directories"),
++ TWO_DASHES },
++ { {"error-poison-system-directories", no_argument, NULL,
++ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES},
++ '\0', NULL, N_("Give an error for -L options using system directories"),
++ TWO_DASHES },
+ };
+
+ #define OPTION_COUNT ARRAY_SIZE (ld_options)
+@@ -555,6 +563,7 @@
+ int ingroup = 0;
+ char *default_dirlist = NULL;
+ char *shortopts;
++ char *BR_paranoid_env;
+ struct option *longopts;
+ struct option *really_longopts;
+ int last_optind;
+@@ -1543,6 +1552,14 @@
+ }
+ break;
+
++ case OPTION_NO_POISON_SYSTEM_DIRECTORIES:
++ command_line.poison_system_directories = FALSE;
++ break;
++
++ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES:
++ command_line.error_poison_system_directories = TRUE;
++ break;
++
+ case OPTION_PUSH_STATE:
+ input_flags.pushed = xmemdup (&input_flags,
+ sizeof (input_flags),
+@@ -1586,6 +1603,10 @@
+ command_line.soname = NULL;
+ }
+
++ BR_paranoid_env = getenv("BR_COMPILER_PARANOID_UNSAFE_PATH");
++ if (BR_paranoid_env && strlen(BR_paranoid_env) > 0)
++ command_line.error_poison_system_directories = TRUE;
++
+ while (ingroup)
+ {
+ lang_leave_group ();
diff --git a/packages/binutils/2.31.1/chksum b/packages/binutils/2.31.1/chksum
new file mode 100644
index 0000000..a94831b
--- /dev/null
+++ b/packages/binutils/2.31.1/chksum
@@ -0,0 +1,12 @@
+md5 binutils-2.31.1.tar.xz 5b7c9d4ce96f507d95c1b9a255e52418
+sha1 binutils-2.31.1.tar.xz 3b031410897fe224412f3a6a1b052402d2fbcc6a
+sha256 binutils-2.31.1.tar.xz 5d20086ecf5752cc7d9134246e9588fa201740d540f7eb84d795b1f7a93bca86
+sha512 binutils-2.31.1.tar.xz 0fca326feb1d5f5fe505a827b20237fe3ec9c13eaf7ec7e35847fd71184f605ba1cefe1314b1b8f8a29c0aa9d88162849ee1c1a3e70c2f7407d88339b17edb30
+md5 binutils-2.31.1.tar.bz2 84edf97113788f106d6ee027f10b046a
+sha1 binutils-2.31.1.tar.bz2 1c5b0801b4857031d5626d917808cbd5c6401a4b
+sha256 binutils-2.31.1.tar.bz2 ffcc382695bf947da6135e7436b8ed52d991cf270db897190f19d6f9838564d0
+sha512 binutils-2.31.1.tar.bz2 b42954e6f49a0adcd2676bdd77dfb59bfc25cec8184b007521d1e2b1d5d0593b58639e3d9448d5a40fe024c3cea386a37743627d6bb16d502f52a4a32b9573bd
+md5 binutils-2.31.1.tar.gz b88812a18c7d850e015235c1cea75a23
+sha1 binutils-2.31.1.tar.gz 1c18b9375eb1d3a1ee118ddbd9ab08bfd7dc7b27
+sha256 binutils-2.31.1.tar.gz e88f8d36bd0a75d3765a4ad088d819e35f8d7ac6288049780e2fefcad18dde88
+sha512 binutils-2.31.1.tar.gz 6e8867cacf58a6f79122ccee00afbb894c1709375580afc14b523dc7d123029bf2532f9f71e4c6c7072b2d708cc97a370c922d80fa17b3ee3ddeb49110cd749b
diff --git a/packages/linux/4.15/version.desc b/packages/binutils/2.31.1/version.desc
index e69de29..e69de29 100644
--- a/packages/linux/4.15/version.desc
+++ b/packages/binutils/2.31.1/version.desc
diff --git a/packages/expat/2.2.5/chksum b/packages/expat/2.2.5/chksum
deleted file mode 100644
index aefa26a..0000000
--- a/packages/expat/2.2.5/chksum
+++ /dev/null
@@ -1,4 +0,0 @@
-md5 expat-2.2.5.tar.bz2 789e297f547980fc9ecc036f9a070d49
-sha1 expat-2.2.5.tar.bz2 490659abd7d6c6d4cb4e60c945a15fbf081564f6
-sha256 expat-2.2.5.tar.bz2 d9dc32efba7e74f788fcc4f212a43216fc37cf5f23f4c2339664d473353aedf6
-sha512 expat-2.2.5.tar.bz2 8226970a7e5d2b8d7818081758ca59bb6ce2d655feaa9d3a92481629000b73fde4782f50343d58ec4e1cebe75649e1980f636775a731d8aa4b55ceb843d9f637
diff --git a/packages/expat/2.2.6/chksum b/packages/expat/2.2.6/chksum
new file mode 100644
index 0000000..16ea962
--- /dev/null
+++ b/packages/expat/2.2.6/chksum
@@ -0,0 +1,4 @@
+md5 expat-2.2.6.tar.bz2 ca047ae951b40020ac831c28859161b2
+sha1 expat-2.2.6.tar.bz2 c8947fc3119a797b55485f2f7bdaaeb49cc9df01
+sha256 expat-2.2.6.tar.bz2 17b43c2716d521369f82fc2dc70f359860e90fa440bea65b3b85f0b246ea81f2
+sha512 expat-2.2.6.tar.bz2 dbfb635a5fe7b190722664263a0dd437b512fdf519bc53bd4905567f4bfb4b1e89a021562da63df8cacd48b706d1dea60ccde47f279e57400ad3c846b6e9c4e6
diff --git a/packages/linux/4.15.16/version.desc b/packages/expat/2.2.6/version.desc
index e69de29..e69de29 100644
--- a/packages/linux/4.15.16/version.desc
+++ b/packages/expat/2.2.6/version.desc
diff --git a/packages/gcc-linaro/6.4-2017.11/chksum b/packages/gcc-linaro/6.4-2017.11/chksum
deleted file mode 100644
index 1531c08..0000000
--- a/packages/gcc-linaro/6.4-2017.11/chksum
+++ /dev/null
@@ -1,4 +0,0 @@
-md5 gcc-linaro-6.4-2017.11.tar.xz 0620b19d8f58828b64c67513fb7c3476
-sha1 gcc-linaro-6.4-2017.11.tar.xz 2f4a43b52e61215a4f4b608dc6a26dcd9fb61796
-sha256 gcc-linaro-6.4-2017.11.tar.xz 3c17387177f15b855070ca42ed7f4f16b6b151b9216a445fd64a4463653492b3
-sha512 gcc-linaro-6.4-2017.11.tar.xz f5f7803f16d4c3ca3f55b4dd8c89f9e2609eb2421ffa520c0adedc657b5bf47a9b1b80be627b7cf052817ffd913ad32423fe2091adcc7975d72149d443da9d01
diff --git a/packages/gcc/8.1.0/0000-libtool-leave-framework-alone.patch b/packages/gcc-linaro/6.4-2018.05/0000-libtool-leave-framework-alone.patch
index 1a86e41..1a86e41 100644
--- a/packages/gcc/8.1.0/0000-libtool-leave-framework-alone.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0000-libtool-leave-framework-alone.patch
diff --git a/packages/gcc/8.1.0/0001-uclibc-conf.patch b/packages/gcc-linaro/6.4-2018.05/0001-uclibc-conf.patch
index aef750a..aef750a 100644
--- a/packages/gcc/8.1.0/0001-uclibc-conf.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0001-uclibc-conf.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0002-missing-execinfo_h.patch b/packages/gcc-linaro/6.4-2018.05/0002-missing-execinfo_h.patch
index c90222a..c90222a 100644
--- a/packages/gcc-linaro/6.4-2017.11/0002-missing-execinfo_h.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0002-missing-execinfo_h.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0003-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch b/packages/gcc-linaro/6.4-2018.05/0003-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
index fe0f146..7efd956 100644
--- a/packages/gcc-linaro/6.4-2017.11/0003-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0003-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
@@ -53,7 +53,7 @@
if test x"$have_pic_shared" != x"yes" -o x"$ac_cv_search_dlopen" = x"no"; then
--- a/gcc/configure
+++ b/gcc/configure
-@@ -29200,6 +29200,9 @@
+@@ -29239,6 +29239,9 @@
pluginlibs=
@@ -63,7 +63,7 @@
case "${host}" in
*-*-darwin*)
if test x$build = x$host; then
-@@ -29210,6 +29213,11 @@
+@@ -29249,6 +29252,11 @@
export_sym_check=
fi
;;
@@ -75,7 +75,7 @@
*)
if test x$build = x$host; then
export_sym_check="objdump${exeext} -T"
-@@ -29322,23 +29330,23 @@
+@@ -29361,23 +29369,23 @@
case "${host}" in
*-*-darwin*)
CFLAGS=`echo $CFLAGS | sed s/-mdynamic-no-pic//g`
diff --git a/packages/gcc-linaro/6.4-2017.11/0004-gcc-plugin-POSIX-include-sys-select-h.patch b/packages/gcc-linaro/6.4-2018.05/0004-gcc-plugin-POSIX-include-sys-select-h.patch
index 5f9a07a..5f9a07a 100644
--- a/packages/gcc-linaro/6.4-2017.11/0004-gcc-plugin-POSIX-include-sys-select-h.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0004-gcc-plugin-POSIX-include-sys-select-h.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0005-arm-softfloat-libgcc.patch b/packages/gcc-linaro/6.4-2018.05/0005-arm-softfloat-libgcc.patch
index 350857d..350857d 100644
--- a/packages/gcc-linaro/6.4-2017.11/0005-arm-softfloat-libgcc.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0005-arm-softfloat-libgcc.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0006-arm_unbreak_armv4t.patch b/packages/gcc-linaro/6.4-2018.05/0006-arm_unbreak_armv4t.patch
index 7c37445..7c37445 100644
--- a/packages/gcc-linaro/6.4-2017.11/0006-arm_unbreak_armv4t.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0006-arm_unbreak_armv4t.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0007-cilk-wchar.patch b/packages/gcc-linaro/6.4-2018.05/0007-cilk-wchar.patch
index 300837f..300837f 100644
--- a/packages/gcc-linaro/6.4-2017.11/0007-cilk-wchar.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0007-cilk-wchar.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0008-fix-m68k-compile.patch b/packages/gcc-linaro/6.4-2018.05/0008-fix-m68k-compile.patch
index 9437f25..9437f25 100644
--- a/packages/gcc-linaro/6.4-2017.11/0008-fix-m68k-compile.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0008-fix-m68k-compile.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0009-fix-m68k-uclinux.patch b/packages/gcc-linaro/6.4-2018.05/0009-fix-m68k-uclinux.patch
index 20d7c4a..20d7c4a 100644
--- a/packages/gcc-linaro/6.4-2017.11/0009-fix-m68k-uclinux.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0009-fix-m68k-uclinux.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0010-libgcc-mkmap-symver-support-skip_underscore.patch b/packages/gcc-linaro/6.4-2018.05/0010-libgcc-mkmap-symver-support-skip_underscore.patch
index c6421d0..c6421d0 100644
--- a/packages/gcc-linaro/6.4-2017.11/0010-libgcc-mkmap-symver-support-skip_underscore.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0010-libgcc-mkmap-symver-support-skip_underscore.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0011-libgcc-config-bfin-use-the-generic-linker-version-in.patch b/packages/gcc-linaro/6.4-2018.05/0011-libgcc-config-bfin-use-the-generic-linker-version-in.patch
index ac75cfa..ac75cfa 100644
--- a/packages/gcc-linaro/6.4-2017.11/0011-libgcc-config-bfin-use-the-generic-linker-version-in.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0011-libgcc-config-bfin-use-the-generic-linker-version-in.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0012-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch b/packages/gcc-linaro/6.4-2018.05/0012-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch
index f0ada67..f0ada67 100644
--- a/packages/gcc-linaro/6.4-2017.11/0012-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0012-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0013-bfin-define-REENTRANT.patch b/packages/gcc-linaro/6.4-2018.05/0013-bfin-define-REENTRANT.patch
index 633084b..633084b 100644
--- a/packages/gcc-linaro/6.4-2017.11/0013-bfin-define-REENTRANT.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0013-bfin-define-REENTRANT.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0014-libgfortran-missing-include.patch b/packages/gcc-linaro/6.4-2018.05/0014-libgfortran-missing-include.patch
index 701e7b4..701e7b4 100644
--- a/packages/gcc-linaro/6.4-2017.11/0014-libgfortran-missing-include.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0014-libgfortran-missing-include.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0015-nios2-bad-multilib-default.patch b/packages/gcc-linaro/6.4-2018.05/0015-nios2-bad-multilib-default.patch
index 4acc491..4acc491 100644
--- a/packages/gcc-linaro/6.4-2017.11/0015-nios2-bad-multilib-default.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0015-nios2-bad-multilib-default.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0016-libgcc-disable-split-stack-nothreads.patch b/packages/gcc-linaro/6.4-2018.05/0016-libgcc-disable-split-stack-nothreads.patch
index df91a9f..df91a9f 100644
--- a/packages/gcc-linaro/6.4-2017.11/0016-libgcc-disable-split-stack-nothreads.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0016-libgcc-disable-split-stack-nothreads.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0017-uclinux-enable-threads.patch b/packages/gcc-linaro/6.4-2018.05/0017-uclinux-enable-threads.patch
index 8e4e0a2..8e4e0a2 100644
--- a/packages/gcc-linaro/6.4-2017.11/0017-uclinux-enable-threads.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0017-uclinux-enable-threads.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0018-bionic-ndk.patch b/packages/gcc-linaro/6.4-2018.05/0018-bionic-ndk.patch
index 474dd8c..474dd8c 100644
--- a/packages/gcc-linaro/6.4-2017.11/0018-bionic-ndk.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0018-bionic-ndk.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0019-bionic-errno.patch b/packages/gcc-linaro/6.4-2018.05/0019-bionic-errno.patch
index 0a1a632..0a1a632 100644
--- a/packages/gcc-linaro/6.4-2017.11/0019-bionic-errno.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0019-bionic-errno.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0020-crystax.patch b/packages/gcc-linaro/6.4-2018.05/0020-crystax.patch
index 461be72..8d519dc 100644
--- a/packages/gcc-linaro/6.4-2017.11/0020-crystax.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0020-crystax.patch
@@ -152,7 +152,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
-@@ -1922,10 +1922,11 @@
+@@ -1923,10 +1923,11 @@
#define CASE_VECTOR_PC_RELATIVE (TARGET_THUMB2 \
|| (TARGET_THUMB1 \
@@ -167,7 +167,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
: min >= -256 && max < 256 \
--- a/gcc/config/arm/arm.md
+++ b/gcc/config/arm/arm.md
-@@ -8657,7 +8657,7 @@
+@@ -8654,7 +8654,7 @@
(match_operand:SI 2 "const_int_operand" "") ; total range
(match_operand:SI 3 "" "") ; table label
(match_operand:SI 4 "" "")] ; Out of range label
@@ -446,7 +446,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
#if ((defined(_LIBOBJC) || defined(_LIBOBJC_WEAK)) \
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
-@@ -78389,6 +78389,12 @@
+@@ -78391,6 +78391,12 @@
/* end confdefs.h. */
#include <sys/syscall.h>
int lk;
@@ -459,7 +459,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
int
main ()
{
-@@ -78447,6 +78453,12 @@
+@@ -78449,6 +78455,12 @@
/* end confdefs.h. */
#include <sys/syscall.h>
int lk;
diff --git a/packages/gcc-linaro/6.4-2017.11/0021-crystax.patch b/packages/gcc-linaro/6.4-2018.05/0021-crystax.patch
index f1f9eb1..f1f9eb1 100644
--- a/packages/gcc-linaro/6.4-2017.11/0021-crystax.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0021-crystax.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0022-crystax.patch b/packages/gcc-linaro/6.4-2018.05/0022-crystax.patch
index 64d1126..9c020e1 100644
--- a/packages/gcc-linaro/6.4-2017.11/0022-crystax.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0022-crystax.patch
@@ -26,7 +26,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700
--- a/gcc/config.in
+++ b/gcc/config.in
-@@ -2144,6 +2144,12 @@
+@@ -2150,6 +2150,12 @@
#endif
@@ -145,7 +145,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700
--enable-linker-build-id
compiler will always pass --build-id to linker
--enable-default-ssp enable Stack Smashing Protection as default
-@@ -27786,6 +27790,38 @@
+@@ -27825,6 +27829,38 @@
$as_echo "#define HAVE_LD_EH_FRAME_HDR 1" >>confdefs.h
@@ -186,7 +186,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700
$as_echo "$gcc_cv_ld_eh_frame_hdr" >&6; }
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
-@@ -4861,6 +4861,35 @@
+@@ -4874,6 +4874,35 @@
if test x"$gcc_cv_ld_eh_frame_hdr" = xyes; then
AC_DEFINE(HAVE_LD_EH_FRAME_HDR, 1,
[Define if your linker supports .eh_frame_hdr.])
diff --git a/packages/gcc-linaro/6.4-2017.11/0023-crystax.patch b/packages/gcc-linaro/6.4-2018.05/0023-crystax.patch
index 34df80a..2ddd723 100644
--- a/packages/gcc-linaro/6.4-2017.11/0023-crystax.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0023-crystax.patch
@@ -12,7 +12,7 @@ Date: Thu Aug 20 19:11:07 2015 +0300
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
-@@ -14690,6 +14690,7 @@
+@@ -15020,6 +15020,7 @@
else if (!SYMBOL_REF_FAR_ADDR_P (op0)
&& (SYMBOL_REF_LOCAL_P (op0)
|| (HAVE_LD_PIE_COPYRELOC
diff --git a/packages/gcc-linaro/6.4-2017.11/0024-crystax.patch b/packages/gcc-linaro/6.4-2018.05/0024-crystax.patch
index 8f2eb43..8f2eb43 100644
--- a/packages/gcc-linaro/6.4-2017.11/0024-crystax.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0024-crystax.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0025-crystax.patch b/packages/gcc-linaro/6.4-2018.05/0025-crystax.patch
index f555f27..88ac37c 100644
--- a/packages/gcc-linaro/6.4-2017.11/0025-crystax.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0025-crystax.patch
@@ -15,7 +15,7 @@ Date: Mon Apr 14 21:05:51 2014 -0700
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
-@@ -22178,9 +22178,13 @@
+@@ -22205,9 +22205,13 @@
memsize = MEM_SIZE (x);
/* Only certain alignment specifiers are supported by the hardware. */
diff --git a/packages/gcc-linaro/6.4-2017.11/0026-crystax.patch b/packages/gcc-linaro/6.4-2018.05/0026-crystax.patch
index 8c21a1c..8c21a1c 100644
--- a/packages/gcc-linaro/6.4-2017.11/0026-crystax.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0026-crystax.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0027-crystax.patch b/packages/gcc-linaro/6.4-2018.05/0027-crystax.patch
index ccb81fd..ccb81fd 100644
--- a/packages/gcc-linaro/6.4-2017.11/0027-crystax.patch
+++ b/packages/gcc-linaro/6.4-2018.05/0027-crystax.patch
diff --git a/packages/gcc-linaro/6.4-2018.05/chksum b/packages/gcc-linaro/6.4-2018.05/chksum
new file mode 100644
index 0000000..ceaa225
--- /dev/null
+++ b/packages/gcc-linaro/6.4-2018.05/chksum
@@ -0,0 +1,4 @@
+md5 gcc-linaro-6.4-2018.05.tar.xz a58a8b7166db4a01964d8f21b0f636e9
+sha1 gcc-linaro-6.4-2018.05.tar.xz ef5ed3d31b356117162122fe450ca2bd91f9618f
+sha256 gcc-linaro-6.4-2018.05.tar.xz c547014d687535ec2a72dae55edbf55621db220fffff257ea0beece83715ac2f
+sha512 gcc-linaro-6.4-2018.05.tar.xz 91a1cc04efc72a1f5fda0a7a6797241eb218e6656eb7907f7a86210f452a3fc650815a5cd1bedfe9338b38d2609c17b1d4f09287495e485621dcb7458927a451
diff --git a/packages/linux/4.14.33/version.desc b/packages/gcc-linaro/6.4-2018.05/version.desc
index e69de29..e69de29 100644
--- a/packages/linux/4.14.33/version.desc
+++ b/packages/gcc-linaro/6.4-2018.05/version.desc
diff --git a/packages/gcc-linaro/7.2-2017.11/chksum b/packages/gcc-linaro/7.2-2017.11/chksum
deleted file mode 100644
index c9e6a03..0000000
--- a/packages/gcc-linaro/7.2-2017.11/chksum
+++ /dev/null
@@ -1,4 +0,0 @@
-md5 gcc-linaro-7.2-2017.11.tar.xz 67f7ed9541b6117143a4b405529e984e
-sha1 gcc-linaro-7.2-2017.11.tar.xz 7963644acea5208acac2f94f098c0dc90d0bfa51
-sha256 gcc-linaro-7.2-2017.11.tar.xz 7b07095df50a10789f446cec421468f10c57fe8bb6a789a73dc758acf8475cb0
-sha512 gcc-linaro-7.2-2017.11.tar.xz 9195cf66f312af286d63db1c07889b9bfed9ab44db2725c4cfb9a46cd7351961f4c5278b48a2bc35576719618ddf4239e2d84f386071fe1ca2171b76f109b564
diff --git a/packages/gcc-linaro/7.2-2017.11/0000-libtool-leave-framework-alone.patch b/packages/gcc-linaro/7.3-2018.05/0000-libtool-leave-framework-alone.patch
index 1a86e41..1a86e41 100644
--- a/packages/gcc-linaro/7.2-2017.11/0000-libtool-leave-framework-alone.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0000-libtool-leave-framework-alone.patch
diff --git a/packages/gcc-linaro/7.2-2017.11/0001-uclibc-conf.patch b/packages/gcc-linaro/7.3-2018.05/0001-uclibc-conf.patch
index aef750a..aef750a 100644
--- a/packages/gcc-linaro/7.2-2017.11/0001-uclibc-conf.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0001-uclibc-conf.patch
diff --git a/packages/gcc-linaro/7.2-2017.11/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch b/packages/gcc-linaro/7.3-2018.05/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
index f5a82fa..ac628f3 100644
--- a/packages/gcc-linaro/7.2-2017.11/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
@@ -53,7 +53,7 @@
if test x"$have_pic_shared" != x"yes" -o x"$ac_cv_search_dlopen" = x"no"; then
--- a/gcc/configure
+++ b/gcc/configure
-@@ -29479,6 +29479,9 @@
+@@ -29519,6 +29519,9 @@
pluginlibs=
@@ -63,7 +63,7 @@
case "${host}" in
*-*-darwin*)
if test x$build = x$host; then
-@@ -29489,6 +29492,11 @@
+@@ -29529,6 +29532,11 @@
export_sym_check=
fi
;;
@@ -75,7 +75,7 @@
*)
if test x$build = x$host; then
export_sym_check="objdump${exeext} -T"
-@@ -29601,23 +29609,23 @@
+@@ -29641,23 +29649,23 @@
case "${host}" in
*-*-darwin*)
CFLAGS=`echo $CFLAGS | sed s/-mdynamic-no-pic//g`
diff --git a/packages/gcc/8.1.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch b/packages/gcc-linaro/7.3-2018.05/0003-gcc-plugin-POSIX-include-sys-select-h.patch
index 5f9a07a..5f9a07a 100644
--- a/packages/gcc/8.1.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0003-gcc-plugin-POSIX-include-sys-select-h.patch
diff --git a/packages/gcc/8.1.0/0004-arm-softfloat-libgcc.patch b/packages/gcc-linaro/7.3-2018.05/0004-arm-softfloat-libgcc.patch
index d980036..d980036 100644
--- a/packages/gcc/8.1.0/0004-arm-softfloat-libgcc.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0004-arm-softfloat-libgcc.patch
diff --git a/packages/gcc-linaro/7.2-2017.11/0005-cilk-wchar.patch b/packages/gcc-linaro/7.3-2018.05/0005-cilk-wchar.patch
index d2230cd..d2230cd 100644
--- a/packages/gcc-linaro/7.2-2017.11/0005-cilk-wchar.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0005-cilk-wchar.patch
diff --git a/packages/gcc-linaro/7.2-2017.11/0006-fix-m68k-uclinux.patch b/packages/gcc-linaro/7.3-2018.05/0006-fix-m68k-uclinux.patch
index 8b9e725..8b9e725 100644
--- a/packages/gcc-linaro/7.2-2017.11/0006-fix-m68k-uclinux.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0006-fix-m68k-uclinux.patch
diff --git a/packages/gcc-linaro/7.2-2017.11/0007-libgfortran-missing-include.patch b/packages/gcc-linaro/7.3-2018.05/0007-libgfortran-missing-include.patch
index 701e7b4..701e7b4 100644
--- a/packages/gcc-linaro/7.2-2017.11/0007-libgfortran-missing-include.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0007-libgfortran-missing-include.patch
diff --git a/packages/gcc-linaro/7.2-2017.11/0008-nios2-bad-multilib-default.patch b/packages/gcc-linaro/7.3-2018.05/0008-nios2-bad-multilib-default.patch
index 4acc491..4acc491 100644
--- a/packages/gcc-linaro/7.2-2017.11/0008-nios2-bad-multilib-default.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0008-nios2-bad-multilib-default.patch
diff --git a/packages/gcc-linaro/7.2-2017.11/0009-libgcc-disable-split-stack-nothreads.patch b/packages/gcc-linaro/7.3-2018.05/0009-libgcc-disable-split-stack-nothreads.patch
index df91a9f..df91a9f 100644
--- a/packages/gcc-linaro/7.2-2017.11/0009-libgcc-disable-split-stack-nothreads.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0009-libgcc-disable-split-stack-nothreads.patch
diff --git a/packages/gcc-linaro/7.2-2017.11/0010-bionic-ndk.patch b/packages/gcc-linaro/7.3-2018.05/0010-bionic-ndk.patch
index 474dd8c..474dd8c 100644
--- a/packages/gcc-linaro/7.2-2017.11/0010-bionic-ndk.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0010-bionic-ndk.patch
diff --git a/packages/gcc-linaro/7.2-2017.11/0011-bionic-errno.patch b/packages/gcc-linaro/7.3-2018.05/0011-bionic-errno.patch
index 0a1a632..0a1a632 100644
--- a/packages/gcc-linaro/7.2-2017.11/0011-bionic-errno.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0011-bionic-errno.patch
diff --git a/packages/gcc-linaro/7.2-2017.11/0012-crystax.patch b/packages/gcc-linaro/7.3-2018.05/0012-crystax.patch
index 753fca2..d35fd34 100644
--- a/packages/gcc-linaro/7.2-2017.11/0012-crystax.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0012-crystax.patch
@@ -52,7 +52,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
esac
aarch64_multilibs="${with_multilib_list}"
if test "$aarch64_multilibs" = "default"; then
-@@ -2084,6 +2088,17 @@
+@@ -2092,6 +2096,17 @@
tm_file="dbxelf.h elfos.h gnu-user.h linux.h linux-android.h glibc-stdint.h ${tm_file} mips/gnu-user.h mips/linux.h mips/linux-common.h"
extra_options="${extra_options} linux-android.opt"
case ${target} in
@@ -152,7 +152,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
-@@ -1878,10 +1878,11 @@
+@@ -1885,10 +1885,11 @@
#define CASE_VECTOR_PC_RELATIVE (TARGET_THUMB2 \
|| (TARGET_THUMB1 \
@@ -167,7 +167,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
: min >= -256 && max < 256 \
--- a/gcc/config/arm/arm.md
+++ b/gcc/config/arm/arm.md
-@@ -8741,7 +8741,7 @@
+@@ -8738,7 +8738,7 @@
(match_operand:SI 2 "const_int_operand" "") ; total range
(match_operand:SI 3 "" "") ; table label
(match_operand:SI 4 "" "")] ; Out of range label
@@ -445,7 +445,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
#if ((defined(_LIBOBJC) || defined(_LIBOBJC_WEAK)) \
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
-@@ -78536,6 +78536,12 @@
+@@ -78564,6 +78564,12 @@
/* end confdefs.h. */
#include <sys/syscall.h>
int lk;
@@ -458,7 +458,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
int
main ()
{
-@@ -78594,6 +78600,12 @@
+@@ -78622,6 +78628,12 @@
/* end confdefs.h. */
#include <sys/syscall.h>
int lk;
diff --git a/packages/gcc-linaro/7.2-2017.11/0013-crystax.patch b/packages/gcc-linaro/7.3-2018.05/0013-crystax.patch
index f1f9eb1..f1f9eb1 100644
--- a/packages/gcc-linaro/7.2-2017.11/0013-crystax.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0013-crystax.patch
diff --git a/packages/gcc-linaro/7.2-2017.11/0014-crystax.patch b/packages/gcc-linaro/7.3-2018.05/0014-crystax.patch
index 4505294..823e24a 100644
--- a/packages/gcc-linaro/7.2-2017.11/0014-crystax.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0014-crystax.patch
@@ -26,7 +26,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700
--- a/gcc/config.in
+++ b/gcc/config.in
-@@ -2180,6 +2180,12 @@
+@@ -2186,6 +2186,12 @@
#endif
@@ -145,7 +145,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700
--enable-linker-build-id
compiler will always pass --build-id to linker
--enable-default-ssp enable Stack Smashing Protection as default
-@@ -28051,6 +28055,38 @@
+@@ -28091,6 +28095,38 @@
$as_echo "#define HAVE_LD_EH_FRAME_HDR 1" >>confdefs.h
@@ -186,7 +186,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700
$as_echo "$gcc_cv_ld_eh_frame_hdr" >&6; }
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
-@@ -4981,6 +4981,35 @@
+@@ -4994,6 +4994,35 @@
if test x"$gcc_cv_ld_eh_frame_hdr" = xyes; then
AC_DEFINE(HAVE_LD_EH_FRAME_HDR, 1,
[Define if your linker supports .eh_frame_hdr.])
diff --git a/packages/gcc-linaro/7.2-2017.11/0015-crystax.patch b/packages/gcc-linaro/7.3-2018.05/0015-crystax.patch
index ffdf340..2081e2a 100644
--- a/packages/gcc-linaro/7.2-2017.11/0015-crystax.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0015-crystax.patch
@@ -12,7 +12,7 @@ Date: Thu Aug 20 19:11:07 2015 +0300
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
-@@ -15763,6 +15763,7 @@
+@@ -16103,6 +16103,7 @@
else if (!SYMBOL_REF_FAR_ADDR_P (op0)
&& (SYMBOL_REF_LOCAL_P (op0)
|| (HAVE_LD_PIE_COPYRELOC
diff --git a/packages/gcc-linaro/7.2-2017.11/0016-crystax.patch b/packages/gcc-linaro/7.3-2018.05/0016-crystax.patch
index 8f2eb43..8f2eb43 100644
--- a/packages/gcc-linaro/7.2-2017.11/0016-crystax.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0016-crystax.patch
diff --git a/packages/gcc-linaro/7.2-2017.11/0017-crystax.patch b/packages/gcc-linaro/7.3-2018.05/0017-crystax.patch
index 50ee371..a8f7264 100644
--- a/packages/gcc-linaro/7.2-2017.11/0017-crystax.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0017-crystax.patch
@@ -15,7 +15,7 @@ Date: Mon Apr 14 21:05:51 2014 -0700
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
-@@ -22293,9 +22293,13 @@
+@@ -22325,9 +22325,13 @@
memsize = MEM_SIZE (x);
/* Only certain alignment specifiers are supported by the hardware. */
diff --git a/packages/gcc-linaro/7.2-2017.11/0018-crystax.patch b/packages/gcc-linaro/7.3-2018.05/0018-crystax.patch
index 8c21a1c..8c21a1c 100644
--- a/packages/gcc-linaro/7.2-2017.11/0018-crystax.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0018-crystax.patch
diff --git a/packages/gcc-linaro/7.2-2017.11/0019-crystax.patch b/packages/gcc-linaro/7.3-2018.05/0019-crystax.patch
index ccb81fd..ccb81fd 100644
--- a/packages/gcc-linaro/7.2-2017.11/0019-crystax.patch
+++ b/packages/gcc-linaro/7.3-2018.05/0019-crystax.patch
diff --git a/packages/gcc-linaro/7.3-2018.05/chksum b/packages/gcc-linaro/7.3-2018.05/chksum
new file mode 100644
index 0000000..38d9f94
--- /dev/null
+++ b/packages/gcc-linaro/7.3-2018.05/chksum
@@ -0,0 +1,4 @@
+md5 gcc-linaro-7.3-2018.05.tar.xz bc996f77c8c893f227f5b6057cc3765c
+sha1 gcc-linaro-7.3-2018.05.tar.xz 9e74ddeaa3576a60fc6927bcf8f0a748754d3839
+sha256 gcc-linaro-7.3-2018.05.tar.xz 5864b46120e120949413ab698a5104cfd43b82246254cc4928a2d9e8cc1884e7
+sha512 gcc-linaro-7.3-2018.05.tar.xz 8cdb7603c305299b1fa2e4f109a727857e13f5440e2662b982871bb096eb7c9a71804b3c68dc6c0f27cb0491dc77dec766497c7bf98d08d2b71bc91ecaa35377
diff --git a/packages/linux/3.16.56/version.desc b/packages/gcc-linaro/7.3-2018.05/version.desc
index e69de29..e69de29 100644
--- a/packages/linux/3.16.56/version.desc
+++ b/packages/gcc-linaro/7.3-2018.05/version.desc
diff --git a/packages/gcc/8.1.0/0018-ARC-Reimplement-return-padding-operation-for-ARC700.patch b/packages/gcc/8.1.0/0018-ARC-Reimplement-return-padding-operation-for-ARC700.patch
deleted file mode 100644
index e876ed4..0000000
--- a/packages/gcc/8.1.0/0018-ARC-Reimplement-return-padding-operation-for-ARC700.patch
+++ /dev/null
@@ -1,402 +0,0 @@
-From cc11539ff23bd2c3136f826a18d8010ac34dc518 Mon Sep 17 00:00:00 2001
-From: Claudiu Zissulescu <claziss@synopsys.com>
-Date: Fri, 24 Mar 2017 11:55:54 +0100
-Subject: [PATCH] [ARC] Reimplement return padding operation for ARC700.
-
-For ARC700, adding padding if necessary to avoid a mispredict. A
-return could happen immediately after the function start. A
-call/return and return/return must be 6 bytes apart to avoid
-mispredict.
-
-The old implementation was doing this operation very late in the
-compilation process, and the additional nop instructions and/or
-forcing some other instruction to take their long form was not taken
-into account when generating brcc instructions. Thus, wrong code could
-be generated.
-
-gcc/
-2017-03-24 Claudiu Zissulescu <claziss@synopsys.com>
-
- * config/arc/arc-protos.h (arc_pad_return): Remove.
- * config/arc/arc.c (machine_function): Remove force_short_suffix
- and size_reason.
- (arc_print_operand): Adjust printing of '&'.
- (arc_verify_short): Remove conditional printing of short suffix.
- (arc_final_prescan_insn): Remove reference to size_reason.
- (pad_return): New function.
- (arc_reorg): Call pad_return.
- (arc_pad_return): Remove.
- (arc_init_machine_status): Remove reference to force_short_suffix.
- * config/arc/arc.md (vunspec): Add VUNSPEC_ARC_BLOCKAGE.
- (attr length): When attribute iscompact is true force to 2
- regardless; in the case of maybe check if we want to force the
- instruction to have 4 bytes length.
- (nopv): Change it to generate 4 byte long nop as well.
- (blockage): New pattern.
- (simple_return): Remove call to arc_pad_return.
- (p_return_i): Likewise.
-
-gcc/testsuite/
-2017-03-24 Claudiu Zissulescu <claziss@synopsys.com>
-
- * gcc.target/arc/pr9001107555.c: New file.
----
- gcc/config/arc/arc-protos.h | 1 -
- gcc/config/arc/arc.c | 156 +++++++++-----------
- gcc/config/arc/arc.md | 26 +++-
- gcc/testsuite/gcc.target/arc/pr9001107555.c | 38 +++++
- 4 files changed, 128 insertions(+), 93 deletions(-)
- create mode 100644 gcc/testsuite/gcc.target/arc/pr9001107555.c
-
-diff --git a/gcc/config/arc/arc-protos.h b/gcc/config/arc/arc-protos.h
-index 0ba6871628ad..cb5909564eac 100644
---- a/gcc/config/arc/arc-protos.h
-+++ b/gcc/config/arc/arc-protos.h
-@@ -93,7 +93,6 @@ extern void arc_clear_unalign (void);
- extern void arc_toggle_unalign (void);
- extern void split_addsi (rtx *);
- extern void split_subsi (rtx *);
--extern void arc_pad_return (void);
- extern void arc_split_move (rtx *);
- extern const char *arc_short_long (rtx_insn *insn, const char *, const char *);
- extern rtx arc_regno_use_in (unsigned int, rtx);
-diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
-index 2e6fbcb70c6c..79c2d72b4cb3 100644
---- a/gcc/config/arc/arc.c
-+++ b/gcc/config/arc/arc.c
-@@ -2564,8 +2564,6 @@ typedef struct GTY (()) machine_function
- struct arc_frame_info frame_info;
- /* To keep track of unalignment caused by short insns. */
- int unalign;
-- int force_short_suffix; /* Used when disgorging return delay slot insns. */
-- const char *size_reason;
- struct arc_ccfsm ccfsm_current;
- /* Map from uid to ccfsm state during branch shortening. */
- rtx ccfsm_current_insn;
-@@ -4220,7 +4218,7 @@ arc_print_operand (FILE *file, rtx x, int code)
- }
- break;
- case '&':
-- if (TARGET_ANNOTATE_ALIGN && cfun->machine->size_reason)
-+ if (TARGET_ANNOTATE_ALIGN)
- fprintf (file, "; unalign: %d", cfun->machine->unalign);
- return;
- case '+':
-@@ -4906,7 +4904,6 @@ static int
- arc_verify_short (rtx_insn *insn, int, int check_attr)
- {
- enum attr_iscompact iscompact;
-- struct machine_function *machine;
-
- if (check_attr > 0)
- {
-@@ -4914,10 +4911,6 @@ arc_verify_short (rtx_insn *insn, int, int check_attr)
- if (iscompact == ISCOMPACT_FALSE)
- return 0;
- }
-- machine = cfun->machine;
--
-- if (machine->force_short_suffix >= 0)
-- return machine->force_short_suffix;
-
- return (get_attr_length (insn) & 2) != 0;
- }
-@@ -4956,8 +4949,6 @@ arc_final_prescan_insn (rtx_insn *insn, rtx *opvec ATTRIBUTE_UNUSED,
- cfun->machine->prescan_initialized = 1;
- }
- arc_ccfsm_advance (insn, &arc_ccfsm_current);
--
-- cfun->machine->size_reason = 0;
- }
-
- /* Given FROM and TO register numbers, say whether this elimination is allowed.
-@@ -7599,6 +7590,76 @@ jli_call_scan (void)
- }
- }
-
-+/* Add padding if necessary to avoid a mispredict. A return could
-+ happen immediately after the function start. A call/return and
-+ return/return must be 6 bytes apart to avoid mispredict. */
-+
-+static void
-+pad_return (void)
-+{
-+ rtx_insn *insn;
-+ long offset;
-+
-+ if (!TARGET_PAD_RETURN)
-+ return;
-+
-+ for (insn = get_insns (); insn; insn = NEXT_INSN (insn))
-+ {
-+ rtx_insn *prev0 = prev_active_insn (insn);
-+ bool wantlong = false;
-+
-+ if (!INSN_P (insn) || GET_CODE (PATTERN (insn)) != SIMPLE_RETURN)
-+ continue;
-+
-+ if (!prev0)
-+ {
-+ prev0 = emit_insn_before (gen_nopv (), insn);
-+ /* REG_SAVE_NOTE is used by Haifa scheduler, we are in reorg
-+ so it is safe to reuse it for forcing a particular length
-+ for an instruction. */
-+ add_reg_note (prev0, REG_SAVE_NOTE, GEN_INT (1));
-+ emit_insn_before (gen_nopv (), insn);
-+ continue;
-+ }
-+ offset = get_attr_length (prev0);
-+
-+ if (get_attr_length (prev0) == 2
-+ && get_attr_iscompact (prev0) != ISCOMPACT_TRUE)
-+ {
-+ /* Force long version of the insn. */
-+ wantlong = true;
-+ offset += 2;
-+ }
-+
-+ rtx_insn *prev = prev_active_insn (prev0);
-+ if (prev)
-+ offset += get_attr_length (prev);
-+
-+ prev = prev_active_insn (prev);
-+ if (prev)
-+ offset += get_attr_length (prev);
-+
-+ switch (offset)
-+ {
-+ case 2:
-+ prev = emit_insn_before (gen_nopv (), insn);
-+ add_reg_note (prev, REG_SAVE_NOTE, GEN_INT (1));
-+ break;
-+ case 4:
-+ emit_insn_before (gen_nopv (), insn);
-+ break;
-+ default:
-+ continue;
-+ }
-+
-+ if (wantlong)
-+ add_reg_note (prev0, REG_SAVE_NOTE, GEN_INT (1));
-+
-+ /* Emit a blockage to avoid delay slot scheduling. */
-+ emit_insn_before (gen_blockage(), insn);
-+ }
-+}
-+
- static int arc_reorg_in_progress = 0;
-
- /* ARC's machince specific reorg function. */
-@@ -7624,6 +7685,7 @@ arc_reorg (void)
-
- workaround_arc_anomaly ();
- jli_call_scan ();
-+ pad_return ();
-
- /* FIXME: should anticipate ccfsm action, generate special patterns for
- to-be-deleted branches that have no delay slot and have at least the
-@@ -9332,79 +9394,6 @@ arc_branch_size_unknown_p (void)
- return !optimize_size && arc_reorg_in_progress;
- }
-
--/* We are about to output a return insn. Add padding if necessary to avoid
-- a mispredict. A return could happen immediately after the function
-- start, but after a call we know that there will be at least a blink
-- restore. */
--
--void
--arc_pad_return (void)
--{
-- rtx_insn *insn = current_output_insn;
-- rtx_insn *prev = prev_active_insn (insn);
-- int want_long;
--
-- if (!prev)
-- {
-- fputs ("\tnop_s\n", asm_out_file);
-- cfun->machine->unalign ^= 2;
-- want_long = 1;
-- }
-- /* If PREV is a sequence, we know it must be a branch / jump or a tailcall,
-- because after a call, we'd have to restore blink first. */
-- else if (GET_CODE (PATTERN (prev)) == SEQUENCE)
-- return;
-- else
-- {
-- want_long = (get_attr_length (prev) == 2);
-- prev = prev_active_insn (prev);
-- }
-- if (!prev
-- || ((NONJUMP_INSN_P (prev) && GET_CODE (PATTERN (prev)) == SEQUENCE)
-- ? CALL_ATTR (as_a <rtx_sequence *> (PATTERN (prev))->insn (0),
-- NON_SIBCALL)
-- : CALL_ATTR (prev, NON_SIBCALL)))
-- {
-- if (want_long)
-- cfun->machine->size_reason
-- = "call/return and return/return must be 6 bytes apart to avoid mispredict";
-- else if (TARGET_UNALIGN_BRANCH && cfun->machine->unalign)
-- {
-- cfun->machine->size_reason
-- = "Long unaligned jump avoids non-delay slot penalty";
-- want_long = 1;
-- }
-- /* Disgorge delay insn, if there is any, and it may be moved. */
-- if (final_sequence
-- /* ??? Annulled would be OK if we can and do conditionalize
-- the delay slot insn accordingly. */
-- && !INSN_ANNULLED_BRANCH_P (insn)
-- && (get_attr_cond (insn) != COND_USE
-- || !reg_set_p (gen_rtx_REG (CCmode, CC_REG),
-- XVECEXP (final_sequence, 0, 1))))
-- {
-- prev = as_a <rtx_insn *> (XVECEXP (final_sequence, 0, 1));
-- gcc_assert (!prev_real_insn (insn)
-- || !arc_hazard (prev_real_insn (insn), prev));
-- cfun->machine->force_short_suffix = !want_long;
-- rtx save_pred = current_insn_predicate;
-- final_scan_insn (prev, asm_out_file, optimize, 1, NULL);
-- cfun->machine->force_short_suffix = -1;
-- prev->set_deleted ();
-- current_output_insn = insn;
-- current_insn_predicate = save_pred;
-- }
-- else if (want_long)
-- fputs ("\tnop\n", asm_out_file);
-- else
-- {
-- fputs ("\tnop_s\n", asm_out_file);
-- cfun->machine->unalign ^= 2;
-- }
-- }
-- return;
--}
--
- /* The usual; we set up our machine_function data. */
-
- static struct machine_function *
-@@ -9413,7 +9402,6 @@ arc_init_machine_status (void)
- struct machine_function *machine;
- machine = ggc_cleared_alloc<machine_function> ();
- machine->fn_type = ARC_FUNCTION_UNKNOWN;
-- machine->force_short_suffix = -1;
-
- return machine;
- }
-diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md
-index d19e99daca72..fcc6e0692dd1 100644
---- a/gcc/config/arc/arc.md
-+++ b/gcc/config/arc/arc.md
-@@ -161,6 +161,7 @@
- VUNSPEC_ARC_CAS
- VUNSPEC_ARC_SC
- VUNSPEC_ARC_LL
-+ VUNSPEC_ARC_BLOCKAGE
- ])
-
- (define_constants
-@@ -384,13 +385,18 @@
- ;; and insn lengths: insns with shimm values cannot be conditionally executed.
- (define_attr "length" ""
- (cond
-- [(eq_attr "iscompact" "true,maybe")
-+ [(eq_attr "iscompact" "true")
-+ (const_int 2)
-+
-+ (eq_attr "iscompact" "maybe")
- (cond
- [(eq_attr "type" "sfunc")
- (cond [(match_test "GET_CODE (PATTERN (insn)) == COND_EXEC")
- (const_int 12)]
- (const_int 10))
-- (match_test "GET_CODE (PATTERN (insn)) == COND_EXEC") (const_int 4)]
-+ (match_test "GET_CODE (PATTERN (insn)) == COND_EXEC") (const_int 4)
-+ (match_test "find_reg_note (insn, REG_SAVE_NOTE, GEN_INT (1))")
-+ (const_int 4)]
- (const_int 2))
-
- (eq_attr "iscompact" "true_limm")
-@@ -4438,8 +4444,16 @@
- ""
- "nop%?"
- [(set_attr "type" "misc")
-- (set_attr "iscompact" "true")
-- (set_attr "length" "2")])
-+ (set_attr "iscompact" "maybe")
-+ (set_attr "length" "*")])
-+
-+(define_insn "blockage"
-+ [(unspec_volatile [(const_int 0)] VUNSPEC_ARC_BLOCKAGE)]
-+ ""
-+ ""
-+ [(set_attr "length" "0")
-+ (set_attr "type" "block")]
-+)
-
- ;; Split up troublesome insns for better scheduling.
-
-@@ -4984,8 +4998,6 @@
- {
- return \"rtie\";
- }
-- if (TARGET_PAD_RETURN)
-- arc_pad_return ();
- output_asm_insn (\"j%!%* [%0]%&\", &reg);
- return \"\";
- }
-@@ -5029,8 +5041,6 @@
- arc_return_address_register (arc_compute_function_type
- (cfun)));
-
-- if (TARGET_PAD_RETURN)
-- arc_pad_return ();
- output_asm_insn (\"j%d0%!%# [%1]%&\", xop);
- /* record the condition in case there is a delay insn. */
- arc_ccfsm_record_condition (xop[0], false, insn, 0);
-diff --git a/gcc/testsuite/gcc.target/arc/pr9001107555.c b/gcc/testsuite/gcc.target/arc/pr9001107555.c
-new file mode 100644
-index 000000000000..134426d33d93
---- /dev/null
-+++ b/gcc/testsuite/gcc.target/arc/pr9001107555.c
-@@ -0,0 +1,38 @@
-+/* { dg-do assemble } *
-+/* { dg-skip-if "" { ! { clmcpu } } } */
-+/* { dg-options "-O3 -w -funroll-loops -mno-sdata -mcpu=arc700" } */
-+
-+typedef a __attribute__((__mode__(__DI__)));
-+typedef struct c c;
-+struct b {
-+ int d;
-+ c *e
-+};
-+enum { f };
-+typedef struct {
-+ a g;
-+ a h;
-+ int i
-+} j;
-+struct c {
-+ int count;
-+ int current
-+};
-+k;
-+l(struct b *demux, __builtin_va_list args) {
-+ c m = *demux->e;
-+ j *n;
-+ switch (k)
-+ case f: {
-+ a o = __builtin_va_arg(args, a);
-+ m.current = 0;
-+ while (m.current < m.count) {
-+ if (n[m.current].h > o) {
-+ p(demux->d, 4 + 128LL * n[m.current].i);
-+ break;
-+ }
-+ m.current++;
-+ }
-+ return 0;
-+ }
-+}
---
-2.17.0
-
diff --git a/packages/gcc/8.1.0/0018-xscale.patch b/packages/gcc/8.1.0/0018-xscale.patch
deleted file mode 100644
index 62654c2..0000000
--- a/packages/gcc/8.1.0/0018-xscale.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-commit f18d79595db4ae88dbd40d73bb2d1ea191a756a1
-Author: rearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Mon Jun 4 08:41:45 2018 +0000
-
- [arm] PR target/86003 build failures with --with-cpu=xscale
-
- The XScale cpu configuration in GCC has always been somewhat
- non-conforming. Although XScale isn't an architecture (it's simply an
- implementation of ARMv5te), we do by tradition emit a specific
- pre-define for it. We achieve this effect by adding an additional
- feature bit to the xscale CPU definition that isn't part of the base
- architecture.
-
- When I restructured the options last year I overlooked this oddity and
- the result, of course, is that this configuration now fails to build
- as intended.
-
- What happens is that the driver (correctly) constructs an architecture
- for the xscale cpu name (as armv5te) and passes it in addition to the
- CPU name. The backend code, on finding both a cpu and an architecture
- specifies attempts to correlate the two and finds a difference due to
- the additional feature bit and reports an inconsistency (fatally if
- -werror is specified).
-
- I think the best fix to this is to treat the xscale feature bit using
- the same mechanism that we use for other 'quirks' in CPU
- implementations and simply filter it out before comparing the
- capabilities. It has the additional benefit that it's also the
- simplest fix.
-
- PR target/86003
- * config/arm/arm-cpus.in (ALL_QUIRKS): Add xscale feature to the list
- of bits to ignore when comparing architectures.
-
-
- git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261140 138bc75d-0d04-0410-961f-82ee72b054a4
-
-diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in
-index aec73b5cae0..661bf1a573c 100644
---- a/gcc/config/arm/arm-cpus.in
-+++ b/gcc/config/arm/arm-cpus.in
-@@ -254,7 +254,9 @@ define fgroup DOTPROD NEON dotprod
-
- # List of all quirk bits to strip out when comparing CPU features with
- # architectures.
--define fgroup ALL_QUIRKS quirk_no_volatile_ce quirk_armv6kz quirk_cm3_ldrd
-+# xscale isn't really a 'quirk', but it isn't an architecture either and we
-+# need to ignore it for matching purposes.
-+define fgroup ALL_QUIRKS quirk_no_volatile_ce quirk_armv6kz quirk_cm3_ldrd xscale
-
- # Architecture entries
- # format:
diff --git a/packages/gcc/8.1.0/0020-ARC-Don-t-mention-not-yet-supported-hs4xy-CPUs.patch b/packages/gcc/8.1.0/0020-ARC-Don-t-mention-not-yet-supported-hs4xy-CPUs.patch
deleted file mode 100644
index 8c8af88..0000000
--- a/packages/gcc/8.1.0/0020-ARC-Don-t-mention-not-yet-supported-hs4xy-CPUs.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From f191ab7e686b13f77ccb8de52674f7777dbaa0fc Mon Sep 17 00:00:00 2001
-From: Alexey Brodkin <abrodkin@synopsys.com>
-Date: Wed, 16 May 2018 15:06:53 +0300
-Subject: [PATCH] ARC: Don't mention not yet supported hs4xy CPUs
-
-hs4x and hs4xd were mistakenly mentioned in MULTILIB_OPTION/DIRNAMES
-before real support of those CPUs was accepted in upstream.
-
-That breaks multilib toolchains building becase we're trying to compile
-for not yet known CPU.
-
-Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
----
- gcc/config/arc/t-multilib | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/gcc/config/arc/t-multilib b/gcc/config/arc/t-multilib
-index d9ab0ca1da3c..08add5492f0b 100644
---- a/gcc/config/arc/t-multilib
-+++ b/gcc/config/arc/t-multilib
-@@ -21,9 +21,9 @@
- # along with GCC; see the file COPYING3. If not see
- # <http://www.gnu.org/licenses/>.
-
--MULTILIB_OPTIONS = mcpu=em/mcpu=em_mini/mcpu=arcem/mcpu=em4/mcpu=em4_dmips/mcpu=em4_fpus/mcpu=em4_fpuda/mcpu=quarkse_em/mcpu=hs/mcpu=archs/mcpu=hs34/mcpu=hs38/mcpu=hs38_linux/mcpu=hs4x/mcpu=hs4xd/mcpu=arc600/mcpu=arc600_norm/mcpu=arc600_mul64/mcpu=arc600_mul32x16/mcpu=arc601/mcpu=arc601_norm/mcpu=arc601_mul64/mcpu=arc601_mul32x16/mcpu=arc700/mcpu=nps400
-+MULTILIB_OPTIONS = mcpu=em/mcpu=em_mini/mcpu=arcem/mcpu=em4/mcpu=em4_dmips/mcpu=em4_fpus/mcpu=em4_fpuda/mcpu=quarkse_em/mcpu=hs/mcpu=archs/mcpu=hs34/mcpu=hs38/mcpu=hs38_linux/mcpu=arc600/mcpu=arc600_norm/mcpu=arc600_mul64/mcpu=arc600_mul32x16/mcpu=arc601/mcpu=arc601_norm/mcpu=arc601_mul64/mcpu=arc601_mul32x16/mcpu=arc700/mcpu=nps400
-
--MULTILIB_DIRNAMES = em em_mini arcem em4 em4_dmips em4_fpus em4_fpuda quarkse_em hs archs hs34 hs38 hs38_linux hs4x hs4xd arc600 arc600_norm arc600_mul64 arc600_mul32x16 arc601 arc601_norm arc601_mul64 arc601_mul32x16 arc700 nps400
-+MULTILIB_DIRNAMES = em em_mini arcem em4 em4_dmips em4_fpus em4_fpuda quarkse_em hs archs hs34 hs38 hs38_linux arc600 arc600_norm arc600_mul64 arc600_mul32x16 arc601 arc601_norm arc601_mul64 arc601_mul32x16 arc700 nps400
-
- # Aliases:
- MULTILIB_MATCHES = mcpu?arc600=mcpu?ARC600
---
-2.17.0
-
diff --git a/packages/gcc/8.1.0/0021-xtensa-fix-PR-target-65416.patch b/packages/gcc/8.1.0/0021-xtensa-fix-PR-target-65416.patch
deleted file mode 100644
index 252d784..0000000
--- a/packages/gcc/8.1.0/0021-xtensa-fix-PR-target-65416.patch
+++ /dev/null
@@ -1,101 +0,0 @@
-From 5a5636f22679a69c60519e14a0d3dae908ea1cca Mon Sep 17 00:00:00 2001
-From: jcmvbkbc <jcmvbkbc@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Tue, 19 Jun 2018 18:26:07 +0000
-Subject: [PATCH] xtensa: fix PR target/65416
-
-The issue is caused by reordering of stack pointer update after stack
-space allocation with instructions that write to the allocated stack
-space. In windowed ABI register spill area for the previous call frame
-is located just below the stack pointer and may be reloaded back into
-the register file on movsp.
-Implement allocate_stack pattern for windowed ABI configuration and
-insert an instruction that prevents reordering of frame memory access
-and stack pointer update.
-
-gcc/
-2018-06-19 Max Filippov <jcmvbkbc@gmail.com>
-
- * config/xtensa/xtensa.md (UNSPEC_FRAME_BLOCKAGE): New unspec
- constant.
- (allocate_stack, frame_blockage, *frame_blockage): New patterns.
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261755 138bc75d-0d04-0410-961f-82ee72b054a4
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
----
- gcc/config/xtensa/xtensa.md | 46 +++++++++++++++++++++++++++++++++++++++++++++
- 1 file changed, 46 insertions(+)
-
-diff --git a/gcc/config/xtensa/xtensa.md b/gcc/config/xtensa/xtensa.md
-index 84967dbedc08..209f839cfb0f 100644
---- a/gcc/config/xtensa/xtensa.md
-+++ b/gcc/config/xtensa/xtensa.md
-@@ -38,6 +38,7 @@
- (UNSPEC_MEMW 11)
- (UNSPEC_LSETUP_START 12)
- (UNSPEC_LSETUP_END 13)
-+ (UNSPEC_FRAME_BLOCKAGE 14)
-
- (UNSPECV_SET_FP 1)
- (UNSPECV_ENTRY 2)
-@@ -1676,6 +1677,32 @@
-
- ;; Miscellaneous instructions.
-
-+;; In windowed ABI stack pointer adjustment must happen before any access
-+;; to the space allocated on stack is allowed, otherwise register spill
-+;; area may be clobbered. That's what frame blockage is supposed to enforce.
-+
-+(define_expand "allocate_stack"
-+ [(set (match_operand 0 "nonimmed_operand")
-+ (minus (reg A1_REG) (match_operand 1 "add_operand")))
-+ (set (reg A1_REG)
-+ (minus (reg A1_REG) (match_dup 1)))]
-+ "TARGET_WINDOWED_ABI"
-+{
-+ if (CONST_INT_P (operands[1]))
-+ {
-+ rtx neg_op0 = GEN_INT (-INTVAL (operands[1]));
-+ emit_insn (gen_addsi3 (stack_pointer_rtx, stack_pointer_rtx, neg_op0));
-+ }
-+ else
-+ {
-+ emit_insn (gen_subsi3 (stack_pointer_rtx, stack_pointer_rtx,
-+ operands[1]));
-+ }
-+ emit_move_insn (operands[0], virtual_stack_dynamic_rtx);
-+ emit_insn (gen_frame_blockage ());
-+ DONE;
-+})
-+
- (define_expand "prologue"
- [(const_int 0)]
- ""
-@@ -1767,6 +1794,25 @@
- [(set_attr "length" "0")
- (set_attr "type" "nop")])
-
-+;; Do not schedule instructions accessing memory before this point.
-+
-+(define_expand "frame_blockage"
-+ [(set (match_dup 0)
-+ (unspec:BLK [(match_dup 1)] UNSPEC_FRAME_BLOCKAGE))]
-+ ""
-+{
-+ operands[0] = gen_rtx_MEM (BLKmode, gen_rtx_SCRATCH (Pmode));
-+ MEM_VOLATILE_P (operands[0]) = 1;
-+ operands[1] = stack_pointer_rtx;
-+})
-+
-+(define_insn "*frame_blockage"
-+ [(set (match_operand:BLK 0 "" "")
-+ (unspec:BLK [(match_operand:SI 1 "" "")] UNSPEC_FRAME_BLOCKAGE))]
-+ ""
-+ ""
-+ [(set_attr "length" "0")])
-+
- (define_insn "trap"
- [(trap_if (const_int 1) (const_int 0))]
- ""
---
-2.11.0
-
diff --git a/packages/gcc/8.1.0/chksum b/packages/gcc/8.1.0/chksum
deleted file mode 100644
index 0fc6e69..0000000
--- a/packages/gcc/8.1.0/chksum
+++ /dev/null
@@ -1,8 +0,0 @@
-md5 gcc-8.1.0.tar.xz 65f7c65818dc540b3437605026d329fc
-sha1 gcc-8.1.0.tar.xz b34031ba9ff3e248b2c62de0825e49a1e0e01998
-sha256 gcc-8.1.0.tar.xz 1d1866f992626e61349a1ccd0b8d5253816222cdc13390dcfaa74b093aa2b153
-sha512 gcc-8.1.0.tar.xz c96246f34a7aeb404c4525b754dc7f7708a18e06271aadb2b32fef00e6e0940f584e52430bfe2ab01e699c93e3cb418adc113d2622fa826facbec0ec8ce3eb2c
-md5 gcc-8.1.0.tar.gz 6a1fabd167fe98c11857181c210fc743
-sha1 gcc-8.1.0.tar.gz f6ec34a732f7c384a54afcb610a4861ccd6bde96
-sha256 gcc-8.1.0.tar.gz af300723841062db6ae24e38e61aaf4fbf3f6e5d9fd3bf60ebbdbf95db4e9f09
-sha512 gcc-8.1.0.tar.gz 4655d31c729e82888a5ee18dd99ef4573a6d4434885e358c9231c795373f16016ad89db3204e297add81995974aff8eb5de82efa1ad9f56827e67c9994a6dee1
diff --git a/packages/gcc-linaro/6.4-2017.11/0000-libtool-leave-framework-alone.patch b/packages/gcc/8.2.0/0000-libtool-leave-framework-alone.patch
index 1a86e41..1a86e41 100644
--- a/packages/gcc-linaro/6.4-2017.11/0000-libtool-leave-framework-alone.patch
+++ b/packages/gcc/8.2.0/0000-libtool-leave-framework-alone.patch
diff --git a/packages/gcc-linaro/6.4-2017.11/0001-uclibc-conf.patch b/packages/gcc/8.2.0/0001-uclibc-conf.patch
index aef750a..aef750a 100644
--- a/packages/gcc-linaro/6.4-2017.11/0001-uclibc-conf.patch
+++ b/packages/gcc/8.2.0/0001-uclibc-conf.patch
diff --git a/packages/gcc/8.1.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch b/packages/gcc/8.2.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
index 20a88df..20a88df 100644
--- a/packages/gcc/8.1.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
+++ b/packages/gcc/8.2.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
diff --git a/packages/gcc-linaro/7.2-2017.11/0003-gcc-plugin-POSIX-include-sys-select-h.patch b/packages/gcc/8.2.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
index 5f9a07a..5f9a07a 100644
--- a/packages/gcc-linaro/7.2-2017.11/0003-gcc-plugin-POSIX-include-sys-select-h.patch
+++ b/packages/gcc/8.2.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
diff --git a/packages/gcc-linaro/7.2-2017.11/0004-arm-softfloat-libgcc.patch b/packages/gcc/8.2.0/0004-arm-softfloat-libgcc.patch
index d980036..d980036 100644
--- a/packages/gcc-linaro/7.2-2017.11/0004-arm-softfloat-libgcc.patch
+++ b/packages/gcc/8.2.0/0004-arm-softfloat-libgcc.patch
diff --git a/packages/gcc/8.1.0/0005-fix-m68k-uclinux.patch b/packages/gcc/8.2.0/0005-fix-m68k-uclinux.patch
index 02b53bd..02b53bd 100644
--- a/packages/gcc/8.1.0/0005-fix-m68k-uclinux.patch
+++ b/packages/gcc/8.2.0/0005-fix-m68k-uclinux.patch
diff --git a/packages/gcc/8.1.0/0006-libgfortran-missing-include.patch b/packages/gcc/8.2.0/0006-libgfortran-missing-include.patch
index 701e7b4..701e7b4 100644
--- a/packages/gcc/8.1.0/0006-libgfortran-missing-include.patch
+++ b/packages/gcc/8.2.0/0006-libgfortran-missing-include.patch
diff --git a/packages/gcc/8.1.0/0007-nios2-bad-multilib-default.patch b/packages/gcc/8.2.0/0007-nios2-bad-multilib-default.patch
index 4acc491..4acc491 100644
--- a/packages/gcc/8.1.0/0007-nios2-bad-multilib-default.patch
+++ b/packages/gcc/8.2.0/0007-nios2-bad-multilib-default.patch
diff --git a/packages/gcc/8.1.0/0008-libgcc-disable-split-stack-nothreads.patch b/packages/gcc/8.2.0/0008-libgcc-disable-split-stack-nothreads.patch
index df91a9f..df91a9f 100644
--- a/packages/gcc/8.1.0/0008-libgcc-disable-split-stack-nothreads.patch
+++ b/packages/gcc/8.2.0/0008-libgcc-disable-split-stack-nothreads.patch
diff --git a/packages/gcc/8.1.0/0009-bionic-ndk.patch b/packages/gcc/8.2.0/0009-bionic-ndk.patch
index 474dd8c..474dd8c 100644
--- a/packages/gcc/8.1.0/0009-bionic-ndk.patch
+++ b/packages/gcc/8.2.0/0009-bionic-ndk.patch
diff --git a/packages/gcc/8.1.0/0010-crystax.patch b/packages/gcc/8.2.0/0010-crystax.patch
index 1657cd4..0db3b69 100644
--- a/packages/gcc/8.1.0/0010-crystax.patch
+++ b/packages/gcc/8.2.0/0010-crystax.patch
@@ -53,7 +53,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
esac
aarch64_multilibs="${with_multilib_list}"
if test "$aarch64_multilibs" = "default"; then
-@@ -2128,6 +2132,17 @@
+@@ -2130,6 +2134,17 @@
tm_file="dbxelf.h elfos.h gnu-user.h linux.h linux-android.h glibc-stdint.h ${tm_file} mips/gnu-user.h mips/linux.h mips/linux-common.h"
extra_options="${extra_options} linux-android.opt"
case ${target} in
@@ -446,7 +446,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
#if ((defined(_LIBOBJC) || defined(_LIBOBJC_WEAK)) \
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
-@@ -78478,6 +78478,18 @@
+@@ -78491,6 +78491,18 @@
/* end confdefs.h. */
#include <sys/syscall.h>
int lk;
diff --git a/packages/gcc/8.1.0/0011-crystax.patch b/packages/gcc/8.2.0/0011-crystax.patch
index f1f9eb1..f1f9eb1 100644
--- a/packages/gcc/8.1.0/0011-crystax.patch
+++ b/packages/gcc/8.2.0/0011-crystax.patch
diff --git a/packages/gcc/8.1.0/0012-crystax.patch b/packages/gcc/8.2.0/0012-crystax.patch
index 2bf6cc7..2bf6cc7 100644
--- a/packages/gcc/8.1.0/0012-crystax.patch
+++ b/packages/gcc/8.2.0/0012-crystax.patch
diff --git a/packages/gcc/8.1.0/0013-crystax.patch b/packages/gcc/8.2.0/0013-crystax.patch
index b520968..3b9347a 100644
--- a/packages/gcc/8.1.0/0013-crystax.patch
+++ b/packages/gcc/8.2.0/0013-crystax.patch
@@ -12,7 +12,7 @@ Date: Thu Aug 20 19:11:07 2015 +0300
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
-@@ -15913,6 +15913,7 @@
+@@ -15916,6 +15916,7 @@
else if (!SYMBOL_REF_FAR_ADDR_P (op0)
&& (SYMBOL_REF_LOCAL_P (op0)
|| (HAVE_LD_PIE_COPYRELOC
diff --git a/packages/gcc/8.1.0/0014-crystax.patch b/packages/gcc/8.2.0/0014-crystax.patch
index 8f2eb43..8f2eb43 100644
--- a/packages/gcc/8.1.0/0014-crystax.patch
+++ b/packages/gcc/8.2.0/0014-crystax.patch
diff --git a/packages/gcc/8.1.0/0015-crystax.patch b/packages/gcc/8.2.0/0015-crystax.patch
index 05d67f9..05d67f9 100644
--- a/packages/gcc/8.1.0/0015-crystax.patch
+++ b/packages/gcc/8.2.0/0015-crystax.patch
diff --git a/packages/gcc/8.1.0/0016-crystax.patch b/packages/gcc/8.2.0/0016-crystax.patch
index 8c21a1c..8c21a1c 100644
--- a/packages/gcc/8.1.0/0016-crystax.patch
+++ b/packages/gcc/8.2.0/0016-crystax.patch
diff --git a/packages/gcc/8.1.0/0017-crystax.patch b/packages/gcc/8.2.0/0017-crystax.patch
index ccb81fd..ccb81fd 100644
--- a/packages/gcc/8.1.0/0017-crystax.patch
+++ b/packages/gcc/8.2.0/0017-crystax.patch
diff --git a/packages/gcc/8.1.0/0019-ARC-Add-multilib-support-for-linux-targets.patch b/packages/gcc/8.2.0/0018-ARC-Add-multilib-support-for-linux-targets.patch
index 6151067..6c0ff27 100644
--- a/packages/gcc/8.1.0/0019-ARC-Add-multilib-support-for-linux-targets.patch
+++ b/packages/gcc/8.2.0/0018-ARC-Add-multilib-support-for-linux-targets.patch
@@ -22,16 +22,14 @@ gcc/
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260434 138bc75d-0d04-0410-961f-82ee72b054a4
---
- gcc/config.gcc | 2 +-
- gcc/config/arc/t-multilib-linux | 25 +++++++++++++++++++++++++
+ gcc/config.gcc | 2 +-
+ gcc/config/arc/t-multilib-linux | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+), 1 deletion(-)
create mode 100644 gcc/config/arc/t-multilib-linux
-diff --git a/gcc/config.gcc b/gcc/config.gcc
-index 96ae6a88a0db..d73e2cbc99a1 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
-@@ -1061,7 +1061,7 @@ arc*-*-elf*)
+@@ -1063,7 +1063,7 @@
;;
arc*-*-linux*)
tm_file="arc/arc-arch.h dbxelf.h elfos.h gnu-user.h linux.h linux-android.h glibc-stdint.h arc/linux.h ${tm_file}"
@@ -40,9 +38,6 @@ index 96ae6a88a0db..d73e2cbc99a1 100644
extra_gcc_objs="driver-arc.o"
if test "x$with_cpu" != x; then
tm_defines="${tm_defines} TARGET_CPU_BUILD=PROCESSOR_$with_cpu"
-diff --git a/gcc/config/arc/t-multilib-linux b/gcc/config/arc/t-multilib-linux
-new file mode 100644
-index 000000000000..f357cfc3f926
--- /dev/null
+++ b/gcc/config/arc/t-multilib-linux
@@ -0,0 +1,25 @@
@@ -71,6 +66,3 @@ index 000000000000..f357cfc3f926
+# Aliases:
+MULTILIB_MATCHES += mcpu?arc700=mA7
+MULTILIB_MATCHES += mcpu?arc700=mARC700
---
-2.17.0
-
diff --git a/packages/gcc/8.2.0/chksum b/packages/gcc/8.2.0/chksum
new file mode 100644
index 0000000..2035f37
--- /dev/null
+++ b/packages/gcc/8.2.0/chksum
@@ -0,0 +1,8 @@
+md5 gcc-8.2.0.tar.xz 4ab282f414676496483b3e1793d07862
+sha1 gcc-8.2.0.tar.xz 19926bdb6c4b58891015929853d41aeff019d400
+sha256 gcc-8.2.0.tar.xz 196c3c04ba2613f893283977e6011b2345d1cd1af9abeac58e916b1aab3e0080
+sha512 gcc-8.2.0.tar.xz 64898a165f67e136d802a92e7633bf1b06c85266027e52127ea025bf5fc2291b5e858288aac0bdba246e6cdf7c6ec88bc8e0e7f3f6f1985f4297710cafde56ed
+md5 gcc-8.2.0.tar.gz ee04f0c22a941f5f17d93809387f2729
+sha1 gcc-8.2.0.tar.gz 3895bb765c2ceecccd6dee86467f6d1bb1994cbd
+sha256 gcc-8.2.0.tar.gz 1b0f36be1045ff58cbb9c83743835367b860810f17f0195a4e093458b372020f
+sha512 gcc-8.2.0.tar.gz 3182cd248a37ce4c36ad2a43f1910da13325452472ea80855afc21f134c4e4792c29887f5e070fe21c3ff8e5953e59f69343e1d3b968ee1eb2d8b5c8ae9f48fa
diff --git a/packages/gdb/8.1/version.desc b/packages/gcc/8.2.0/version.desc
index e69de29..e69de29 100644
--- a/packages/gdb/8.1/version.desc
+++ b/packages/gcc/8.2.0/version.desc
diff --git a/packages/gdb/8.1/0000-musl_fix.patch b/packages/gdb/8.1.1/0000-musl_fix.patch
index 6829780..6829780 100644
--- a/packages/gdb/8.1/0000-musl_fix.patch
+++ b/packages/gdb/8.1.1/0000-musl_fix.patch
diff --git a/packages/gdb/8.1/0001-uclibc-no-gettimeofday-clobber.patch b/packages/gdb/8.1.1/0001-uclibc-no-gettimeofday-clobber.patch
index c8b4a5e..c8b4a5e 100644
--- a/packages/gdb/8.1/0001-uclibc-no-gettimeofday-clobber.patch
+++ b/packages/gdb/8.1.1/0001-uclibc-no-gettimeofday-clobber.patch
diff --git a/packages/gdb/8.1/0002-xtensa-make-sure-ar_base-is-initialized.patch b/packages/gdb/8.1.1/0002-xtensa-make-sure-ar_base-is-initialized.patch
index 4a046fd..4a046fd 100644
--- a/packages/gdb/8.1/0002-xtensa-make-sure-ar_base-is-initialized.patch
+++ b/packages/gdb/8.1.1/0002-xtensa-make-sure-ar_base-is-initialized.patch
diff --git a/packages/gdb/8.1/0003-WIP-end-of-prologue-detection-hack.patch b/packages/gdb/8.1.1/0003-WIP-end-of-prologue-detection-hack.patch
index 90cfc51..90cfc51 100644
--- a/packages/gdb/8.1/0003-WIP-end-of-prologue-detection-hack.patch
+++ b/packages/gdb/8.1.1/0003-WIP-end-of-prologue-detection-hack.patch
diff --git a/packages/gdb/8.1/0004-allow-android.patch b/packages/gdb/8.1.1/0004-allow-android.patch
index cd47494..cd47494 100644
--- a/packages/gdb/8.1/0004-allow-android.patch
+++ b/packages/gdb/8.1.1/0004-allow-android.patch
diff --git a/packages/gdb/8.1.1/chksum b/packages/gdb/8.1.1/chksum
new file mode 100644
index 0000000..50dc2ae
--- /dev/null
+++ b/packages/gdb/8.1.1/chksum
@@ -0,0 +1,8 @@
+md5 gdb-8.1.1.tar.xz 372fa63a53adeee1bfbfd581d8da9e34
+sha1 gdb-8.1.1.tar.xz 8c04c12f11b5ba74e7506785632c7fc593ead90f
+sha256 gdb-8.1.1.tar.xz 97dcc3169bd430270fc29adb65145846a58c1b55cdbb73382a4a89307bdad03c
+sha512 gdb-8.1.1.tar.xz 7dcd5e8c90de92f577834d887b5f54edb93a07083bfe661bc46c270a6cc4919f0b348e7e2fe8ae4511298a570ef150eeefdc667ef7cf527f0cf60943177ab6c9
+md5 gdb-8.1.1.tar.gz 73919964409462c28879134853fbb8da
+sha1 gdb-8.1.1.tar.gz 815dfd374fc8d8613e819bf518b834d78a4c3114
+sha256 gdb-8.1.1.tar.gz 038623e5693d40a3048b014cd62c965e720f7bdbf326ff341b25de344a33fe11
+sha512 gdb-8.1.1.tar.gz 28ddf36fdf15e8f6ae0e4367756325f22b5eb72e689af1797f4265eea7551362a42850510bf67d4ca7fdb2e45a14ba198973c9fe8e19c89b7512af930026a5a6
diff --git a/packages/gcc/8.1.0/version.desc b/packages/gdb/8.1.1/version.desc
index e69de29..e69de29 100644
--- a/packages/gcc/8.1.0/version.desc
+++ b/packages/gdb/8.1.1/version.desc
diff --git a/packages/gdb/8.1/chksum b/packages/gdb/8.1/chksum
deleted file mode 100644
index c75924e..0000000
--- a/packages/gdb/8.1/chksum
+++ /dev/null
@@ -1,8 +0,0 @@
-md5 gdb-8.1.tar.xz f46487561f9a16916a8102316f7fd105
-sha1 gdb-8.1.tar.xz 641861f7d3f22b6a23bc3e801f0ff29a78375490
-sha256 gdb-8.1.tar.xz af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34
-sha512 gdb-8.1.tar.xz ffd82f415d7652d62dad1716c307836f594217a363429609beb7d70239e8bf06b73b393345b0e000796228e56681ed7656ac3c8be05e91d6d652ab0d5b1dc357
-md5 gdb-8.1.tar.gz 0c85ecbb43569ec43b1c9230622e84ab
-sha1 gdb-8.1.tar.gz b28d9349ccd45c0aa208cda3a1ecf7e17eca0552
-sha256 gdb-8.1.tar.gz e54a2322da050e4b00785370a282b9b8f0b25861ec7cfbbce0115e253eea910e
-sha512 gdb-8.1.tar.gz 4a51e491061f97708ec1cebf9973ea451f9b9499ee2b898fa1631dbe78ffecec9c09e8a95f04c888dee4664957583b1982efd468088878b203a125bbcf9ee516
diff --git a/packages/gdb/8.2/0000-musl_fix.patch b/packages/gdb/8.2/0000-musl_fix.patch
new file mode 100644
index 0000000..6829780
--- /dev/null
+++ b/packages/gdb/8.2/0000-musl_fix.patch
@@ -0,0 +1,33 @@
+---
+ gdb/linux-nat.c | 5 +++++
+ gdb/stopcode.h | 4 ++++
+ 2 files changed, 9 insertions(+)
+
+--- a/gdb/linux-nat.c
++++ b/gdb/linux-nat.c
+@@ -17,6 +17,7 @@
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
++#include "stopcode.h"
+ #include "defs.h"
+ #include "inferior.h"
+ #include "infrun.h"
+@@ -71,6 +72,10 @@
+ #define SPUFS_MAGIC 0x23c9b64e
+ #endif
+
++#ifndef __SIGRTMIN
++#define __SIGRTMIN SIGRTMIN
++#endif
++
+ /* This comment documents high-level logic of this file.
+
+ Waiting for events in sync mode
+--- /dev/null
++++ b/gdb/stopcode.h
+@@ -0,0 +1,4 @@
++#ifndef W_STOPCODE
++#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
++#endif
++
diff --git a/packages/gdb/8.2/0001-uclibc-no-gettimeofday-clobber.patch b/packages/gdb/8.2/0001-uclibc-no-gettimeofday-clobber.patch
new file mode 100644
index 0000000..3bb6c20
--- /dev/null
+++ b/packages/gdb/8.2/0001-uclibc-no-gettimeofday-clobber.patch
@@ -0,0 +1,33 @@
+Improve gnulib in gdb's guess work, gettimeofday() works in uClibcm promise.
+
+This patch helps building x86_64-unknown-linux-uclibc toolchains, the final
+gdb-native step otherwise fails when linking the libinproctrace.so
+
+Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
+Signed-off-by: Alexey Neyman <stilor@att.net>
+
+---
+ gdb/gnulib/configure | 1 +
+ gdb/gnulib/import/m4/gettimeofday.m4 | 1 +
+ 2 files changed, 2 insertions(+)
+
+--- a/gdb/gnulib/configure
++++ b/gdb/gnulib/configure
+@@ -17214,6 +17214,7 @@
+ case "$host_os" in
+ # Guess all is fine on glibc systems.
+ *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;;
++ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;;
+ # If we don't know, assume the worst.
+ *) gl_cv_func_gettimeofday_clobber="guessing yes" ;;
+ esac
+--- a/gdb/gnulib/import/m4/gettimeofday.m4
++++ b/gdb/gnulib/import/m4/gettimeofday.m4
+@@ -111,6 +111,7 @@
+ case "$host_os" in
+ # Guess all is fine on glibc systems.
+ *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;;
++ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;;
+ # If we don't know, assume the worst.
+ *) gl_cv_func_gettimeofday_clobber="guessing yes" ;;
+ esac
diff --git a/packages/gdb/8.2/0002-xtensa-make-sure-ar_base-is-initialized.patch b/packages/gdb/8.2/0002-xtensa-make-sure-ar_base-is-initialized.patch
new file mode 100644
index 0000000..8c0ffa1
--- /dev/null
+++ b/packages/gdb/8.2/0002-xtensa-make-sure-ar_base-is-initialized.patch
@@ -0,0 +1,30 @@
+From 208ea73d38c9c16cf983b6419f58050dbadcb6a9 Mon Sep 17 00:00:00 2001
+From: Max Filippov <jcmvbkbc@gmail.com>
+Date: Sun, 7 Jun 2015 22:43:49 +0300
+Subject: [PATCH 2/2] xtensa: make sure ar_base is initialized
+
+ar_base is uninitialized for cores w/o windowed registers as their
+regmap doesn't have register 0x0100.
+Check that ar_base is initialized and if not initialize it with a0_base.
+
+gdb/
+ * xtensa-tdep.c (xtensa_derive_tdep): Make sure ar_base is
+ initialized.
+
+Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
+---
+ gdb/xtensa-tdep.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/gdb/xtensa-tdep.c
++++ b/gdb/xtensa-tdep.c
+@@ -3151,6 +3151,9 @@
+ if (tdep->num_regs == 0)
+ tdep->num_regs = tdep->num_nopriv_regs;
+
++ if (tdep->ar_base == -1)
++ tdep->ar_base = tdep->a0_base;
++
+ /* Number of pseudo registers. */
+ tdep->num_pseudo_regs = n - tdep->num_regs;
+
diff --git a/packages/gdb/8.2/0003-WIP-end-of-prologue-detection-hack.patch b/packages/gdb/8.2/0003-WIP-end-of-prologue-detection-hack.patch
new file mode 100644
index 0000000..dca5a2f
--- /dev/null
+++ b/packages/gdb/8.2/0003-WIP-end-of-prologue-detection-hack.patch
@@ -0,0 +1,26 @@
+From 7f8eacbb468575fb67db7fd1155a3aedaa91911b Mon Sep 17 00:00:00 2001
+From: Max Filippov <jcmvbkbc@gmail.com>
+Date: Sun, 7 Jun 2015 23:15:39 +0300
+Subject: [PATCH] WIP: *end of prologue* detection hack
+
+see
+ http://www.esp8266.com/viewtopic.php?p=18461#p18461
+ http://www.esp8266.com/viewtopic.php?p=19026#p19026
+ http://www.esp8266.com/viewtopic.php?p=19683#p19683
+
+Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
+---
+ gdb/xtensa-tdep.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/gdb/xtensa-tdep.c
++++ b/gdb/xtensa-tdep.c
+@@ -2399,7 +2399,7 @@
+ /* Find out, if we have an information about the prologue from DWARF. */
+ prologue_sal = find_pc_line (start, 0);
+ if (prologue_sal.line != 0) /* Found debug info. */
+- body_pc = prologue_sal.end;
++ body_pc = prologue_sal.end + 40;
+
+ /* If we are going to analyze the prologue in general without knowing about
+ the current PC, make the best assumtion for the end of the prologue. */
diff --git a/packages/gdb/8.2/0004-allow-android.patch b/packages/gdb/8.2/0004-allow-android.patch
new file mode 100644
index 0000000..c14d3df
--- /dev/null
+++ b/packages/gdb/8.2/0004-allow-android.patch
@@ -0,0 +1,45 @@
+---
+ gdb/gdbserver/configure | 11 -----------
+ gdb/gdbserver/configure.ac | 11 -----------
+ 2 files changed, 22 deletions(-)
+
+--- a/gdb/gdbserver/configure
++++ b/gdb/gdbserver/configure
+@@ -7645,17 +7645,6 @@
+
+
+ case "${target}" in
+- *-android*)
+- # Starting with NDK version 9, <elf.h> actually includes definitions
+- # of Elf32_auxv_t and Elf64_auxv_t. But sadly, <elf.h> includes
+- # <sys/exec_elf.h> which defines some of the ELF types incorrectly,
+- # leading to conflicts with the defintions from <linux/elf.h>.
+- # This makes it impossible for us to include both <elf.h> and
+- # <linux/elf.h>, which means that, in practice, we do not have
+- # access to Elf32_auxv_t and Elf64_auxv_t on this platform.
+- # Therefore, do not try to auto-detect availability, as it would
+- # get it wrong on this platform.
+- ;;
+ *)
+ ac_fn_c_check_type "$LINENO" "Elf32_auxv_t" "ac_cv_type_Elf32_auxv_t" "#include <elf.h>
+
+--- a/gdb/gdbserver/configure.ac
++++ b/gdb/gdbserver/configure.ac
+@@ -193,17 +193,6 @@
+ ])
+
+ case "${target}" in
+- *-android*)
+- # Starting with NDK version 9, <elf.h> actually includes definitions
+- # of Elf32_auxv_t and Elf64_auxv_t. But sadly, <elf.h> includes
+- # <sys/exec_elf.h> which defines some of the ELF types incorrectly,
+- # leading to conflicts with the defintions from <linux/elf.h>.
+- # This makes it impossible for us to include both <elf.h> and
+- # <linux/elf.h>, which means that, in practice, we do not have
+- # access to Elf32_auxv_t and Elf64_auxv_t on this platform.
+- # Therefore, do not try to auto-detect availability, as it would
+- # get it wrong on this platform.
+- ;;
+ *)
+ AC_CHECK_TYPES([Elf32_auxv_t, Elf64_auxv_t], [], [],
+ #include <elf.h>
diff --git a/packages/gdb/8.2/chksum b/packages/gdb/8.2/chksum
new file mode 100644
index 0000000..c384f48
--- /dev/null
+++ b/packages/gdb/8.2/chksum
@@ -0,0 +1,8 @@
+md5 gdb-8.2.tar.xz b5a49dbff00d9a87fbe114d14b3101c0
+sha1 gdb-8.2.tar.xz ee66294d87a109f88a459d0da5d0bb2da5135f45
+sha256 gdb-8.2.tar.xz c3a441a29c7c89720b734e5a9c6289c0a06be7e0c76ef538f7bbcef389347c39
+sha512 gdb-8.2.tar.xz 11cc481bebc51eb6db73249ecb62b8c07455cf3db169f4860b3a83114849fbd2b5860a2db64488ba6c5909cf07b255c04770f1e36059eae6bee16d2a3581be90
+md5 gdb-8.2.tar.gz 0783c6d86775c5aff06cccc8a3d7cad8
+sha1 gdb-8.2.tar.gz 86711a2d14b420b6d7d20418e98c60178fd5a1e0
+sha256 gdb-8.2.tar.gz 847e4b65e5a7b872e86019dd59659029e2b06cae962e0ef345f169dcb4b851b8
+sha512 gdb-8.2.tar.gz 2ce38e6c5e550cb2f9529abd4dd9bf1fcd172fed783cc15cd86950c1eb00f3dfde300942aa4e61d5683ba07e7601de3704e844735a5f26d435ece3ae1d8511fe
diff --git a/packages/gcc-linaro/7.2-2017.11/version.desc b/packages/gdb/8.2/version.desc
index e69de29..e69de29 100644
--- a/packages/gcc-linaro/7.2-2017.11/version.desc
+++ b/packages/gdb/8.2/version.desc
diff --git a/packages/glibc/2.27/version.desc b/packages/glibc/2.27/version.desc
index e69de29..50a6247 100644
--- a/packages/glibc/2.27/version.desc
+++ b/packages/glibc/2.27/version.desc
@@ -0,0 +1 @@
+# Not obsolete (Ubuntu 18.04, EOL 04/2023)
diff --git a/packages/glibc/2.28/0000-typedef-caddr.patch b/packages/glibc/2.28/0000-typedef-caddr.patch
new file mode 100644
index 0000000..a328da1
--- /dev/null
+++ b/packages/glibc/2.28/0000-typedef-caddr.patch
@@ -0,0 +1,17 @@
+---
+ posix/sys/types.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/posix/sys/types.h
++++ b/posix/sys/types.h
+@@ -112,7 +112,10 @@
+ #ifdef __USE_MISC
+ # ifndef __daddr_t_defined
+ typedef __daddr_t daddr_t;
++# if ! defined(caddr_t) && ! defined(__caddr_t_defined)
+ typedef __caddr_t caddr_t;
++# define __caddr_t_defined
++# endif
+ # define __daddr_t_defined
+ # endif
+ #endif
diff --git a/packages/glibc/2.28/chksum b/packages/glibc/2.28/chksum
new file mode 100644
index 0000000..256382f
--- /dev/null
+++ b/packages/glibc/2.28/chksum
@@ -0,0 +1,12 @@
+md5 glibc-2.28.tar.xz c81d2388896379997bc359d4f2084239
+sha1 glibc-2.28.tar.xz ccb5dc9e51a9884df8488f86982439d47b283b2a
+sha256 glibc-2.28.tar.xz b1900051afad76f7a4f73e71413df4826dce085ef8ddb785a945b66d7d513082
+sha512 glibc-2.28.tar.xz 521f820953ff07c69ece4c2186f59fc061a7f9747932cd70ef2995c2b2deee76eeb6de700d85071cdca5949179aa8ccee75eda7feca1394121ec7b821ad0a3f3
+md5 glibc-2.28.tar.bz2 191dc6cff5cc9a5a711ca94f56c97681
+sha1 glibc-2.28.tar.bz2 48a5dac8b4ef5c07d2da26de4afd52ef2d6cf286
+sha256 glibc-2.28.tar.bz2 da9e45260c0cd3dbf6a585082a602521092ae7b3ecb17092cd7347603ef1e2cb
+sha512 glibc-2.28.tar.bz2 9947355cc73a0c2c2e5d2e614092869ec26aa6e62753e82d6e2dc4e917309b7ad7b853fb2395445b60d2a5e73ae78106125425929d203fc2761e256fd2ee4729
+md5 glibc-2.28.tar.gz d5fea592406659df50d00666ff9d0c53
+sha1 glibc-2.28.tar.gz 3640cf2e373030f47622e4c89f3fd2a2bb912c6a
+sha256 glibc-2.28.tar.gz f318d6e3f1f4ed0b74d2832ac4f491d0fb928e451c9eda594cbf1c3bee7af47c
+sha512 glibc-2.28.tar.gz b603f92321c062c8d4a667a8c07a39318a1faf857226c5f4d6a86e239c2b08a33f099afb175fb8952063e053bc77cb91dabf94d50989dca86f70a8fbbabbfdbe
diff --git a/packages/glibc/2.28/version.desc b/packages/glibc/2.28/version.desc
new file mode 100644
index 0000000..50a6247
--- /dev/null
+++ b/packages/glibc/2.28/version.desc
@@ -0,0 +1 @@
+# Not obsolete (Ubuntu 18.04, EOL 04/2023)
diff --git a/packages/isl/0.20/chksum b/packages/isl/0.20/chksum
new file mode 100644
index 0000000..3262b34
--- /dev/null
+++ b/packages/isl/0.20/chksum
@@ -0,0 +1,12 @@
+md5 isl-0.19.tar.xz 1ae893020fa078531e6158cb243880a5
+sha1 isl-0.19.tar.xz 3447b208786a81be396912bc160f6c01bd679892
+sha256 isl-0.19.tar.xz 6d6c1aa00e2a6dfc509fa46d9a9dbe93af0c451e196a670577a148feecf6b8a5
+sha512 isl-0.19.tar.xz eeda0405d38f77a18c6e69128948dc29af7e44ce827e9fb538d3844c6e22db3b4126287ca0937d9bee7b528bbab7aad8d3729db36e74864196f57e81943dade4
+md5 isl-0.19.tar.bz2 7850d46a96e5ea31e34913190895e154
+sha1 isl-0.19.tar.bz2 dba7264419ba995a0f6b4fde135993677f7c85fd
+sha256 isl-0.19.tar.bz2 d59726f34f7852a081fbd3defd1ab2136f174110fc2e0c8d10bb122173fa9ed8
+sha512 isl-0.19.tar.bz2 08f4db964d9e02ec8aa9779378ed76e0ddf1d56f81f87664dbf787555ce496cdc87e836f8a51ae137f45e648c604870cce07ee45919eafb549e404afb8f27083
+md5 isl-0.19.tar.gz 5a2dc001276a227509b2bab3382e461f
+sha1 isl-0.19.tar.gz db4e0b8d79b14de65ff6d90b446e5d5643bfaeba
+sha256 isl-0.19.tar.gz dc56525cac8581b13c84a26a73d3142008912b7157f89b8d8d7b08f1a8fd1eec
+sha512 isl-0.19.tar.gz 55a37c118ec427273399c20d268911152304a8686453dbf2ce0c45a045509c60a6fc8ffeb2299dce0cdde4506111c8f709d37340f4e136b346cb38d763968e12
diff --git a/packages/gcc-linaro/6.4-2017.11/version.desc b/packages/isl/0.20/version.desc
index e69de29..e69de29 100644
--- a/packages/gcc-linaro/6.4-2017.11/version.desc
+++ b/packages/isl/0.20/version.desc
diff --git a/packages/linux/2.6.32.71/chksum b/packages/linux/2.6.32.71/chksum
index 4e92b3a..ef9cfe3 100644
--- a/packages/linux/2.6.32.71/chksum
+++ b/packages/linux/2.6.32.71/chksum
@@ -1,8 +1,8 @@
-md5 linux-2.6.32.71.tar.gz 41758c9100616611a6ab2e8db61e698b
-sha1 linux-2.6.32.71.tar.gz 62c2226187491621ead7dd6d2f1aedc04695970e
-sha256 linux-2.6.32.71.tar.gz 640af1c1a9aad730b1e733f3be3671d503842be42d40adffd2af72dd21ca41be
-sha512 linux-2.6.32.71.tar.gz 2277eaf4c34192047ddc806a0af3beaf2bd6f6ff9b97c5fb9de3ba459da1c3b7187686e024268d8e4e7a8b03583fbd3626dccdfd67b1c2adbd5c48f068f3fd79
md5 linux-2.6.32.71.tar.xz 1dcf8eaa41fc479169be80d015bce4d9
sha1 linux-2.6.32.71.tar.xz bbce5984437bb5efa3a3e3aae368d3bc8bcbbbbe
sha256 linux-2.6.32.71.tar.xz 60a5ffe0206a0ea8997c29ccc595aa7dae55f6cb20c7d92aab88029ca4fef598
sha512 linux-2.6.32.71.tar.xz e61c7a393d7b51ea9f8ee23bea3c107a9e97d247bce4906f5a6a9b8ce3fcfc488674854c114a22f93d1d2b2c4afd6880c3cd7fffeb8e1365b358bc911391e0e3
+md5 linux-2.6.32.71.tar.gz 41758c9100616611a6ab2e8db61e698b
+sha1 linux-2.6.32.71.tar.gz 62c2226187491621ead7dd6d2f1aedc04695970e
+sha256 linux-2.6.32.71.tar.gz 640af1c1a9aad730b1e733f3be3671d503842be42d40adffd2af72dd21ca41be
+sha512 linux-2.6.32.71.tar.gz 2277eaf4c34192047ddc806a0af3beaf2bd6f6ff9b97c5fb9de3ba459da1c3b7187686e024268d8e4e7a8b03583fbd3626dccdfd67b1c2adbd5c48f068f3fd79
diff --git a/packages/linux/3.16.56/chksum b/packages/linux/3.16.56/chksum
deleted file mode 100644
index 8930342..0000000
--- a/packages/linux/3.16.56/chksum
+++ /dev/null
@@ -1,8 +0,0 @@
-md5 linux-3.16.56.tar.xz d97888ca7ede8a52cedb7ce3eb2f495f
-sha1 linux-3.16.56.tar.xz 7d8d4803c5ab0e99e6a7d857a8a5ab2a3bbf6668
-sha256 linux-3.16.56.tar.xz 50a69d586b197b1f0dead9fef7232a39ecb25fafdcd6045e1d80db4d9e753cbb
-sha512 linux-3.16.56.tar.xz 10710fc2008fa6c76f71a7aabb0e075a333e7ea4e6714e2a1282929ea4c91e4108e6cc6a434e2434c3813f0b92139c7bb921969f8e090be4d85888bbc5bad1ad
-md5 linux-3.16.56.tar.gz 1a37c8dbe835e99e1ee582331831298f
-sha1 linux-3.16.56.tar.gz 742fee1c5ef5f0baf4ed2de96d932ff9cb740167
-sha256 linux-3.16.56.tar.gz d67e3894a66a1fceaea933d29f8633ebb4aab8769f01becd842294195243c768
-sha512 linux-3.16.56.tar.gz 5e506cc0c548e114a3b8dca9a643ec6df7fa6af8898da4c20be3453fcbc206fcd380c78bd194f96899d68ae4988d39713f2758b932d98f2dd095b61f84f8c058
diff --git a/packages/linux/3.16.57/chksum b/packages/linux/3.16.57/chksum
new file mode 100644
index 0000000..b2e04db
--- /dev/null
+++ b/packages/linux/3.16.57/chksum
@@ -0,0 +1,8 @@
+md5 linux-3.16.57.tar.xz 83fd3fc94f11fd0232ad2b8285f342f8
+sha1 linux-3.16.57.tar.xz 7174d3d6024e75913a418335e1b755b1f2dd2e4f
+sha256 linux-3.16.57.tar.xz eee0d048c595c07c1a4d09e506ae91f7ec432fe936d0672fc1fd1c788cc5775c
+sha512 linux-3.16.57.tar.xz 8efae7b2017b1df5b040b393f763772ab5b4d9351656afed086bef69e2f123bf263ba34cc17165041a83c3e49886597e0aa4c3d40a9cca4ee787f18ca3c5df8d
+md5 linux-3.16.57.tar.gz 0251f083c9783abfcdfafd90dd57fabb
+sha1 linux-3.16.57.tar.gz 12c9c1b24b414f31350edc719b37b7be7bd0328b
+sha256 linux-3.16.57.tar.gz fe8a452698c57efa38da87fd6ac08c9edbc1182dd573bd78ff158e0e0e310f73
+sha512 linux-3.16.57.tar.gz e26b2ccb490149113e34a5c58bb38486b2a1eb70610872d6434c00b1ba86a258c26a1b406a261c58818d64366687d13fdd94d36575c2404ee768cc1f4ca482f7
diff --git a/packages/expat/2.2.5/version.desc b/packages/linux/3.16.57/version.desc
index e69de29..e69de29 100644
--- a/packages/expat/2.2.5/version.desc
+++ b/packages/linux/3.16.57/version.desc
diff --git a/packages/linux/3.18.104/chksum b/packages/linux/3.18.104/chksum
deleted file mode 100644
index 35d4339..0000000
--- a/packages/linux/3.18.104/chksum
+++ /dev/null
@@ -1,8 +0,0 @@
-md5 linux-3.18.104.tar.xz b93fd791ddfcdf25ab57a431ab910ecb
-sha1 linux-3.18.104.tar.xz 6b42933e48e6f07b8f5775a632dc2fcfb5275b47
-sha256 linux-3.18.104.tar.xz e45c3bce562a0efcf67d2f36ef79b2f85dc0e4b7724c61a93040ebcf2da0c1a1
-sha512 linux-3.18.104.tar.xz a9c7aae3be94900c4b0196c273abbd91380d29ae620d0eb4288592bf23e635076f6ce48957159919d52ad68f8777e534eec06501f4fc44dff761305ead609191
-md5 linux-3.18.104.tar.gz 4af7ea30a67b8df33ae26eefedf14258
-sha1 linux-3.18.104.tar.gz 0f2676409309506e43fb0ec61aa923a97b784b96
-sha256 linux-3.18.104.tar.gz 93cb078ba816cd47955e925f17e8bdfcb061a0f73ed4b1d71f15cc88a50f4eab
-sha512 linux-3.18.104.tar.gz ee8b973676f3db8b3529f76c5ea974cae6a91c4bb32e7a68d05066621317226e22b454d741c7facd68366a298d6f9453ce30ff1771ac76d4e7ac6a7b515419e6
diff --git a/packages/linux/3.18.104/version.desc b/packages/linux/3.18.104/version.desc
deleted file mode 100644
index fcfe389..0000000
--- a/packages/linux/3.18.104/version.desc
+++ /dev/null
@@ -1 +0,0 @@
-obsolete='yes'
diff --git a/packages/linux/3.18.122/chksum b/packages/linux/3.18.122/chksum
new file mode 100644
index 0000000..1662406
--- /dev/null
+++ b/packages/linux/3.18.122/chksum
@@ -0,0 +1,8 @@
+md5 linux-3.18.122.tar.xz 2eff408b8aff35792c2512e4b998fed1
+sha1 linux-3.18.122.tar.xz 4c7d2aa0d2e5ceabacbdd9b941463379ff67b59c
+sha256 linux-3.18.122.tar.xz 675b1ce36af23caa500cb1d4f0ec2976791fb0a97ebb6486a5e2ebcb5527ade5
+sha512 linux-3.18.122.tar.xz 4d86edec87e4fe6bfbecb67f6ad8e0d73a3d55046f71a73ffc3eb6f786c324b8bce634e4a6d5df829ea3c6305cec96d568c1ae029f3d8f3e9c9a297035438ba4
+md5 linux-3.18.122.tar.gz 5cbf54fdf3803402460621a169b2dbaf
+sha1 linux-3.18.122.tar.gz 50d71682f2f477dc6c6115dd40c6c8b0d1936413
+sha256 linux-3.18.122.tar.gz 4f279558c91f646c888f05cbb95170bd2ec4b40c19ebcf00498b63ffc4da9990
+sha512 linux-3.18.122.tar.gz 94c8c24fdecf83b93f7fbef38746654e00d60f49f0c7f85ff0161d1210e9ae2cd51387e70590b9993b5f79726350f643fb716da0b706c44cdffdc76ddad2ecde
diff --git a/packages/linux/4.10.8/version.desc b/packages/linux/3.18.122/version.desc
index fcfe389..fcfe389 100644
--- a/packages/linux/4.10.8/version.desc
+++ b/packages/linux/3.18.122/version.desc
diff --git a/packages/linux/4.14.33/chksum b/packages/linux/4.14.33/chksum
deleted file mode 100644
index e90e76b..0000000
--- a/packages/linux/4.14.33/chksum
+++ /dev/null
@@ -1,8 +0,0 @@
-md5 linux-4.14.33.tar.xz 2f360c8caf7ee2efa416ee742394ba20
-sha1 linux-4.14.33.tar.xz c7818be83edb7d0b7cb6494044b06aa8a92c8939
-sha256 linux-4.14.33.tar.xz c380e2b4318d9ef0517c29145cf6fa1f6f437f38e93827ccd772184f77b90831
-sha512 linux-4.14.33.tar.xz 9809828f1dfaeddd5b663b0d9a607baaa11491a7ddce41042a076353e713ff40000efff96a4a3c69c865cdcdfc333eee14f7d82c6a79341dd38889b973a86c92
-md5 linux-4.14.33.tar.gz 2300dc006363943f02b2d90bebdeba80
-sha1 linux-4.14.33.tar.gz c3e50721804b7eefd8fffca6d9f7a7ceec786bc7
-sha256 linux-4.14.33.tar.gz f1569e37cda1aa99346ce51c472777e07c37d15345161a104959afc4e19564f7
-sha512 linux-4.14.33.tar.gz b67231e5d7797fa2324ea438c80a92595d7e9e55344e31818822a6026ed79713eb22483c11f75a8fa5cc88358b9290f9ea53de392b0f0329171db8c8084b834c
diff --git a/packages/linux/4.14.71/chksum b/packages/linux/4.14.71/chksum
new file mode 100644
index 0000000..0aa9525
--- /dev/null
+++ b/packages/linux/4.14.71/chksum
@@ -0,0 +1,8 @@
+md5 linux-4.14.71.tar.xz 14b21e5f11e8e195731c89a14794a0fc
+sha1 linux-4.14.71.tar.xz ba79733491f2555fcc7a43e60d49c54e96f77b51
+sha256 linux-4.14.71.tar.xz 76a4473dbcbd922c23a16130414829a36eb7e2f4e5859bd1b742fffdff907489
+sha512 linux-4.14.71.tar.xz eac04b59428f41be24aa2ac117d49e72f8ec10d46fbb779e1703fb46c720f8cfce714abe5be2f936a9e7148e6fae94bba12b74fcbdbe8b6d965cd7ad39fd44b4
+md5 linux-4.14.71.tar.gz 899d706698fbacf2881cba56dc1680c4
+sha1 linux-4.14.71.tar.gz dc39a8b320b58eca88100230b40d5dbaf836e2cb
+sha256 linux-4.14.71.tar.gz cc7e596d813c6430a34e7c774f6e3f7ac62df748b74950670a8cdd066876df29
+sha512 linux-4.14.71.tar.gz 419b900aa2510ae9ef19c1e4d9c5d98f1de12fa84e35d66bc12012bd2ff8f6b7d438c6f0eea0cc909c3fca3d87eb367283f0d6c668b3aa9e1e1b7c4b55580a99
diff --git a/packages/linux/4.14.71/version.desc b/packages/linux/4.14.71/version.desc
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/packages/linux/4.14.71/version.desc
diff --git a/packages/linux/4.15.16/chksum b/packages/linux/4.15.16/chksum
deleted file mode 100644
index 6f4d682..0000000
--- a/packages/linux/4.15.16/chksum
+++ /dev/null
@@ -1,8 +0,0 @@
-md5 linux-4.15.16.tar.xz b243f89da2ceaec029e62daeb80f1da0
-sha1 linux-4.15.16.tar.xz acb18ea9d7030a267b4f2bb4bf63024dbede77e3
-sha256 linux-4.15.16.tar.xz e7daf2592d5eb51e5252782b1bb39e298a31517ff13759681cf882e40058c503
-sha512 linux-4.15.16.tar.xz 87fb17f17e2b3daeeacadd72ba074ca8d7cf18aa0dd60869d98a1f7c8240779d9470ddd198da2f684774dbe9a93c03b1292d0a85d5021abb330ef4ac6adf73dd
-md5 linux-4.15.16.tar.gz f933b3dbc1a67627058345b60c361360
-sha1 linux-4.15.16.tar.gz 3a6afc968d0530db415e9e4bb5c9c28a3459b171
-sha256 linux-4.15.16.tar.gz 82d7dc5d9d23883ea5040664c8999429b36708e6508108fac775c39f6e957bf2
-sha512 linux-4.15.16.tar.gz f58d8d4a4fd505386869e3bbba47c42002709f031acf0490629aaa42bdca11e2a852edf6756d5280773e7cd9788215e4f7fe197947b2dac5174c8c5722e3f7d1
diff --git a/packages/linux/4.15.18/chksum b/packages/linux/4.15.18/chksum
new file mode 100644
index 0000000..3a92b9a
--- /dev/null
+++ b/packages/linux/4.15.18/chksum
@@ -0,0 +1,8 @@
+md5 linux-4.15.18.tar.xz 2c7a9404ddf29580f14c61eb87e50c6e
+sha1 linux-4.15.18.tar.xz 3d9caaa4abc3fa1522976b37edb193dac42df501
+sha256 linux-4.15.18.tar.xz 3f89cd717e0d497ba4818e145a33002f4c15032e355c1ad6d3d7f31f122caf41
+sha512 linux-4.15.18.tar.xz d0f6819ef6cf809769ceb717419c57b422bea611da23db63d7d0de15545278bafc9a3de04491dfe2f669eb5f62a718c000bebbe8e7b508796b9c461794d3deec
+md5 linux-4.15.18.tar.gz d0f38e59bee1377048ce1f4df1ba0fda
+sha1 linux-4.15.18.tar.gz 9c985114a956f8660a112b9ac3032cfcf8199fe9
+sha256 linux-4.15.18.tar.gz ca13fa5c6e3a6b434556530d92bc1fc86532c2f4f5ae0ed766f6b709322d6495
+sha512 linux-4.15.18.tar.gz 08578937a10d73e6a8232294a3245ea7420865cd9108914b04e9b2e8f5209ec6f5e56460b3a3e51d700f41f73585f3c8a585cc70e8a865d8b9f3e84d21c98bd3
diff --git a/packages/linux/4.15.18/version.desc b/packages/linux/4.15.18/version.desc
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/packages/linux/4.15.18/version.desc
diff --git a/packages/linux/4.15/chksum b/packages/linux/4.15/chksum
deleted file mode 100644
index 2707761..0000000
--- a/packages/linux/4.15/chksum
+++ /dev/null
@@ -1,8 +0,0 @@
-md5 linux-4.15.tar.xz 0d701ac1e2a67d47ce7127432df2c32b
-sha1 linux-4.15.tar.xz 5cf2693d2c6bf1e69a9216dceca6183c60eb11d5
-sha256 linux-4.15.tar.xz 5a26478906d5005f4f809402e981518d2b8844949199f60c4b6e1f986ca2a769
-sha512 linux-4.15.tar.xz c00d92659df815a53dcac7dde145b742b1f20867d380c07cb09ddb3295d6ff10f8931b21ef0b09d7156923a3957b39d74d87c883300173b2e20690d2b4ec35ea
-md5 linux-4.15.tar.gz dd5a75343cd956de12e8d26e1805ca92
-sha1 linux-4.15.tar.gz f5691dd96fda55d4405b361a664db3b85ab4c81b
-sha256 linux-4.15.tar.gz c33b8ba5c45a40b689979caa2421c4d933864cd70eb93c00eb69adf43e9a24fc
-sha512 linux-4.15.tar.gz 0fab606a295e0857f774f8adaa9d56bf2cb227fbab2daed374415da216391b156f49e606ba37ac402987c5796d408807da5d1a42c0d85a8552f109a3e279443d
diff --git a/packages/linux/4.16.1/chksum b/packages/linux/4.16.1/chksum
deleted file mode 100644
index 44c6173..0000000
--- a/packages/linux/4.16.1/chksum
+++ /dev/null
@@ -1,8 +0,0 @@
-md5 linux-4.16.1.tar.xz 16123b843ad2efa394a060d8f72c91c2
-sha1 linux-4.16.1.tar.xz f4d0b204a1ea5cabde8740e1fe2c9dad502793ab
-sha256 linux-4.16.1.tar.xz 5ba1c270ca6bc7927ad5f4698e0d61e558cce1a62249156a7aa44a6b4e0060c3
-sha512 linux-4.16.1.tar.xz 3b215fac12ea01af1048fd8167bc735a15523ba2a179a27ba41a20b17de2d0e68fcdc18949318e2baec5e4a1307054041bd69951798f18f9ea37309653230e54
-md5 linux-4.16.1.tar.gz 46a041deb9f89ccb893c23eb7a8f9ec5
-sha1 linux-4.16.1.tar.gz cf502b4b8de5f3f2ff9189f6bff265bfd77ad521
-sha256 linux-4.16.1.tar.gz 0c3c5f5aae95f81322dd0b289cf8e203d35a9684454ce5a0ab98fa56faec1320
-sha512 linux-4.16.1.tar.gz c2c6287a7e99210ee9c5e8583764285c16d5883cf8e0c2e8377759d1a8039e17d34f51111d055813fc5ecaa0457722b6928ad2c8b5e2157494d159c7365e7628
diff --git a/packages/linux/4.16.18/chksum b/packages/linux/4.16.18/chksum
new file mode 100644
index 0000000..64f127a
--- /dev/null
+++ b/packages/linux/4.16.18/chksum
@@ -0,0 +1,8 @@
+md5 linux-4.16.18.tar.xz 7f44e39f689765814d1e539ffd98fd9c
+sha1 linux-4.16.18.tar.xz 141587f63ce70eb542a74d4db6af191d5d2d8001
+sha256 linux-4.16.18.tar.xz 41026d713ba4f7a5e9d514b876ce4ed28a1d993c0c58b42b2a2597d6a0e83021
+sha512 linux-4.16.18.tar.xz 8fee4164ff5bb9f9561a15d0df5d9d8f4890189bc923c9ca1ce5fb78e8d286a68f9b975ea2ea9f49cad1c6bbf2fd2ec3ec1042ec5fa2ad95249bc2f2a23aef6a
+md5 linux-4.16.18.tar.gz 303949459171379aa4c81df45f03e970
+sha1 linux-4.16.18.tar.gz d98ac29efd6f6b176da572eeafd70bc54b038d91
+sha256 linux-4.16.18.tar.gz 34800382ce7b68a34ed57a861e583a0ecf195c6a3355f863ac4e43192836e950
+sha512 linux-4.16.18.tar.gz 950d411e4b9bb97eacc9eeeada73fb430d06a0fd9fe4fd47d5cd51934b3dd20b1d10c377e51251b40907cdf3532d0ece9b9ed92c3295fdcff56465467f3edf0e
diff --git a/packages/linux/4.16.18/version.desc b/packages/linux/4.16.18/version.desc
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/packages/linux/4.16.18/version.desc
diff --git a/packages/linux/4.17.19/chksum b/packages/linux/4.17.19/chksum
new file mode 100644
index 0000000..544bfe2
--- /dev/null
+++ b/packages/linux/4.17.19/chksum
@@ -0,0 +1,8 @@
+md5 linux-4.17.19.tar.xz ca4579babf2958aac4f686d49b6b8c66
+sha1 linux-4.17.19.tar.xz eb1262cba52cc7dfb588749a4e78f4eda2c41dc0
+sha256 linux-4.17.19.tar.xz ba9b3ef7f1a14b1bc6a237c52b01f98f66827f759fffd0b8836e8183b1399f17
+sha512 linux-4.17.19.tar.xz 548f91d8de4ec776cd5b559339da993ad8021030006d6b11a1788128f9866dbed7282962ebc489b71c7fe2d2a46c5c547b693e815c224f57d0818a80f5437d08
+md5 linux-4.17.19.tar.gz e18a9490b7799232e5db6bac4cf5c3a0
+sha1 linux-4.17.19.tar.gz bc67c7594eb3e0d715cfd93ceebe533743fa2659
+sha256 linux-4.17.19.tar.gz c01b28fac3fc252b9419d746cdee57d00e1a539ab97d72581be9c449cb9a420f
+sha512 linux-4.17.19.tar.gz df6e8bebacfc5864f1de99cc0f5fbbf983ad00ff6ff654332eadd693e1e0315189303c2441e9cee2197b50317be21e366f415a747eaddc71a9dc389e3259352e
diff --git a/packages/linux/4.17.19/version.desc b/packages/linux/4.17.19/version.desc
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/packages/linux/4.17.19/version.desc
diff --git a/packages/linux/4.18.9/chksum b/packages/linux/4.18.9/chksum
new file mode 100644
index 0000000..4a88ae7
--- /dev/null
+++ b/packages/linux/4.18.9/chksum
@@ -0,0 +1,8 @@
+md5 linux-4.18.9.tar.xz 6f082741ab20f03a334fe533d533880e
+sha1 linux-4.18.9.tar.xz 229ed4bedc5b8256bdd761845b1d7e20e1df12d7
+sha256 linux-4.18.9.tar.xz 4c995351e57902a04a94e43796407b4ba295c8eae070c27e99f8f99c321e917a
+sha512 linux-4.18.9.tar.xz f0b8137a60ea3b7edb257a31d9c2b432db0d9af01f9b45b3ca3d8277f276ec1b8112e2daa744aa8eeee39df1ededed38495b952f22b0387b57822fde31eaa255
+md5 linux-4.18.9.tar.gz 7e6f4935da3d37aede14a33cb224447b
+sha1 linux-4.18.9.tar.gz fe9314f0c4f7ceb103cf0e2a94fbf1358dd62d33
+sha256 linux-4.18.9.tar.gz 51cf88bcaff518d5077e31538af75577a339871436350073ebe035e74a8bc3f6
+sha512 linux-4.18.9.tar.gz 54dcab5de555300e9fd62c28ca49a6353b4c7deba2a82dc5682864225057e1b27c37ccbcea21604387ffb86e94fa274cf9956b7b72670b49d67d4beaef2f0ebc
diff --git a/packages/linux/4.18.9/version.desc b/packages/linux/4.18.9/version.desc
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/packages/linux/4.18.9/version.desc
diff --git a/packages/linux/4.4.127/chksum b/packages/linux/4.4.127/chksum
deleted file mode 100644
index 652bb3a..0000000
--- a/packages/linux/4.4.127/chksum
+++ /dev/null
@@ -1,8 +0,0 @@
-md5 linux-4.4.127.tar.xz 7d510d1aaa17001fa4b6f3de12c95003
-sha1 linux-4.4.127.tar.xz c0ad26256bb3e702b5f33908d7d7833790adfbac
-sha256 linux-4.4.127.tar.xz 0a8f25393cc8a8692c4f7dd8ca8a7773c8bf69c7d04a3835b844cc28e3d64cbf
-sha512 linux-4.4.127.tar.xz 29c1ea1b56f4c9aa0a45c0ea9ade0fe28dc2cb51063ff695ece2bc517f961412c37cd406d45506b989fec22440a195c95f6a01a1ba44e9cfee610a96acbfb736
-md5 linux-4.4.127.tar.gz 850ef1da45a430937334b93812e0df8d
-sha1 linux-4.4.127.tar.gz 99b433ba43db5390d70fadeba0bc9b599ed5ae13
-sha256 linux-4.4.127.tar.gz 8c87bd4f8e45d345b5ae9a6f36daf7efabc39139a3a11d69b936e96e5449e7a8
-sha512 linux-4.4.127.tar.gz 2d099adaf0f70f231299648473511033f7a3f072094595d23b0a29f310f1856cbc0ee7d2a5ee0f247d9bf3df6831b95679dd4b4043719e5e58717fbd6ecddb13
diff --git a/packages/linux/4.4.157/chksum b/packages/linux/4.4.157/chksum
new file mode 100644
index 0000000..8b83eb1
--- /dev/null
+++ b/packages/linux/4.4.157/chksum
@@ -0,0 +1,8 @@
+md5 linux-4.4.157.tar.xz f43d0326a423ef0935f15886023144be
+sha1 linux-4.4.157.tar.xz 6ba64a589f986cc8353794e5ead36892e5da7a40
+sha256 linux-4.4.157.tar.xz 0010bc0aa64bc9cf55aaebd662dd0971f18284e925c74562ced31e0cf01d624d
+sha512 linux-4.4.157.tar.xz 522b29270af2a03d65b75ab65de9229bfe8f66d4c2026e0ed2fb97c9e23e6ac9586324c457fc300d7912108a672c4aba5c1e18df869e7e21091df9dca8a70377
+md5 linux-4.4.157.tar.gz e5f2628635afae8cbfcf4478609ecd5b
+sha1 linux-4.4.157.tar.gz 668e7f314920d207428eb9a4a395f1355296681e
+sha256 linux-4.4.157.tar.gz ba4a1deab4a05f0b46bf17c10f40e3a629a8e7493723793f279656b537b9ca97
+sha512 linux-4.4.157.tar.gz 1571b0cface6a1476eb822d74ee202a9ba2d7d161bf06481eec4498d241160f60c0bda62955ef0093b78b237c4dce24811169cebd3759cc1a812905ebd56fd28
diff --git a/packages/linux/4.4.127/version.desc b/packages/linux/4.4.157/version.desc
index 7d5188f..7d5188f 100644
--- a/packages/linux/4.4.127/version.desc
+++ b/packages/linux/4.4.157/version.desc
diff --git a/packages/linux/4.9.128/chksum b/packages/linux/4.9.128/chksum
new file mode 100644
index 0000000..fd7f064
--- /dev/null
+++ b/packages/linux/4.9.128/chksum
@@ -0,0 +1,8 @@
+md5 linux-4.9.128.tar.xz e2210448406e945deb527dbf937a0bf5
+sha1 linux-4.9.128.tar.xz 16943ec0ee17b5ff2641fe18cd0ae7ea4b9d7597
+sha256 linux-4.9.128.tar.xz bdb76f48491a6aadc89c0f0f7fdc240d77cee54da5aac59da0b5d98e226b6f12
+sha512 linux-4.9.128.tar.xz 057577268a019dd6f0d63a202dbff2d38ae363b655103b5e13d0e9a5ce7701f7948678b873c22f88620f61c0b086d0f56018e8631676de366cdbfd61b7445e31
+md5 linux-4.9.128.tar.gz 1d0cc7324cd1dc46f29c3fa67f0393e5
+sha1 linux-4.9.128.tar.gz 1262fe1fedcad1e1faeb7bc5abec30eeb0e6618a
+sha256 linux-4.9.128.tar.gz c44b362bec398d81d7d192b2a20360d1bb591a5a2e7ca11b8f7a603a0a3a0769
+sha512 linux-4.9.128.tar.gz 3054b5e2b37d8600e87983ba7b83ded058ad9cdf4e98db1a910e6e3110da8fe20073fb316d5e0b264346175e383b18ae4bb9355ef8d5a513b66df4a69ae55a0a
diff --git a/packages/linux/4.9.128/version.desc b/packages/linux/4.9.128/version.desc
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/packages/linux/4.9.128/version.desc
diff --git a/packages/linux/4.9.93/chksum b/packages/linux/4.9.93/chksum
deleted file mode 100644
index 9519296..0000000
--- a/packages/linux/4.9.93/chksum
+++ /dev/null
@@ -1,8 +0,0 @@
-md5 linux-4.9.93.tar.xz 0630ba8824d663186a03c9f30def867a
-sha1 linux-4.9.93.tar.xz 9c23d234d3fd0fabe3aa88bd9d5f193913df6349
-sha256 linux-4.9.93.tar.xz 58f78ab6c945c64a7c7c246256dc8b516b009c9ef1c90572ae396e7a8d6a5903
-sha512 linux-4.9.93.tar.xz fd85a34f578fdf9a72286cfa1094c66a432d2212fee912e2291f748cc98adba8b557c29ddc285ce01343af68094dddcb32368ca0d4e69af1f5d48dbc8feb833a
-md5 linux-4.9.93.tar.gz 3c2a7d1f1a3734a2e6c3fadc55a59f98
-sha1 linux-4.9.93.tar.gz 25a2bf904cd156586affa8eace8dbd19c47d470f
-sha256 linux-4.9.93.tar.gz 6dd69641fa5c299c2c4912449376f02785901b1f76ae1b85238233201d9ba841
-sha512 linux-4.9.93.tar.gz 39c748e45ff411f9467fca666c259751b68b902668163834128329bd1315ed7b1568e444d774422e0325d44591715876b1b971ca6c052d156b34926736e1cfba
diff --git a/packages/mingw-w64/v6.0.0/0000-mingw64-malloc.patch b/packages/mingw-w64/v6.0.0/0000-mingw64-malloc.patch
new file mode 100644
index 0000000..f19e8ce
--- /dev/null
+++ b/packages/mingw-w64/v6.0.0/0000-mingw64-malloc.patch
@@ -0,0 +1,58 @@
+---
+ mingw-w64-tools/genidl/src/genidl_cfg.h | 2 ++
+ mingw-w64-tools/genidl/src/genidl_typinfo.c | 3 +++
+ mingw-w64-tools/widl/include/pathtools.h | 3 +--
+ mingw-w64-tools/widl/src/pathtools.c | 3 +--
+ 4 files changed, 7 insertions(+), 4 deletions(-)
+
+--- a/mingw-w64-tools/genidl/src/genidl_cfg.h
++++ b/mingw-w64-tools/genidl/src/genidl_cfg.h
+@@ -26,7 +26,9 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#if defined(HAVE_MALLOC_H)
+ #include <malloc.h>
++#endif
+ #include <memory.h>
+ #include <stdarg.h>
+ #include <stdint.h>
+--- a/mingw-w64-tools/genidl/src/genidl_typinfo.c
++++ b/mingw-w64-tools/genidl/src/genidl_typinfo.c
+@@ -21,7 +21,10 @@
+ #include "genidl_cfg.h"
+ #include "genidl_typeinfo.h"
+ #include "genidl_typinfo.h"
++#if defined(HAVE_MALLOC_H)
+ #include <malloc.h>
++#endif
++#include <stdlib.h>
+ #include <string.h>
+ #include <memory.h>
+
+--- a/mingw-w64-tools/widl/include/pathtools.h
++++ b/mingw-w64-tools/widl/include/pathtools.h
+@@ -12,9 +12,8 @@
+ #define PATHTOOLS_H
+
+ #include <unistd.h>
+-#if defined(__APPLE__)
+ #include <stdlib.h>
+-#else
++#if defined(HAVE_MALLOC_H)
+ #include <malloc.h>
+ #endif
+ #include <stdio.h>
+--- a/mingw-w64-tools/widl/src/pathtools.c
++++ b/mingw-w64-tools/widl/src/pathtools.c
+@@ -8,9 +8,8 @@
+ .email: <mingw.android@gmail.com>.
+ */
+
+-#if defined(__APPLE__)
+ #include <stdlib.h>
+-#else
++#if defined(HAVE_MALLOC_H)
+ #include <malloc.h>
+ #endif
+ #include <limits.h>
diff --git a/packages/mingw-w64/v6.0.0/chksum b/packages/mingw-w64/v6.0.0/chksum
new file mode 100644
index 0000000..87e2ef3
--- /dev/null
+++ b/packages/mingw-w64/v6.0.0/chksum
@@ -0,0 +1,8 @@
+md5 mingw-w64-v6.0.0.tar.bz2 cf5673f6d689bb5e02863e6284cc3d03
+sha1 mingw-w64-v6.0.0.tar.bz2 4cffb043060d88d6bf0f382e4d92019263670ca6
+sha256 mingw-w64-v6.0.0.tar.bz2 805e11101e26d7897fce7d49cbb140d7bac15f3e085a91e0001e80b2adaf48f0
+sha512 mingw-w64-v6.0.0.tar.bz2 e3d3663e0cb33a16f90b1a33e81b5a30d26f7e34270b14e865c10068f2a2d32da9ef8cbbb0c3fed9c71429ae11c82152ff3b87d81558929b2a4993dc99cfc11e
+md5 mingw-w64-v6.0.0.zip aa1254acd7a569fc1c56fe53ab6a69c8
+sha1 mingw-w64-v6.0.0.zip daa825798ebac6dba3b67e95371aca57bbbc4ae0
+sha256 mingw-w64-v6.0.0.zip b4120b15424916b10c381b4949686c51b44a9f7aee1e4733c4379ae6ae41bedf
+sha512 mingw-w64-v6.0.0.zip 551e93498786908b7dad27876b5cc2fc1891cae88281f038dfba60e980599268fbe32cd26c224086261b3729d15a34b9613af8f99ff9cb78e0b96206f21ee048
diff --git a/packages/mingw-w64/v6.0.0/version.desc b/packages/mingw-w64/v6.0.0/version.desc
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/packages/mingw-w64/v6.0.0/version.desc
diff --git a/packages/newlib/3.0.0.20180226/chksum b/packages/newlib/3.0.0.20180226/chksum
deleted file mode 100644
index d3a346b..0000000
--- a/packages/newlib/3.0.0.20180226/chksum
+++ /dev/null
@@ -1,4 +0,0 @@
-md5 newlib-3.0.0.20180226.tar.gz 33a44ea81296aad794ebc542cc008a30
-sha1 newlib-3.0.0.20180226.tar.gz 60359b20ccc14333a1272ebf8db9731d9d217aab
-sha256 newlib-3.0.0.20180226.tar.gz d0b40c874c3047eccbf06fe916d3fc746bd94e8a4cd14c54381b2f72f68c5665
-sha512 newlib-3.0.0.20180226.tar.gz b494c9870880ff9f3a2a6108f7c944e6232600b1e4a93ba195621a5251941b2d99ea7d6c748572a173b582db9f09bb869c431e1270a92f130d24c84f7eab62ec
diff --git a/packages/newlib/3.0.0.20180226/0000-fix-unaligned-access-memcpy-m68k.patch b/packages/newlib/3.0.0.20180831/0000-fix-unaligned-access-memcpy-m68k.patch
index b6709d5..b6709d5 100644
--- a/packages/newlib/3.0.0.20180226/0000-fix-unaligned-access-memcpy-m68k.patch
+++ b/packages/newlib/3.0.0.20180831/0000-fix-unaligned-access-memcpy-m68k.patch
diff --git a/packages/newlib/3.0.0.20180226/0001-fix-mt-cflags.patch b/packages/newlib/3.0.0.20180831/0001-fix-mt-cflags.patch
index 24a9215..24a9215 100644
--- a/packages/newlib/3.0.0.20180226/0001-fix-mt-cflags.patch
+++ b/packages/newlib/3.0.0.20180831/0001-fix-mt-cflags.patch
diff --git a/packages/newlib/3.0.0.20180831/chksum b/packages/newlib/3.0.0.20180831/chksum
new file mode 100644
index 0000000..99de808
--- /dev/null
+++ b/packages/newlib/3.0.0.20180831/chksum
@@ -0,0 +1,4 @@
+md5 newlib-3.0.0.20180831.tar.gz b55db6531699879591e9fc7e4c2adc51
+sha1 newlib-3.0.0.20180831.tar.gz 375fdf790bbce1f06c28aa7ce78231965f90e3bf
+sha256 newlib-3.0.0.20180831.tar.gz 3ad3664f227357df15ff34e954bfd9f501009a647667cd307bf0658aefd6eb5b
+sha512 newlib-3.0.0.20180831.tar.gz c195111ac61458fccbd700345cd8ed7806776b3d16557e9a86fbcdf0ff5f544bff7eb701e84defb3f6b4d6fc00674163fa89aead1b171ed3281470a4f6306d1f
diff --git a/packages/newlib/3.0.0.20180226/version.desc b/packages/newlib/3.0.0.20180831/version.desc
index 76f1447..76f1447 100644
--- a/packages/newlib/3.0.0.20180226/version.desc
+++ b/packages/newlib/3.0.0.20180831/version.desc
diff --git a/packages/strace/4.23/chksum b/packages/strace/4.23/chksum
new file mode 100644
index 0000000..be39fdd
--- /dev/null
+++ b/packages/strace/4.23/chksum
@@ -0,0 +1,4 @@
+md5 strace-4.23.tar.xz fad4bba0947553cef34d46a9fd78f039
+sha1 strace-4.23.tar.xz a40a46f4861deb122da45dcc715fb39fd68f9120
+sha256 strace-4.23.tar.xz 7860a6965f1dd832747bd8281a04738274398d32c56e9fbd0a68b1bb9ec09aad
+sha512 strace-4.23.tar.xz b54df972dc86e27668784ea4619e8c55230816b249e0a7fcca99a37b7f9ec37710742aca08c9e39b508522accb654a83c98207bab9ccac1197bb8e73e51ab116
diff --git a/packages/strace/4.23/version.desc b/packages/strace/4.23/version.desc
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/packages/strace/4.23/version.desc
diff --git a/packages/strace/4.24/chksum b/packages/strace/4.24/chksum
new file mode 100644
index 0000000..b9a10a8
--- /dev/null
+++ b/packages/strace/4.24/chksum
@@ -0,0 +1,4 @@
+md5 strace-4.24.tar.xz 8780136849c85acf76ad3a522aa4462a
+sha1 strace-4.24.tar.xz 09a8c9638fd02622157af9d744ad7c7f991c75df
+sha256 strace-4.24.tar.xz 1f4e59fc1edfa2bfb4adf2a748623dc25b105ec79713dd84404199f91b0b0634
+sha512 strace-4.24.tar.xz 69cbf8b2c32c7ea90ebe5955bc71b454316a3494ae6975203fe61ce1f42ec539438cec5ba8ee7f529f89661d964b4aa53656712706aacff6bf018304b7a09813
diff --git a/packages/strace/4.24/version.desc b/packages/strace/4.24/version.desc
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/packages/strace/4.24/version.desc