From e364302aeaa7fc4f18c66acdbba5dd2c14f77555 Mon Sep 17 00:00:00 2001 From: Yoshinori Sato Date: Sun, 24 May 2015 02:06:24 +0900 Subject: h8300: Assembly functions - remove symbol prefix - new startup - new clone syscall support Signed-off-by: Yoshinori Sato Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/h8300/bsd-setjmp.S | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'libc/sysdeps/linux/h8300/bsd-setjmp.S') diff --git a/libc/sysdeps/linux/h8300/bsd-setjmp.S b/libc/sysdeps/linux/h8300/bsd-setjmp.S index 74ebb8f9a..77c810fe0 100644 --- a/libc/sysdeps/linux/h8300/bsd-setjmp.S +++ b/libc/sysdeps/linux/h8300/bsd-setjmp.S @@ -1,4 +1,4 @@ -/* BSD `_setjmp' entry point to `sigsetjmp (..., 1)'. H8/300 version. */ +/* BSD `_setjmp' entry point to `sigsetjmp (..., 1)'. H8/300 version. */ #include @@ -8,10 +8,10 @@ .h8300h #endif .text - -.global _setjmp -_setjmp: +.global setjmp + +setjmp: add.l #JB_SIZE,er0 mov.l @sp,er1 ; return PC mov.l er1,@-er0 @@ -21,8 +21,9 @@ _setjmp: mov.l er4,@-er0 sub.l er0,er0 #if !defined(__PIC__) - jmp @___sigjmp_save + jmp @__sigjmp_save #else - mov.l @(___sigjmp_save@GOTOFF,er5),er1 + mov.l @(__sigjmp_save@GOTOFF,er5),er1 jmp @er3 #endif + .end -- cgit v1.2.3