[cvs-nhc98] cvs commit: nhc98/src/compiler98 MainNew.hs

Malcolm Wallace malcolm at haskell.org
Mon Mar 7 11:42:35 EST 2005


malcolm     2005/03/07 08:42:35 PST

  Modified files:
    src/compiler98       MainNew.hs 
  Log:
  Hack to workaround gcc-3.3 problem on (at least) powerpc-Darwin7.  It
  seems that an empty (or zero-only) _startlabel[] gets assembled into a
  different section of the object file, thus screwing up code address
  arithmetic (used to find const table etc.).  Thanks to Wolfgang Thaller
  for discovering the cause.  This ugly hack just ensures that the
  _startLabel is never empty, and thus always precedes the bytecode.
  
  Revision  Changes    Path
  1.18      +2 -2      nhc98/src/compiler98/MainNew.hs


More information about the Cvs-nhc98 mailing list