cvs commit: fptools aclocal.m4 fptools/ghc/compiler/main Packages.lhs fptools/ghc/rts Linker.c fptools/hslibs/win32 Makefile package.conf.in fptools/libraries/ObjectIO Makefile package.conf.in fptools/libraries/base Makefile package.conf.in

Sigbjorn Finne <[email protected]> Wed, 26 Oct 2005 18:39:40 -0700
Newsgroups gmane.comp.lang.haskell.cvs.fptools
Message-ID <200510270139.j9R1dekb021838__21373.8184342676$1130377280$gmane$org@monk.galois.com>
sof         2005/10/26 18:39:40 PDT

  Modified files:
    .                    aclocal.m4 
    ghc/compiler/main    Packages.lhs 
    ghc/rts              Linker.c 
    hslibs/win32         Makefile package.conf.in 
    libraries/ObjectIO   Makefile package.conf.in 
    libraries/base       Makefile package.conf.in 
  Log:
  [mingw/msys only]
  Undo long-standing workaround for buggy GNU ld's on mingw/msys; i.e.,
  the linker wasn't correctly generating relocatable object files when
  the number of relocs exceeded 2^16. Worked around the issue by
  hackily splitting up the GHCi object file for the larger packages
  ('base', 'ObjectIO' and 'win32') into a handful of object files,
  each with a manageable number of relocs. Tiresome and error-prone
  (but the hack has served us well!)
  
  This commit imposes a restriction on the 'ld' you use to compile
  up GHC with; it now has to be ld-2.15.x or later (something GHC
  binary dists have shipped with since 6.2.2)
  
  Revision  Changes    Path
  1.205     +6 -0      fptools/aclocal.m4
  1.48      +3 -37     fptools/ghc/compiler/main/Packages.lhs
  1.207     +6 -0      fptools/ghc/rts/Linker.c
  1.30      +7 -10     fptools/hslibs/win32/Makefile
  1.8       +1 -1      fptools/hslibs/win32/package.conf.in
  1.4       +8 -8      fptools/libraries/ObjectIO/Makefile
  1.8       +1 -1      fptools/libraries/ObjectIO/package.conf.in
  1.65      +2 -11     fptools/libraries/base/Makefile
  1.19      +0 -10     fptools/libraries/base/package.conf.in