[project @ 2001-07-24 04:46:37 by ken]
authorken <unknown>
Tue, 24 Jul 2001 04:46:37 +0000 (04:46 +0000)
committerken <unknown>
Tue, 24 Jul 2001 04:46:37 +0000 (04:46 +0000)
commitaad02f031eaec37f876cee4c2e94c002018d03d8
treea8e15767ceed7867c970def7ffbf3360b6f1e835
parenta7373b8dfea393881f129dad25ebc2aebd43af35
[project @ 2001-07-24 04:46:37 by ken]
Added -Xlinker -noprefix_recognition to Alpha-specific
machdepCCOpts.  We need this flag to disable the following
documented behavior of ld(1) on Digital UNIX:

   All routines that start with __init_ are treated, by default,
   as initialization routines. These are routines that are called
   without an argument when the file that contains them is loaded
   or when the program that contains them is started.

Unfortunately, this flag produces the annoying (but harmless) gcc
message

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

(See also mk/bootstrap.mk)
ghc/compiler/main/DriverFlags.hs