Source-Changes-HG archive

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

[src/trunk]: src/lib/csu/sparc64 Workaround for gcc 2.96 bugs.



details:   https://anonhg.NetBSD.org/src/rev/1a42b3123c65
branches:  trunk
changeset: 480008:1a42b3123c65
user:      eeh <eeh%NetBSD.org@localhost>
date:      Thu Dec 30 15:34:47 1999 +0000

description:
Workaround for gcc 2.96 bugs.

diffstat:

 lib/csu/sparc64/crt0.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1956b56653ce -r 1a42b3123c65 lib/csu/sparc64/crt0.c
--- a/lib/csu/sparc64/crt0.c    Thu Dec 30 15:31:39 1999 +0000
+++ b/lib/csu/sparc64/crt0.c    Thu Dec 30 15:34:47 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crt0.c,v 1.9 1999/11/02 10:03:44 lukem Exp $   */
+/*     $NetBSD: crt0.c,v 1.10 1999/12/30 15:34:47 eeh Exp $    */
 
 /*
  * Copyright (c) 1995 Christopher G. Demetriou
@@ -59,6 +59,7 @@
        mov     %g1, %o1                        ! Cleanup routine
        clr     %o1                             ! XXXX
        clr     %o2                             ! obj
+       ba,pt   %icc, ___start                  ! XXXX jump over the retl egcs 2.96 inserts
        mov     %g1, %o3                        ! ps_strings XXXX
 ");
 
@@ -109,7 +110,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.9 1999/11/02 10:03:44 lukem Exp $");
+__RCSID("$NetBSD: crt0.c,v 1.10 1999/12/30 15:34:47 eeh Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 /* XXX XXX XXX THIS SHOULD GO AWAY XXX XXX XXX



Home | Main Index | Thread Index | Old Index