This revision of the patch set takes Blue's suggestion to split up code_gen_alloc into several pieces. It does seem to clean things up a bit.
The first patch is cleanup, doing the split. The third patch does in one line what I was trying to accomplish with the first revision of this patch. The second and fourth patches are new. The patch set is available from git://github.com/rth7680/qemu.git exec r~ Richard Henderson (4): exec: Split up and tidy code_gen_buffer exec: Don't make DEFAULT_CODE_GEN_BUFFER_SIZE too large exec: Do not use absolute address hints for code_gen_buffer with -fpie exec: Allocate code_gen_prologue from code_gen_buffer exec.c | 232 +++++++++++++++++++++++++++++++++----------------------------- tcg/tcg.h | 2 +- 2 files changed, 123 insertions(+), 111 deletions(-) -- 1.7.11.7