[fpc-devel] Constants

Carsten Bager carsten at beas.dk
Tue Sep 1 12:22:04 CEST 2009


Hi

For 3 years ago I asked about placing constants the code segment.

Peter Vreman replied:
In the compiler is support for a .rodata section, but this doesn't work
yet.  It has very low priority to fix this support. You are welcome to
supply patches to make it work. In your own linker script you can then
include the .rodata in the .text segment of the final executable.

How is this looking in the 2.2.4 version of the compiler?


Regards 

Carsten




More information about the fpc-devel mailing list