toolchain: unbreak glibc on MIPS
authorJonas Gorski <jonas.gorski@gmail.com>
Thu, 23 Feb 2017 21:16:00 +0000 (22:16 +0100)
committerJonas Gorski <jonas.gorski@gmail.com>
Mon, 27 Feb 2017 11:15:45 +0000 (12:15 +0100)
commit5e3fb70094e5f87fb8dbfd4d8e979cd57293eb71
tree63a5d70094d28c85110bed5936e32aaf8ed67011
parentd48cc5e0449fec6f7717e85a68f06a61abd7b0ae
toolchain: unbreak glibc on MIPS

Binutils recently updated the ABI version to 5, which broke glibc, as it
refuses to load anything > 3. Upstream reverted the ABI version update,
so backport the commit.

Fixes the following error on boot:

/bin/sh: error while loading shared libraries: /lib/libcrypt.so.1: ELF file ABI version invalid
[    0.920077] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[    0.920077]
[    0.929450] Rebooting in 1 seconds..

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
toolchain/binutils/patches/2.27/001-MIPS_BFD_Remove_EI_ABIVERSION_5.patch [new file with mode: 0644]