Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/sh3/gen Add .size directives.



details:   https://anonhg.NetBSD.org/src/rev/5bb25403d557
branches:  trunk
changeset: 586902:5bb25403d557
user:      uwe <uwe%NetBSD.org@localhost>
date:      Thu Jan 05 00:18:10 2006 +0000

description:
Add .size directives.
While here, indent instructions in the rts delay slots.

diffstat:

 lib/libc/arch/sh3/gen/_setjmp.S |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r e81b39bd929a -r 5bb25403d557 lib/libc/arch/sh3/gen/_setjmp.S
--- a/lib/libc/arch/sh3/gen/_setjmp.S   Wed Jan 04 23:38:27 2006 +0000
+++ b/lib/libc/arch/sh3/gen/_setjmp.S   Thu Jan 05 00:18:10 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: _setjmp.S,v 1.4 2005/10/15 16:00:42 uwe Exp $  */
+/*     $NetBSD: _setjmp.S,v 1.5 2006/01/05 00:18:10 uwe Exp $  */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -36,7 +36,7 @@
 
 #include <machine/asm.h>
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: _setjmp.S,v 1.4 2005/10/15 16:00:42 uwe Exp $")
+       RCSID("$NetBSD: _setjmp.S,v 1.5 2006/01/05 00:18:10 uwe Exp $")
 #endif
 
 /*
@@ -63,7 +63,8 @@
        mov.l   r8, @-r4
        sts.l   pr, @-r4
        rts
-       xor     r0, r0
+        xor    r0, r0
+       .size   _C_LABEL(_setjmp), .-_C_LABEL(_setjmp)
 
 ENTRY(_longjmp)
        lds.l   @r4+, pr
@@ -82,4 +83,5 @@
        add     #1, r0
 .L0:
        rts
-       nop
+        nop
+       .size   _C_LABEL(_longjmp), .-_C_LABEL(_longjmp)



Home | Main Index | Thread Index | Old Index