> > jarkko.hietaniemi@nokia.com wrote: > > > Yeah. If one builds a DLL in Symbian, it cannot have > writeable data. > > Actually, this is a good idea on all platforms, for performance reasons > as it stops copy relocations, True. Though for Symbian the raisins are probably more of the hysterical kind: the idea being that any DLL must be ROMmable. With the Symbian work I hunted down all such cases from the Perl core itself, (then Andy Lester started doing the same work, though from the API end of things) and *most* of the cases in the core extensions. Encode remains the big offender, I didn't feel like attacking it yet since it is a complex extension to build and the Symbian build environment is complex enough already. But the big data tables of Encode would be nice to get under const. A good way to check objects/DLLs/exes against writeable data is to use a BSD-compatible 'nm' and do: nm foo.o | egrep -v ' [TURtr] ' If you get nothing, you are good :-) > although I'm not sure how much *actual* > performance it costs - not much I suspect ;-) > -- > Alan Burlison > -- >Thread Previous | Thread Next