aboutsummaryrefslogtreecommitdiff
path: root/locale/setlocale.c
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 /locale/setlocale.c
parent8c0dc19cc688bd10f83a92fab2c9cdaf4b6154ec (diff)
downloadglibc-217d85b9c89bc7d6e2c2db7fa93238a6b6f12d73.tar
glibc-217d85b9c89bc7d6e2c2db7fa93238a6b6f12d73.tar.gz
glibc-217d85b9c89bc7d6e2c2db7fa93238a6b6f12d73.tar.bz2
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 'locale/setlocale.c')
-rw-r--r--locale/setlocale.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/locale/setlocale.c b/locale/setlocale.c
index 500d8627eb..509bb4ffa1 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