mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-02-04 12:14:50 +01:00
z80: added handling of sections provided by the startup code to the vlink linker script. this fixes executable building, but the resulting executables still don't work at this point
git-svn-id: trunk@46980 -
This commit is contained in:
parent
aa745e0319
commit
9f8417ba52
@ -173,8 +173,9 @@ function TLinkerZXSpectrum.WriteResponseFile_Vlink: Boolean;
|
||||
Add('SECTIONS');
|
||||
Add('{');
|
||||
Add(' . = 0x'+hexstr(FOrigin,4)+';');
|
||||
Add(' .text : { *(.text .text.* ) }');
|
||||
Add(' .data : { *(.data .data.* .rodata .rodata.* .bss .bss.* .fpc.* .stack .stack.* ) }');
|
||||
Add(' .text : { *(.text .text.* _CODE _CODE.* ) }');
|
||||
Add(' .data : { *(.data .data.* .rodata .rodata.* .fpc.* ) }');
|
||||
Add(' .bss : { *(.bss .bss.* _BSS _BSS.* _BSSEND _BSSEND.* _HEAP _HEAP.* .stack .stack.* _STACK _STACK.* ) }');
|
||||
Add('}');
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user