Changes since v1: * Replace my patch for TARGET_PAGE_ALIGN with Wei Yang's. * Detect __attribute__((alias)) support in configure. If unsupported, as for Apple Xcode9, use preprocessor trickery. Passes travis build tests for xcode9.
Link for v1: https://lists.gnu.org/archive/html/qemu-devel/2019-09/msg04519.html r~ Richard Henderson (6): exec: Split out variable page size support to exec-vary.c configure: Detect compiler support for __attribute__((alias)) exec: Use const alias for TARGET_PAGE_BITS_VARY exec: Restrict TARGET_PAGE_BITS_VARY assert to CONFIG_DEBUG_TCG exec: Promote TARGET_PAGE_MASK to target_long exec: Cache TARGET_PAGE_MASK for TARGET_PAGE_BITS_VARY Wei Yang (1): cpu: use ROUND_UP() to define xxx_PAGE_ALIGN Makefile.target | 2 +- include/exec/cpu-all.h | 33 +++++++++---- include/qemu-common.h | 6 +++ exec-vary.c | 102 +++++++++++++++++++++++++++++++++++++++++ exec.c | 34 -------------- configure | 19 ++++++++ 6 files changed, 151 insertions(+), 45 deletions(-) create mode 100644 exec-vary.c -- 2.17.1