summaryrefslogtreecommitdiff
path: root/emu/NetBSD/asm-386.S
diff options
context:
space:
mode:
Diffstat (limited to 'emu/NetBSD/asm-386.S')
-rw-r--r--emu/NetBSD/asm-386.S10
1 files changed, 2 insertions, 8 deletions
diff --git a/emu/NetBSD/asm-386.S b/emu/NetBSD/asm-386.S
index ca701782..d21c03bb 100644
--- a/emu/NetBSD/asm-386.S
+++ b/emu/NetBSD/asm-386.S
@@ -5,7 +5,7 @@
* executeonnewstack(void *tos, void (*tramp)(void *arg), void *arg)
*/
- .type ournewstack,@function
+ .type executeonnewstack,@function
.global executeonnewstack
executeonnewstack:
pushl %ebp
@@ -23,7 +23,7 @@ executeonnewstack:
popl %eax /* recover the tramp address */
call *%eax /* and jump to it (ho ho) */
- /* if we return here, tramp didn't do it's job */
+ /* if we return here, tramp didn't do its job */
addl $8, %esp /* clean up for pose value */
@@ -92,12 +92,6 @@ FPrestore:
popl %ebp
ret
- .type getcallerpc,@function
- .global getcallerpc
-getcallerpc:
- movl 4(%ebp), %eax
- ret
-
.type _tas,@function
.globl _tas
_tas: