diff options
author | Richard Henderson <rth@twiddle.net> | 2012-10-16 17:30:13 +1000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-10-20 07:54:04 +0000 |
commit | 4438c8a9469d79fa2c58189418befb506da54d97 (patch) | |
tree | 45bfb99d26435d45ef97c470c88906dba73152d7 /memory_mapping.c | |
parent | 405def18466d0cbd84e6a0edb598466b0a5e15c3 (diff) |
exec: Allocate code_gen_prologue from code_gen_buffer
We had a hack for arm and sparc, allocating code_gen_prologue to a
special section. Which, honestly does no good under certain cases.
We've already got limits on code_gen_buffer_size to ensure that all
TBs can use direct branches between themselves; reuse this limit to
ensure the prologue is also reachable.
As a bonus, we get to avoid marking a page of the main executable's
data segment as executable.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'memory_mapping.c')
0 files changed, 0 insertions, 0 deletions