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 15:58:10 +0000 (16:58 +0100)
commit05dba65569756a2da28afb9fcfc4486105077cd0
treec379bd002b01854345ca4b1f5cf0b62bd28ab86b
parent1ac14d312fc8042ab75abcac4decdb47a77c05f0
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]