Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/csu/arch/sh3 Add a comment that explains what this code ...
details: https://anonhg.NetBSD.org/src/rev/a46e8be30dee
branches: trunk
changeset: 773126:a46e8be30dee
user: uwe <uwe%NetBSD.org@localhost>
date: Sat Jan 28 12:44:19 2012 +0000
description:
Add a comment that explains what this code does.
diffstat:
lib/csu/arch/sh3/crti.S | 10 ++++++++--
lib/csu/arch/sh3/crtn.S | 10 ++++++++--
2 files changed, 16 insertions(+), 4 deletions(-)
diffs (51 lines):
diff -r c87816466204 -r a46e8be30dee lib/csu/arch/sh3/crti.S
--- a/lib/csu/arch/sh3/crti.S Sat Jan 28 12:27:30 2012 +0000
+++ b/lib/csu/arch/sh3/crti.S Sat Jan 28 12:44:19 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crti.S,v 1.1 2010/08/07 18:01:34 joerg Exp $ */
+/* $NetBSD: crti.S,v 1.2 2012/01/28 12:44:19 uwe Exp $ */
/*-
* Copyright (c) 2001 Ross Harvey
@@ -35,10 +35,16 @@
#include <machine/asm.h>
-RCSID("$NetBSD: crti.S,v 1.1 2010/08/07 18:01:34 joerg Exp $")
+RCSID("$NetBSD: crti.S,v 1.2 2012/01/28 12:44:19 uwe Exp $")
#include "sysident.S"
+
+/*
+ * Provide function prologues for the code in .init and .fini sections.
+ * Corresponding epilogues are in crtn.S
+ */
+
.section ".init", "ax", @progbits
.align 4
.globl _init
diff -r c87816466204 -r a46e8be30dee lib/csu/arch/sh3/crtn.S
--- a/lib/csu/arch/sh3/crtn.S Sat Jan 28 12:27:30 2012 +0000
+++ b/lib/csu/arch/sh3/crtn.S Sat Jan 28 12:44:19 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crtn.S,v 1.1 2010/08/07 18:01:34 joerg Exp $ */
+/* $NetBSD: crtn.S,v 1.2 2012/01/28 12:45:43 uwe Exp $ */
/*-
* Copyright (c) 2001 Ross Harvey
@@ -35,7 +35,13 @@
#include <machine/asm.h>
-RCSID("$NetBSD: crtn.S,v 1.1 2010/08/07 18:01:34 joerg Exp $")
+RCSID("$NetBSD: crtn.S,v 1.2 2012/01/28 12:45:43 uwe Exp $")
+
+
+/*
+ * Provide function epilogues for the code in .init and .fini sections.
+ * Corresponding prologues are in crti.S
+ */
.section ".init", "ax", @progbits
mov r14, sp
Home |
Main Index |
Thread Index |
Old Index