mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 10:49:30 +02:00
* add SIZEOF_HEADERS to the start address of the text section for ARMEL
(fix by thexception, mantis #14100) * changed hardcoded "+0x100" for the default linker script also into "+ SIZEOF_HEADERS" git-svn-id: trunk@13418 -
This commit is contained in:
parent
e1ebf74c39
commit
5eb7a398e0
@ -628,7 +628,7 @@ begin
|
||||
add('SECTIONS');
|
||||
add('{');
|
||||
add(' /* Read-only sections, merged into text segment: */');
|
||||
add(' PROVIDE (__executable_start = 0x8000); . = 0x8000;');
|
||||
add(' PROVIDE (__executable_start = 0x8000); . = 0x8000 + SIZEOF_HEADERS;');
|
||||
add(' .interp : { *(.interp) }');
|
||||
add(' .note.gnu.build-id : { *(.note.gnu.build-id) }');
|
||||
add(' .hash : { *(.hash) }');
|
||||
@ -847,7 +847,7 @@ begin
|
||||
add('SECTIONS');
|
||||
add('{');
|
||||
{Read-only sections, merged into text segment:}
|
||||
add(' PROVIDE (__executable_start = 0x010000); . = 0x010000 +0x100;');
|
||||
add(' PROVIDE (__executable_start = 0x010000); . = 0x010000 + SIZEOF_HEADERS;');
|
||||
add(' .interp : { *(.interp) }');
|
||||
add(' .hash : { *(.hash) }');
|
||||
add(' .dynsym : { *(.dynsym) }');
|
||||
|
Loading…
Reference in New Issue
Block a user