patches/glibc/ports-2.13/470-alpha-feupdateenv.patch
author David Holsgrove <david.holsgrove@xilinx.com>
Wed Oct 03 15:59:22 2012 +1000 (2012-10-03)
changeset 3071 5243d1b432b1
permissions -rw-r--r--
scripts/gdb: If not building expat for gdb, disable

--with-expat=yes is unconditionally passed to the gdb configure
stage, instead of respecting the ${do_expat} decision.

Disable if not needed. Prevents error building canadian cross;

configure: error: expat is missing or unusable

Where configure stage fails to find expat on the host compiler.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <4c4410a2a8aab24a29c5.1349244128@localhost.localdomain>
PatchWork-Id: 188711
     1 2011-03-01  Aurelien Jarno  <aurelien@aurel32.net>
     2 
     3 	* sysdeps/alpha/fpu/feupdateenv.c (feupdateenv): Add
     4 	libm_hidden_def.
     5 	* sysdeps/alpha/fpu/ftestexcept.c (fetestexcept): Likewise.
     6 
     7 diff --git glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c
     8 index c798070..9abbf11 100644
     9 --- glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c
    10 +++ glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c
    11 @@ -46,4 +46,5 @@ strong_alias (__feupdateenv, __old_feupdateenv)
    12  compat_symbol (libm, __old_feupdateenv, feupdateenv, GLIBC_2_1);
    13  #endif
    14  
    15 +libm_hidden_ver (__feupdateenv, feupdateenv)
    16  versioned_symbol (libm, __feupdateenv, feupdateenv, GLIBC_2_2);
    17 diff --git glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c
    18 index a4b3081..34d8113 100644
    19 --- glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c
    20 +++ glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c
    21 @@ -30,3 +30,4 @@ fetestexcept (int excepts)
    22  
    23    return tmp & excepts & SWCR_STATUS_MASK;
    24  }
    25 +libm_hidden_def (fetestexcept)
    26