gcc: add patch to support musl on SuperH in gcc 5.x
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 9 Jun 2017 07:49:30 +0000 (09:49 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 11 Jun 2017 16:00:48 +0000 (18:00 +0200)
commit152661cde03311b2775db80b5a878c80a2006b6b
tree09b2018edf4347777583abb1a2208fc8478c6845
parent1bad51784646bce34a177199aaf7689c689bb816
gcc: add patch to support musl on SuperH in gcc 5.x

Building a toolchain for SuperH/musl works, but the toolchain generate
bogus binaries, because the path to the program interpreter is not
known (and therefore is /dev/null).

This commit backports a patch from gcc 6.x to make SuperH support with
musl work properly.

The patch is not needed in gcc >= 6.x because the musl support is
upstream. The patch is not needed for gcc 4.9 because we had a
different musl support patch that had support for all architectures in
one patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Changes since v2:
 - None
Changes since v1:
 - New patch in the series
package/gcc/5.4.0/912-sh-musl-support.patch [new file with mode: 0644]