Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/csu/common Fix static weak (to extern weak)
details: https://anonhg.NetBSD.org/src/rev/46703c401b57
branches: trunk
changeset: 784244:46703c401b57
user: matt <matt%NetBSD.org@localhost>
date: Tue Jan 22 22:57:37 2013 +0000
description:
Fix static weak (to extern weak)
diffstat:
lib/csu/common/crt0-common.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (33 lines):
diff -r 12cee1349e3e -r 46703c401b57 lib/csu/common/crt0-common.c
--- a/lib/csu/common/crt0-common.c Tue Jan 22 22:49:09 2013 +0000
+++ b/lib/csu/common/crt0-common.c Tue Jan 22 22:57:37 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0-common.c,v 1.9 2012/08/13 02:15:35 matt Exp $ */
+/* $NetBSD: crt0-common.c,v 1.10 2013/01/22 22:57:37 matt Exp $ */
/*
* Copyright (c) 1998 Christos Zoulas
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: crt0-common.c,v 1.9 2012/08/13 02:15:35 matt Exp $");
+__RCSID("$NetBSD: crt0-common.c,v 1.10 2013/01/22 22:57:37 matt Exp $");
#include <sys/types.h>
#include <sys/exec.h>
@@ -95,10 +95,10 @@
* Since we don't need .init or .fini sections, just code them in C
* to make life easier.
*/
-static const fptr_t init_array_start[] __weak_reference(__init_array_start);
-static const fptr_t init_array_end[] __weak_reference(__init_array_end);
-static const fptr_t fini_array_start[] __weak_reference(__fini_array_start);
-static const fptr_t fini_array_end[] __weak_reference(__fini_array_end);
+extern const fptr_t init_array_start[] __weak_reference(__init_array_start);
+extern const fptr_t init_array_end[] __weak_reference(__init_array_end);
+extern const fptr_t fini_array_start[] __weak_reference(__fini_array_start);
+extern const fptr_t fini_array_end[] __weak_reference(__fini_array_end);
static inline void
_init(void)
Home |
Main Index |
Thread Index |
Old Index