Try loading rct2 segments for x86-64 just like for i386 (#3922)

This shifts focus away from illegal accesses to RCT2 memory to fixing up
the pointers we use
This commit is contained in:
Michał Janiszewski 2016-06-20 12:04:07 +02:00 committed by GitHub
parent c177cc72e9
commit 27b74dff72
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ SECTIONS
.plt : { *(.plt) *(.iplt) }
.plt.got : { *(.plt.got) }
.plt.bnd : { *(.plt.bnd) }
.rct2_text 0x401000 : { *(.rct2_text) }
.rct2_data : { *(.rct2_data) }
.text :
{
*(.text.unlikely .text.*_unlikely .text.unlikely.*)