From: Christian Ehrhardt Date: Fri, 1 Nov 2002 17:54:51 +0000 (+0000) Subject: re PR libstdc++/8197 (std::sin(float) causes undefined reference to sinf) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23ae3eb1f89fe1b75e9d4e2311d95d7bebba52fb;p=gcc.git re PR libstdc++/8197 (std::sin(float) causes undefined reference to sinf) 2002-11-01 Christian Ehrhardt PR libstdc++/8197 * config/link-map.gnu: Export math stubbs. From-SVN: r58721 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b3b5fb72f0a..ed3de3f0367 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2002-11-01 Christian Ehrhardt + + PR libstdc++/8197 + * config/link-map.gnu: Export math stubbs. + 2002-11-01 Benjamin Kosnik PR libstdc++/8318 diff --git a/libstdc++-v3/config/linker-map.gnu b/libstdc++-v3/config/linker-map.gnu index 9edcbb824d3..8cf226db912 100644 --- a/libstdc++-v3/config/linker-map.gnu +++ b/libstdc++-v3/config/linker-map.gnu @@ -156,6 +156,40 @@ GLIBCPP_3.2.1 { _ZNSt7codecvtIwc11__mbstate_tEC1EP15__locale_structj; _ZNSt7codecvtIwc11__mbstate_tEC2EP15__locale_structj; + # stub functions from libmath + sinf; + sinl; + sinhf; + sinhl; + cosf; + cosl; + coshf; + coshl; + tanf; + tanl; + tanhf; + tanhl; + atan2f; + atan2l; + expf; + expl; + hypotf; + hypotl; + hypot; + logf; + logl; + log10f; + log10l; + powf; + powl; + sqrtf; + sqrtl; + copysignf; + nan; + __signbit; + __signbitf; + __signbitl; + } GLIBCPP_3.2; # Symbols in the support library (libsupc++) have their own tag.