[project @ 2002-02-04 16:30:20 by sewardj]
authorsewardj <unknown>
Mon, 4 Feb 2002 16:30:20 +0000 (16:30 +0000)
committersewardj <unknown>
Mon, 4 Feb 2002 16:30:20 +0000 (16:30 +0000)
commitc5ab800077547700cfacc6f9d0d3fe5e25f2a147
tree2a7792e75faf589069005c00627874cc108ec441
parent5881f6a50c9c85985149047295106123a1b8e62a
[project @ 2002-02-04 16:30:20 by sewardj]
Adding section descriptions, for ELF: don't record sections satisfying

   size == 0
   ||
   kind `notElem` [SECTIONKIND_CODE_OR_RODATA, SECTIONKIND_RWDATA]

The latter condition is really an optimisation based on knowledge of
what queries will be made of the table.  Still, seems to work, and
reduces the number of sections in the list by about a factor of 3,
so hopefully will improve GC performance in GHCi.

If you get wierd GC problems in GHCi ... this may be to blame.
ghc/rts/Linker.c