Source-Changes-HG archive

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

[src/trunk]: src/lib/csu/arch/mips Make this work for N64 as well.



details:   https://anonhg.NetBSD.org/src/rev/e712187dc9d6
branches:  trunk
changeset: 787893:e712187dc9d6
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jul 11 16:23:40 2013 +0000

description:
Make this work for N64 as well.

diffstat:

 lib/csu/arch/mips/crtend.S |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (43 lines):

diff -r 0e2d7ad22649 -r e712187dc9d6 lib/csu/arch/mips/crtend.S
--- a/lib/csu/arch/mips/crtend.S        Thu Jul 11 15:43:12 2013 +0000
+++ b/lib/csu/arch/mips/crtend.S        Thu Jul 11 16:23:40 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crtend.S,v 1.1 2013/06/22 02:37:09 matt Exp $  */
+/*     $NetBSD: crtend.S,v 1.2 2013/07/11 16:23:40 matt Exp $  */
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -30,26 +30,26 @@
 
 #include <mips/asm.h>
 
-RCSID("$NetBSD: crtend.S,v 1.1 2013/06/22 02:37:09 matt Exp $")
+RCSID("$NetBSD: crtend.S,v 1.2 2013/07/11 16:23:40 matt Exp $")
 
        .section        .ctors, "aw", @progbits
-       .p2align 2
+       .p2align        PTR_SCALESHIFT
        .global         __CTOR_LIST_END__
        .hidden         __CTOR_LIST_END__
 __CTOR_LIST_END__:
        .word           0
 
        .section        .dtors, "aw", @progbits
-       .p2align 2
+       .p2align        PTR_SCALESHIFT
        .global         __DTOR_LIST_END__
        .hidden         __DTOR_LIST_END__
 __DTOR_LIST_END__:
        .word           0
 
        .section        .eh_frame, "a", @progbits
-       .p2align 2
-       .space  4
+       .p2align         PTR_SCALESHIFT
+       .space          _MIPS_SZPTR / 8
 
        .section        .jcr, "aw", @progbits
-       .p2align 2
-       .space  4
+       .p2align         PTR_SCALESHIFT
+       .space          _MIPS_SZPTR / 8



Home | Main Index | Thread Index | Old Index