Skip to content
  • Ken Shan's avatar
    [project @ 2001-09-04 18:29:20 by ken] · fb7a723b
    Ken Shan authored
    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
    fb7a723b