On 2 jan 2007, at 23:39, [EMAIL PROTECTED] wrote:
I have taked as a comparison the equivalent file for Gas aggas.pas
where I found the comment
{$warning TODO .rodata not yet working}
so I think that internal routines of FPC do not support the
addressing of read-only section.
No, that comment is wrong nowadays. In the past there were some bugs,
e.g. ansistrings reducing the reference count of constant ansistrings
and things like that. But rodata has been active and working fine for
several months already on both PowerPC and Arm. I guess it can be
activated in general, but I can't test major platforms like Windows
so I won't do it.
Jonas
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel