Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys revert weak change. next time point to an example of...
details: https://anonhg.NetBSD.org/src/rev/b4e73a38c661
branches: trunk
changeset: 345537:b4e73a38c661
user: christos <christos%NetBSD.org@localhost>
date: Tue May 31 20:40:51 2016 +0000
description:
revert weak change. next time point to an example of what breaks in the
commit message.
diffstat:
sys/sys/cdefs_elf.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r b6784f43d3ee -r b4e73a38c661 sys/sys/cdefs_elf.h
--- a/sys/sys/cdefs_elf.h Tue May 31 20:02:16 2016 +0000
+++ b/sys/sys/cdefs_elf.h Tue May 31 20:40:51 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cdefs_elf.h,v 1.50 2016/03/11 00:44:56 christos Exp $ */
+/* $NetBSD: cdefs_elf.h,v 1.51 2016/05/31 20:40:51 christos Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -173,10 +173,9 @@
#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)[] __dso_hidden
+ extern ptype * const __link_set_end(set)[] __weak __dso_hidden
#define __link_set_count(set) \
(__link_set_end(set) - __link_set_start(set))
Home |
Main Index |
Thread Index |
Old Index