Use LEAF_NOPROFILE().

This commit is contained in:
tsutsui 2003-04-18 18:52:27 +00:00
parent b2ee3e403d
commit 0b271b64a6
1 changed files with 15 additions and 15 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: romcalls.S,v 1.4 2002/04/13 07:56:03 tsutsui Exp $ */ /* $NetBSD: romcalls.S,v 1.5 2003/04/18 18:52:27 tsutsui Exp $ */
/*- /*-
* Copyright (C) 1999 Tsubai Masanari. All rights reserved. * Copyright (C) 1999 Tsubai Masanari. All rights reserved.
@ -34,8 +34,7 @@
.align 2 .align 2
.set noreorder .set noreorder
.globl rom_halt LEAF_NOPROFILE(rom_halt)
rom_halt:
addu sp, sp, -16 addu sp, sp, -16
li a0, 8 # RB_HALT li a0, 8 # RB_HALT
sw a0, 0(sp) sw a0, 0(sp)
@ -43,9 +42,9 @@ rom_halt:
move a1, sp move a1, sp
syscall syscall
nop nop
END(rom_halt)
.globl rom_open LEAF_NOPROFILE(rom_open)
rom_open:
addu sp, sp, -32 addu sp, sp, -32
sw ra, 28(sp) sw ra, 28(sp)
@ -61,9 +60,9 @@ rom_open:
addu sp, sp, 32 addu sp, sp, 32
j ra j ra
nop nop
END(rom_open)
.globl rom_close LEAF_NOPROFILE(rom_close)
rom_close:
addu sp, sp, -32 addu sp, sp, -32
sw ra, 28(sp) sw ra, 28(sp)
@ -78,9 +77,9 @@ rom_close:
addu sp, sp, 32 addu sp, sp, 32
j ra j ra
nop nop
END(rom_close)
.globl rom_read LEAF_NOPROFILE(rom_read)
rom_read:
addu sp, sp, -32 addu sp, sp, -32
sw ra, 28(sp) sw ra, 28(sp)
@ -97,9 +96,9 @@ rom_read:
addu sp, sp, 32 addu sp, sp, 32
j ra j ra
nop nop
END(rom_read)
.globl rom_write LEAF_NOPROFILE(rom_write)
rom_write:
addu sp, sp, -32 addu sp, sp, -32
sw ra, 28(sp) sw ra, 28(sp)
@ -116,9 +115,9 @@ rom_write:
addu sp, sp, 32 addu sp, sp, 32
j ra j ra
nop nop
END(rom_write)
.globl rom_lseek LEAF_NOPROFILE(rom_lseek)
rom_lseek:
addu sp, sp, -32 addu sp, sp, -32
sw ra, 28(sp) sw ra, 28(sp)
@ -135,9 +134,9 @@ rom_lseek:
addu sp, sp, 32 addu sp, sp, 32
j ra j ra
nop nop
END(rom_lseek)
.globl rom_ioctl LEAF_NOPROFILE(rom_ioctl)
rom_ioctl:
addu sp, sp, -32 addu sp, sp, -32
sw ra, 28(sp) sw ra, 28(sp)
@ -154,3 +153,4 @@ rom_ioctl:
addu sp, sp, 32 addu sp, sp, 32
j ra j ra
nop nop
END(rom_ioctl)