[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc
Subject:    Re: Patch to remove unused `NAN' and `nan' from libstdc++-v3
From:       Benjamin Kosnik <bkoz () redhat ! com>
Date:       2002-11-30 0:54:04
[Download RAW message or body]


> 2002-11-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
> 
> 	* libmath/mathconf.h (NAN, nan): Delete.
> 	* acinclude.m4 (nan): Don't check for it.
> 	* config/linker-map.gnu (nan): Delete.
> 	* libmath/nan.c: Delete.
> 
> 	* aclocal.m4, config.h.in, configure: Update.

Mostly good...

> diff -N -rup orig/egcc-CVS20021127/libstdc++-v3/config/linker-map.gnu \
>                 egcc-CVS20021127/libstdc++-v3/config/linker-map.gnu
> --- orig/egcc-CVS20021127/libstdc++-v3/config/linker-map.gnu	2002-11-26 \
>                 07:01:22.000000000 -0500
> +++ egcc-CVS20021127/libstdc++-v3/config/linker-map.gnu	2002-11-28 \
> 13:10:04.782064464 -0500 @@ -235,7 +235,6 @@ GLIBCPP_3.2.1 {
> sqrtf;
> sqrtl;
> copysignf;
> -  nan;
> __signbit;
> __signbitf;
> __signbitl;

..can't really remove a symbol after it's been exported. You'll have to
export a dummy symbol, and mark it with  

// GLIBCXX_ABI > 5 will not need this symbol at all.

see globals.cc, other uses of GLIBCXX_ABI

-benjamin


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic