Source-Changes-HG archive

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

[src/trunk]: src/regress/lib/csu/initfini/arch/mips MIPS initfini test asm glue.



details:   https://anonhg.NetBSD.org/src/rev/a3ea5fa18196
branches:  trunk
changeset: 512795:a3ea5fa18196
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jul 17 05:49:11 2001 +0000

description:
MIPS initfini test asm glue.

diffstat:

 regress/lib/csu/initfini/arch/mips/initfini_asm.S |  30 +++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diffs (34 lines):

diff -r 746ce9ec19e6 -r a3ea5fa18196 regress/lib/csu/initfini/arch/mips/initfini_asm.S
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/csu/initfini/arch/mips/initfini_asm.S Tue Jul 17 05:49:11 2001 +0000
@@ -0,0 +1,30 @@
+/*     $NetBSD: initfini_asm.S,v 1.1 2001/07/17 05:49:11 thorpej Exp $ */
+
+/*
+ * This file placed in the public domain.
+ * Jason R. Thorpe, July 16, 2001.
+ */
+
+#include <mips/asm.h>
+
+       .abicalls
+
+       .section .init, "ax", @progbits
+       .set noreorder
+       .cpload t9
+       .set reorder
+       .cprestore
+       la      t9, i_am_init
+       jal     t9
+       .align  5
+       .previous
+
+       .section .fini, "ax", @progbits
+       .set noreorder
+       .cpload t9
+       .set reorder
+       .cprestore
+       la      t9, i_am_fini
+       jal     t9
+       .align  5
+       .previous



Home | Main Index | Thread Index | Old Index