Re: [Qemu-devel] [PATCH 3/5] exec: Do not use absolute address hints for code_gen_buffer with -fpie

2012-11-19 Thread Richard Henderson
On 2012-11-18 12:48, Stefan Weil wrote: > This patch breaks the TCG interpreter. Here is a test run on Debian x86_64 > (output shortened): Nack. This is hiding some bug elsewhere in the tcg interpreter. I disbelieve that the interpreter *requires* a pointer in the low 32-bits of the x86_64 addr

Re: [Qemu-devel] [PATCH 3/5] exec: Do not use absolute address hints for code_gen_buffer with -fpie

2012-11-18 Thread Stefan Weil
Am 16.10.2012 09:30, schrieb Richard Henderson: The hard-coded addresses inside alloc_code_gen_buffer only make sense if we're building an executable that will actually run at the address we've put into the linker scripts. When we're building with -fpie, the executable will run at some random lo

[Qemu-devel] [PATCH 3/5] exec: Do not use absolute address hints for code_gen_buffer with -fpie

2012-10-16 Thread Richard Henderson
The hard-coded addresses inside alloc_code_gen_buffer only make sense if we're building an executable that will actually run at the address we've put into the linker scripts. When we're building with -fpie, the executable will run at some random location chosen by the kernel. We get better placem