darcs patch: Generate RelocatableReadOnlyData as .data

Clemens Fruhwirth clemens at endorphin.org
Wed Jun 27 12:13:24 EDT 2007


Wed Jun 27 18:06:40 CEST 2007  Clemens Fruhwirth <clemens at endorphin.org>
  * Generate RelocatableReadOnlyData as .data
  
  The GNU linker expects read-only sections to be relocation
  free. Presumably because the dynamic linker maps all read-only
  sections as read-only mmaps and hence can't do relocations.
  
  If we want text-relocation-free shared libraries we have to put all
  relocations into writable sections, hence .data.  See
  http://www.mail-archive.com/cvs-all@haskell.org/msg15119.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 22830 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/cvs-ghc/attachments/20070627/3a35a2c0/attachment-0001.bin


More information about the Cvs-ghc mailing list