Hello malc, This series fixes two long-standing issues on Darwin/ppc and, based on your second patch, fixes the AREG0 mode for Linux and Darwin and thus the ppc build.
Compared to your last patch I have tried to avoid the { int ir; } block, and I've combined both modes in one code path using ir and a new macro to handle the alignment differences in a more explicit way. Tested on Linux and Darwin, using i386 and x86_64 (non-AREG0) as well as sparc and sparc64 (AREG0). On Darwin I observed a reproducible hang in fsck during INIT under Debian/sparc, which given the lateness and now unified code paths (i.e., Haiku/i386 and HelenOS/sparc64 working) I'd attribute to lingering main loop / signal handling issues. Regards, Andreas Cc: malc <av1...@comtv.ru> Andreas Färber (3): tcg/ppc: Do not overwrite lower address word on Darwin and AIX tcg/ppc: Handle _CALL_DARWIN being undefined on Darwin tcg/ppc: Fix CONFIG_TCG_PASS_AREG0 mode tcg/ppc/tcg-target.c | 54 +++++++++++++++++++++++++++++++++---------------- 1 files changed, 36 insertions(+), 18 deletions(-) -- 1.7.7