Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include disable dso protected to work around binutils bug
details: https://anonhg.NetBSD.org/src/rev/8b881719db0d
branches: trunk
changeset: 343308:8b881719db0d
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 29 15:18:33 2016 +0000
description:
disable dso protected to work around binutils bug
diffstat:
include/locale.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r df4993b5a554 -r 8b881719db0d include/locale.h
--- a/include/locale.h Fri Jan 29 15:18:08 2016 +0000
+++ b/include/locale.h Fri Jan 29 15:18:33 2016 +0000
@@ -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 @@
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 @@
#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;
Home |
Main Index |
Thread Index |
Old Index