[project @ 2001-09-04 18:29:20 by ken]
authorken <unknown>
Tue, 4 Sep 2001 18:29:22 +0000 (18:29 +0000)
committerken <unknown>
Tue, 4 Sep 2001 18:29:22 +0000 (18:29 +0000)
commitfb7a723bfd7650a705cb226e07c5b08b7a8e9279
tree6ff75962889dcfcfae24605613918866fa75f8cb
parentc00aaade52ab407c10d14e970f42f8100cb45ead
[project @ 2001-09-04 18:29:20 by ken]
THIS CHANGE AFFECTS ALL OBJECT FILES COMPILED FROM HASKELL.
Please say "make -C ghc/lib/std clean; make -C hslibs clean".

This commit eliminates spurious warning messages when compiling on
the Alpha.  There are two kinds of spurious warning messages:

(1) gcc: -noprefix_recognition: linker input file unused since linking not done

    This warning is because we pass the flag "-Xlinker -noprefix_recognition"
    to gcc.  We remove this warning by no longer passing the flag to gcc,
    and by removing the reason we were passing the flag in the first place:
    __init_* is now renamed to __stginit_*.

(2) .../includes/Regs.h: warning: call-clobbered register used for global
    register variable

    This warning and all other warnings except (1), we eliminate by
    passing the -w flag to gcc.

MERGE TO STABLE BRANCH
15 files changed:
ghc/compiler/absCSyn/CLabel.lhs
ghc/compiler/main/DriverFlags.hs
ghc/compiler/main/DriverPipeline.hs
ghc/docs/comm/the-beast/driver.html
ghc/docs/users_guide/win32-dlls.sgml
ghc/driver/PackageSrc.hs
ghc/driver/mangler/ghc-asm.lprl
ghc/rts/HSprel.def
ghc/rts/Linker.c
ghc/rts/Main.c
ghc/rts/RtsStartup.c
ghc/rts/StgStartup.h
ghc/rts/StgStartup.hc
ghc/utils/debugNCG/Diff_Gcc_Nat.hs
mk/bootstrap.mk