Restore previous load address for ld_so

Current value gives us 0x1234000 - 0x400000 ~ 14 MB for executable,
which is too low for certain programs.
This commit is contained in:
Mateusz Tabaka
2020-09-29 18:58:35 +02:00
parent c000373a08
commit b05d8df5f8
+1 -1
View File
@@ -21,7 +21,7 @@ SEARCH_DIR("/usr/lib");
SECTIONS
{
/* Read-only sections, merged into text segment: */
PROVIDE (__executable_start = SEGMENT_START("text-segment", 0x12340000)); . = SEGMENT_START("text-segment", 0x1234000) + SIZEOF_HEADERS;
PROVIDE (__executable_start = SEGMENT_START("text-segment", 0x400000)); . = SEGMENT_START("text-segment", 0x20000000) + SIZEOF_HEADERS;
.interp : { *(.interp) }
.note.gnu.build-id : { *(.note.gnu.build-id) }
.hash : { *(.hash) }