Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Undo weak here to fix the tests; will revisit soon.
details: https://anonhg.NetBSD.org/src/rev/179c8730720f
branches: trunk
changeset: 344032:179c8730720f
user: christos <christos%NetBSD.org@localhost>
date: Fri Mar 11 00:44:56 2016 +0000
description:
Undo weak here to fix the tests; will revisit soon.
diffstat:
sys/sys/cdefs_elf.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r f19d78328254 -r 179c8730720f sys/sys/cdefs_elf.h
--- a/sys/sys/cdefs_elf.h Thu Mar 10 22:30:57 2016 +0000
+++ b/sys/sys/cdefs_elf.h Fri Mar 11 00:44:56 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cdefs_elf.h,v 1.49 2015/05/08 13:58:53 christos Exp $ */
+/* $NetBSD: cdefs_elf.h,v 1.50 2016/03/11 00:44:56 christos Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -173,9 +173,10 @@
#define __link_set_start(set) (__start_link_set_##set)
#define __link_set_end(set) (__stop_link_set_##set)
+/* XXX: we want end to be __weak, but this is broken */
#define __link_set_decl(set, ptype) \
extern ptype * const __link_set_start(set)[] __dso_hidden; \
- extern ptype * const __link_set_end(set)[] __weak __dso_hidden
+ extern ptype * const __link_set_end(set)[] __dso_hidden
#define __link_set_count(set) \
(__link_set_end(set) - __link_set_start(set))
Home |
Main Index |
Thread Index |
Old Index