Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/csu/arch/vax __do_global_ctors_aux and __do_global_ctors...



details:   https://anonhg.NetBSD.org/src/rev/22e94052bc3e
branches:  trunk
changeset: 327764:22e94052bc3e
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Mar 16 11:41:30 2014 +0000

description:
__do_global_ctors_aux and __do_global_ctors_aux must be used locally, so
mark them as hidden.

diffstat:

 lib/csu/arch/vax/crtbegin.S |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 0cd26e9f61d0 -r 22e94052bc3e lib/csu/arch/vax/crtbegin.S
--- a/lib/csu/arch/vax/crtbegin.S       Sun Mar 16 11:36:26 2014 +0000
+++ b/lib/csu/arch/vax/crtbegin.S       Sun Mar 16 11:41:30 2014 +0000
@@ -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 @@
  * 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 @@
        .weak   __register_frame_info
        .weak   _Jv_RegisterClasses
 
+       .hidden __do_global_ctors_aux
+
 _ENTRY(__do_global_ctors_aux, 0x0800)
        tstb    __initialized
        bneq    4f



Home | Main Index | Thread Index | Old Index