ARM64 fixes, Meson build system, and Maco-O support #22

Closed
osy wants to merge 13 commits from qemu-support into master

13 Commits (master)

Author SHA1 Message Date
osy fc3b5e724e aarch64: makecontext comply with standard 2021-01-04 15:41:58 -08:00
osy a7d36d8db4 aarch64: fix struct size for arm64 2021-01-04 15:41:25 -08:00
osy 6aac5bddbf build: add meson build 2021-01-04 13:52:34 -08:00
osy 90129b8343 build: move version number to file 2021-01-04 13:39:32 -08:00
osy 180ec6144d build: remove -DLIBUCONTEXT_ASSEMBLY
Meson does not support separate defines for .S compile.
2021-01-04 13:39:32 -08:00
osy c809fd9161 project: move freestanding include headers
Required for get meson build to work.
2021-01-04 13:39:32 -08:00
osy c786c8b6ad include: missing stddef.h include for size_t 2021-01-04 13:39:32 -08:00
osy ad6a980ebf aarch64: remove usage of FUNC macro for clang
Clang's arm64 assembler does not support multiple directives on a single
line. C macros ALWAYS expand to a single line.
2021-01-04 13:39:32 -08:00
osy 11a71240a2 build: support mach-o ABI 2021-01-04 13:39:32 -08:00
osy a995dc6189 build: respect EXPORT_UNPREFIXED for libucontext_makecontext 2021-01-04 13:39:32 -08:00
osy 171869b844 build: guard _GNU_SOURCE define if build system defines it 2021-01-04 13:39:32 -08:00
osy 6b64f2d66c arm: fix broken FETCH_LINKPTR 2021-01-04 13:39:00 -08:00
osy 1a5349ddce defs: use register output only for FETCH_LINKPTR 2021-01-02 18:35:08 -08:00