patches/gcc/4.4.4/100-alpha-mieee-default.patch
author David Holsgrove <david.holsgrove@xilinx.com>
Thu Oct 04 15:59:31 2012 +1000 (2012-10-04)
changeset 3073 a6981147ccc0
parent 1948 d341be24dc68
permissions -rw-r--r--
scripts/gcc: Canadian Cross skip -print-multi-lib log output

Attempting to ${CT_TARGET}-gcc -print-multi-lib will fail

In do_cc_core_backend, for the final compiler in a canadian cross
baremetal, warn that multi-libs cannot be determined

In do_cc_backend, for either final compiler for a canadian cross,
warn that multi-libs cannot be determined

(Plus fixed CT_PREFIX_DIR in do_cc_backend to be ${prefix})

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
Message-Id: <CAM=EW8aQDoNx-CkJHjXBoDP4iTDJ8z5hh3=KhO5UTU6rp3Pj=w@mail.gmail.com>
Patchwork-Id: 189053
     1 diff -durN gcc-4.4.4.orig/gcc/config/alpha/alpha.h gcc-4.4.4/gcc/config/alpha/alpha.h
     2 --- gcc-4.4.4.orig/gcc/config/alpha/alpha.h	2009-02-20 16:20:38.000000000 +0100
     3 +++ gcc-4.4.4/gcc/config/alpha/alpha.h	2010-05-16 19:10:19.000000000 +0200
     4 @@ -95,6 +95,8 @@
     5    while (0)
     6  #endif
     7  
     8 +#define CPP_SPEC "%{!no-ieee:-mieee}"
     9 +
    10  #define WORD_SWITCH_TAKES_ARG(STR)		\
    11   (!strcmp (STR, "rpath") || DEFAULT_WORD_SWITCH_TAKES_ARG(STR))
    12  
    13 diff -durN gcc-4.4.4.orig/gcc/config/alpha/alpha.opt gcc-4.4.4/gcc/config/alpha/alpha.opt
    14 --- gcc-4.4.4.orig/gcc/config/alpha/alpha.opt	2007-08-02 12:49:31.000000000 +0200
    15 +++ gcc-4.4.4/gcc/config/alpha/alpha.opt	2010-05-16 19:10:19.000000000 +0200
    16 @@ -39,7 +39,7 @@
    17  Request IEEE-conformant math library routines (OSF/1)
    18  
    19  mieee
    20 -Target Report RejectNegative Mask(IEEE)
    21 +Target Report Mask(IEEE)
    22  Emit IEEE-conformant code, without inexact exceptions
    23  
    24  mieee-with-inexact