[fpc-devel]1.1 internal linker
peter at freepascal.org
Wed Aug 7 14:46:27 CEST 2002
At 23:23 20-7-2002, you wrote:
>It is true that internal linker is implemented only for Go32v2?
>How good it is? Is there any problems with Go32v32
>internal linker? What is left to do to implement
>internal linker for ELF?
The internal linker is only implemented for basic stuff yet. A lot of
things are still hardcoded and need to be changed.
It's implemented only for go32v2 COFF because that executable format is the
For ELF linking you need more sections and you can't simply ignore the
dynamic linking stuff.
What still needs to be done:
- Make the section/memory map not hardcoded
- Remove all references to target_asm and create a target_ld for them
- Linking with static libraries (required for smartlinking)
- Thighter integration with PPU files (no .o files needed)
When that all works for go32v2 COFF then the other targets can be implemented.
More information about the fpc-devel