Module Name: src
Committed By: joerg
Date: Sun Mar 16 11:41:30 UTC 2014
Modified Files:
src/lib/csu/arch/vax: crtbegin.S
Log Message:
__do_global_ctors_aux and __do_global_ctors_aux must be used locally, so
mark them as hidden.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/csu/arch/vax/crtbegin.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/csu/arch/vax/crtbegin.S
diff -u src/lib/csu/arch/vax/crtbegin.S:1.6 src/lib/csu/arch/vax/crtbegin.S:1.7
--- src/lib/csu/arch/vax/crtbegin.S:1.6 Wed Jul 10 23:30:45 2013
+++ src/lib/csu/arch/vax/crtbegin.S Sun Mar 16 11:41:30 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: crtbegin.S,v 1.6 2013/07/10 23:30:45 matt Exp $ */
+/* $NetBSD: crtbegin.S,v 1.7 2014/03/16 11:41:30 joerg Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -30,7 +30,7 @@
#include <vax/asm.h>
-RCSID("$NetBSD: crtbegin.S,v 1.6 2013/07/10 23:30:45 matt Exp $")
+RCSID("$NetBSD: crtbegin.S,v 1.7 2014/03/16 11:41:30 joerg Exp $")
.section .ctors, "aw", @progbits
.p2align 2
@@ -80,6 +80,8 @@ __dso_handle:
* needed.
*/
+ .hidden __do_global_dtors_aux
+
_ENTRY(__do_global_dtors_aux, 0x0100) /* save r8 */
tstb __finished /* done this already? */
bneq 4f
@@ -128,6 +130,8 @@ END(__do_global_dtors_aux)
.weak __register_frame_info
.weak _Jv_RegisterClasses
+ .hidden __do_global_ctors_aux
+
_ENTRY(__do_global_ctors_aux, 0x0800)
tstb __initialized
bneq 4f