Module Name:    src
Committed By:   christos
Date:           Fri Jan 29 15:18:34 UTC 2016

Modified Files:
        src/include: locale.h

Log Message:
disable dso protected to work around binutils bug


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/include/locale.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/include/locale.h
diff -u src/include/locale.h:1.24 src/include/locale.h:1.25
--- src/include/locale.h:1.24	Fri May 17 10:11:55 2013
+++ src/include/locale.h	Fri Jan 29 10:18:33 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: locale.h,v 1.24 2013/05/17 14:11:55 joerg Exp $	*/
+/*	$NetBSD: locale.h,v 1.25 2016/01/29 15:18:33 christos Exp $	*/
 
 /*
  * Copyright (c) 1991, 1993
@@ -106,7 +106,7 @@ void		freelocale(locale_t);
 struct lconv	*localeconv_l(locale_t);
 locale_t	newlocale(int, const char *, locale_t);
 
-#ifndef _LIBC
+#if 1 	// used to be _LIBC, workaround broken binutils
 extern struct _locale	_lc_global_locale;
 #else
 extern __dso_protected struct _locale	_lc_global_locale;
@@ -115,7 +115,7 @@ extern __dso_protected struct _locale	_l
 #endif /* _POSIX_SOURCE >= 200809 || _NETBSD_SOURCE */
 
 #if defined(_NETBSD_SOURCE)
-#  ifndef _LIBC
+#  if 1 	// used to be _LIBC, workaround broken binutils
 extern const struct _locale _lc_C_locale;
 #  else
 extern __dso_protected const struct _locale _lc_C_locale;

Reply via email to