libunwind: fix build with musl on PPC
authorMatthias Schiffer <mschiffer@universe-factory.net>
Fri, 23 Feb 2018 15:17:57 +0000 (16:17 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Sun, 25 Feb 2018 16:05:15 +0000 (17:05 +0100)
commitb345cc24892d375746bc63fad73226d1e7844ea1
treed01c1905d9f779e1d0f5c13b1e154bdcde6341c5
parent788312ca59c57f1cfc4737378526ff1c2a1c8374
libunwind: fix build with musl on PPC

Works around two incompatiblities between glibc and (POSIX-compliant) musl:

- missing register definitions from asm/ptrace.h
- non-POSIX-compliant ucontext_t on PPC32 with glibc

Compile tested on mpc85xx.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
package/libs/libunwind/patches/004-ppc-musl.patch [new file with mode: 0644]