MIPS initfini test asm glue.
This commit is contained in:
parent
c71495350e
commit
284fb99460
30
regress/lib/csu/initfini/arch/mips/initfini_asm.S
Normal file
30
regress/lib/csu/initfini/arch/mips/initfini_asm.S
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user