summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-04-10 18:58:00 +0000
committerRoland McGrath <roland@gnu.org>1995-04-10 18:58:00 +0000
commit217d85b9c89bc7d6e2c2db7fa93238a6b6f12d73 (patch)
tree599dd9378f09b497f9c24e7f7e3982cf3c3208fc /stdlib
parent8c0dc19cc688bd10f83a92fab2c9cdaf4b6154ec (diff)
downloadglibc-217d85b9c89bc7d6e2c2db7fa93238a6b6f12d73.tar.gz
glibc-217d85b9c89bc7d6e2c2db7fa93238a6b6f12d73.tar.xz
glibc-217d85b9c89bc7d6e2c2db7fa93238a6b6f12d73.zip
Mon Apr 10 14:53:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
	* 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}_*.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/strtod.c3
1 files changed, 2 insertions, 1 deletions
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)