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 sure .init and .fini are word (4byte)...
details: https://anonhg.NetBSD.org/src/rev/f0130256328b
branches: trunk
changeset: 808008:f0130256328b
user: matt <matt%NetBSD.org@localhost>
date: Fri May 01 21:35:56 2015 +0000
description:
Make sure .init and .fini are word (4byte) aligned.
diffstat:
lib/csu/arch/mips/crti.S | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r fce1a9283c0c -r f0130256328b lib/csu/arch/mips/crti.S
--- a/lib/csu/arch/mips/crti.S Fri May 01 21:34:17 2015 +0000
+++ b/lib/csu/arch/mips/crti.S Fri May 01 21:35:56 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crti.S,v 1.2 2013/06/30 08:00:34 matt Exp $ */
+/* $NetBSD: crti.S,v 1.3 2015/05/01 21:35:56 matt Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -31,11 +31,12 @@
#include <mips/asm.h>
-RCSID("$NetBSD: crti.S,v 1.2 2013/06/30 08:00:34 matt Exp $")
+RCSID("$NetBSD: crti.S,v 1.3 2015/05/01 21:35:56 matt Exp $")
#include "sysident.S"
.section ".init", "ax", @progbits
+ .p2align 2
NESTED_NOPROFILE(_init, CALLFRAME_SIZ, ra)
SETUP_GP
PTR_SUBU sp, sp, CALLFRAME_SIZ # allocate stack frame
@@ -48,6 +49,7 @@
END(_init)
.section ".fini", "ax", @progbits
+ .p2align 2
NESTED_NOPROFILE(_fini, CALLFRAME_SIZ, ra)
SETUP_GP
PTR_SUBU sp, sp, CALLFRAME_SIZ # allocate stack frame
Home |
Main Index |
Thread Index |
Old Index