You probably shouldn't have relocations being performed on rodata either
since they'll probably be mixed in with a whole whack of data that is
otherwise (by virtue of being read-only) not copy-on-written.

They should probably go in static storage or even some special section
for just this purpose (although, if this is meant for all platforms then
that might be a problem because I'm not totally sure all object formats
support arbitrarily-named sections...)

Just my $0.02.  Feel free to ignore :)

On Tue, 2005-01-11 at 21:53 -0800, Wolfgang Thaller wrote:
> wolfgang    2005/01/11 21:53:09 PST
> 
>   Modified files:
>     ghc/driver/mangler   ghc-asm.lprl 
>   Log:
>   Move _srtd and _closure_tbl to read-only data instead of text
>   (these things contain pointers to other symbols, so they can't go into
>   .text for position-independent code).
>   
>   Revision  Changes    Path
>   1.118     +14 -8     fptools/ghc/driver/mangler/ghc-asm.lprl
> _______________________________________________
> Cvs-ghc mailing list
> [EMAIL PROTECTED]
> http://www.haskell.org/mailman/listinfo/cvs-ghc
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to