mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-19 22:29:28 +01:00
* modified patch of Sergey Shishmintzev: add a __text_start symbol if an external linker is used, resolves #26190
git-svn-id: trunk@38235 -
This commit is contained in:
parent
c87cee09fd
commit
0baf3f69d8
@ -1251,6 +1251,7 @@ implementation
|
||||
Add(' . = ALIGN(__section_alignment__);');
|
||||
Add(' .text __image_base__ + ( __section_alignment__ < 0x1000 ? . : __section_alignment__ ) :');
|
||||
Add(' {');
|
||||
Add(' __text_start__ = . ;');
|
||||
Add(' *(.init)');
|
||||
add(' *(.text .stub .text.* .gnu.linkonce.t.*)');
|
||||
Add(' *(SORT(.text$*))');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user