Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/csu/arch Explicitly declare ___start as hidden.
details: https://anonhg.NetBSD.org/src/rev/1fde9be0d635
branches: trunk
changeset: 766739:1fde9be0d635
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Jul 01 02:59:05 2011 +0000
description:
Explicitly declare ___start as hidden.
diffstat:
lib/csu/arch/i386/crt0.S | 6 ++++--
lib/csu/arch/powerpc/crt0.S | 4 +++-
lib/csu/arch/x86_64/crt0.S | 5 +++--
3 files changed, 10 insertions(+), 5 deletions(-)
diffs (58 lines):
diff -r 95a503650ea9 -r 1fde9be0d635 lib/csu/arch/i386/crt0.S
--- a/lib/csu/arch/i386/crt0.S Fri Jul 01 02:46:24 2011 +0000
+++ b/lib/csu/arch/i386/crt0.S Fri Jul 01 02:59:05 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.S,v 1.2 2011/06/30 19:48:43 joerg Exp $ */
+/* $NetBSD: crt0.S,v 1.3 2011/07/01 02:59:05 joerg Exp $ */
/*
* Copyright (c) 1998 Christos Zoulas
@@ -37,7 +37,9 @@
#include <machine/asm.h>
-RCSID("$NetBSD: crt0.S,v 1.2 2011/06/30 19:48:43 joerg Exp $")
+RCSID("$NetBSD: crt0.S,v 1.3 2011/07/01 02:59:05 joerg Exp $")
+
+ .hidden ___start
STRONG_ALIAS(_start,__start)
_ENTRY(__start)
diff -r 95a503650ea9 -r 1fde9be0d635 lib/csu/arch/powerpc/crt0.S
--- a/lib/csu/arch/powerpc/crt0.S Fri Jul 01 02:46:24 2011 +0000
+++ b/lib/csu/arch/powerpc/crt0.S Fri Jul 01 02:59:05 2011 +0000
@@ -29,10 +29,12 @@
#include <powerpc/asm.h>
-RCSID("$NetBSD: crt0.S,v 1.2 2011/06/30 20:10:17 matt Exp $")
+RCSID("$NetBSD: crt0.S,v 1.3 2011/07/01 02:59:05 joerg Exp $")
STRONG_ALIAS(_start,__start)
+ .hidden ___start
+
.weak _SDA_BASE_
ENTRY_NOPROFILE(__start)
diff -r 95a503650ea9 -r 1fde9be0d635 lib/csu/arch/x86_64/crt0.S
--- a/lib/csu/arch/x86_64/crt0.S Fri Jul 01 02:46:24 2011 +0000
+++ b/lib/csu/arch/x86_64/crt0.S Fri Jul 01 02:59:05 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.S,v 1.2 2011/06/30 19:48:43 joerg Exp $ */
+/* $NetBSD: crt0.S,v 1.3 2011/07/01 02:59:05 joerg Exp $ */
/*
* Copyright (c) 1998 Christos Zoulas
@@ -35,9 +35,10 @@
#include <machine/asm.h>
-RCSID("$NetBSD: crt0.S,v 1.2 2011/06/30 19:48:43 joerg Exp $")
+RCSID("$NetBSD: crt0.S,v 1.3 2011/07/01 02:59:05 joerg Exp $")
STRONG_ALIAS(_start,__start)
+ .hidden ___start
_ENTRY(__start)
andq $~15,%rsp
Home |
Main Index |
Thread Index |
Old Index