Source-Changes-HG archive

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

[src/trunk]: src/lib/csu/powerpc Define _SDA(2)_BASE_ as [] which is more cor...



details:   https://anonhg.NetBSD.org/src/rev/57f350d44d77
branches:  trunk
changeset: 526765:57f350d44d77
user:      matt <matt%NetBSD.org@localhost>
date:      Thu May 09 20:32:59 2002 +0000

description:
Define _SDA(2)_BASE_ as [] which is more correct.

diffstat:

 lib/csu/powerpc/crt0.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 5cee369106a4 -r 57f350d44d77 lib/csu/powerpc/crt0.c
--- a/lib/csu/powerpc/crt0.c    Thu May 09 20:23:08 2002 +0000
+++ b/lib/csu/powerpc/crt0.c    Thu May 09 20:32:59 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.c,v 1.21 2002/04/26 23:28:53 matt Exp $ */
+/* $NetBSD: crt0.c,v 1.22 2002/05/09 20:32:59 matt Exp $ */
 
 /*
  * Copyright (c) 1997 Jason R. Thorpe.
@@ -41,9 +41,9 @@
  * Small Data Area designators.  If not defined, will show up as being
  * at address zero.
  */
-extern int _SDA_BASE_;
+extern int _SDA_BASE_[];
 __weak_extern(_SDA_BASE_);
-extern int _SDA2_BASE_;
+extern int _SDA2_BASE_[];
 __weak_extern(_SDA2_BASE_);
 
 /*
@@ -105,7 +105,7 @@
  * NOTE: Leave the RCS ID _after_ __start(), in case it gets placed in .text.
  */
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: crt0.c,v 1.21 2002/04/26 23:28:53 matt Exp $");
+__RCSID("$NetBSD: crt0.c,v 1.22 2002/05/09 20:32:59 matt Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "common.c"



Home | Main Index | Thread Index | Old Index