From: Roland McGrath Date: Mon, 10 Apr 1995 18:58:00 +0000 (+0000) Subject: Mon Apr 10 14:53:15 1995 Roland McGrath X-Git-Tag: cvs/libc-950411~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=217d85b9c89bc7d6e2c2db7fa93238a6b6f12d73;p=thirdparty%2Fglibc.git Mon Apr 10 14:53:15 1995 Roland McGrath * stdlib/strtod.c (STRTOF): Use extra macro to make STRTOF's #defn a weak symbol instead of literal "STRTOF". * locale/setlocale.c: Work around ld bug: don't weakify refs to _nl_{current,C}_*. --- diff --git a/ChangeLog b/ChangeLog index 04b53e88ff4..f859c747891 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Mon Apr 10 14:53:15 1995 Roland McGrath + + * stdlib/strtod.c (STRTOF): Use extra macro to make STRTOF's #defn + a weak symbol instead of literal "STRTOF". + + * locale/setlocale.c: Work around ld bug: don't weakify refs to + _nl_{current,C}_*. + Sun Apr 9 01:24:33 1995 Roland McGrath * Makerules (+depfiles): Translate %.so to %.o in $(extra-objs). diff --git a/locale/setlocale.c b/locale/setlocale.c index 500d8627eb4..509bb4ffa1e 100644 --- a/locale/setlocale.c +++ b/locale/setlocale.c @@ -33,7 +33,8 @@ Cambridge, MA 02139, USA. */ #define DEFINE_CATEGORY(category, category_name, items, a, b, c, d) \ extern const struct locale_data *_nl_current_##category; \ extern const struct locale_data _nl_C_##category; \ -weak_symbol (_nl_current_##category) weak_symbol (_nl_C_##category) +/* XXX The linker is broken so we cannot do the weak symbols right just now. */ +/* weak_symbol (_nl_current_##category) weak_symbol (_nl_C_##category) */ #include "categories.def" #undef DEFINE_CATEGORY diff --git a/stdlib/strtod.c b/stdlib/strtod.c index 94f9da3bfb8..8afacfff14d 100644 --- a/stdlib/strtod.c +++ b/stdlib/strtod.c @@ -1097,7 +1097,8 @@ INTERNAL (STRTOF) (nptr, endptr, group) /* External user entry point. */ -weak_symbol (STRTOF) +#define weak_this(x) weak_symbol(x) +weak_this (STRTOF) FLOAT STRTOF (nptr, endptr)