From 217d85b9c89bc7d6e2c2db7fa93238a6b6f12d73 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 10 Apr 1995 18:58:00 +0000 Subject: 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}_*. --- stdlib/strtod.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'stdlib') diff --git a/stdlib/strtod.c b/stdlib/strtod.c index 94f9da3bfb..8afacfff14 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) -- cgit 1.4.1