From 284fb9946077be016e2a7c2fdf0487c26a1f3846 Mon Sep 17 00:00:00 2001 From: thorpej Date: Tue, 17 Jul 2001 05:49:11 +0000 Subject: [PATCH] MIPS initfini test asm glue. --- .../lib/csu/initfini/arch/mips/initfini_asm.S | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 regress/lib/csu/initfini/arch/mips/initfini_asm.S diff --git a/regress/lib/csu/initfini/arch/mips/initfini_asm.S b/regress/lib/csu/initfini/arch/mips/initfini_asm.S new file mode 100644 index 000000000000..dea20d56f0ed --- /dev/null +++ b/regress/lib/csu/initfini/arch/mips/initfini_asm.S @@ -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 + + .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