[project @ 2005-10-27 01:39:40 by sof]
authorsof <unknown>
Thu, 27 Oct 2005 01:39:40 +0000 (01:39 +0000)
committersof <unknown>
Thu, 27 Oct 2005 01:39:40 +0000 (01:39 +0000)
commit2909e6fb2223bd303e00b34d3a04466474c53f03
tree3d8179244112482abdf4e0c12f66f96829f69e9f
parent53068b73f9ad46f3bea066f3270230c5d38d9b9f
[project @ 2005-10-27 01:39:40 by sof]
[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)
aclocal.m4
ghc/compiler/main/Packages.lhs
ghc/rts/Linker.c