From 9f2990dbbf39786d7396caf65006093fc4f52b2e Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 6 Mar 1998 01:48:50 +0000 Subject: * sysdeps/m68k/add_n.S: Use ENTRY and END macros. * sysdeps/m68k/lshift.S: Likewise. * sysdeps/m68k/rshift.S: Likewise. * sysdeps/m68k/sub_n.S: Likewise. * sysdeps/m68k/m68020/addmul_1.S: Likewise. * sysdeps/m68k/m68020/mul_1.S: Likewise. * sysdeps/m68k/m68020/submul_1.S: Likewise. * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro. [_LIBC_REENTRANT]: Don't store into global errno. * sysdeps/m68k/sysdep.h: New file. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there. (DO_CALL): Change to expect syscall name as argument. (PSEUDO): Pass syscall_name to DO_CALL. (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global errno. Fri Mar 6 10:40:30 1998 Andreas Schwab * sysdeps/m68k/add_n.S: Use ENTRY and END macros. * sysdeps/m68k/lshift.S: Likewise. * sysdeps/m68k/rshift.S: Likewise. * sysdeps/m68k/sub_n.S: Likewise. * sysdeps/m68k/m68020/addmul_1.S: Likewise. * sysdeps/m68k/m68020/mul_1.S: Likewise. * sysdeps/m68k/m68020/submul_1.S: Likewise. * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro. [_LIBC_REENTRANT]: Don't store into global errno. * sysdeps/m68k/sysdep.h: New file. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there. (DO_CALL): Change to expect syscall name as argument. (PSEUDO): Pass syscall_name to DO_CALL. (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global errno. --- sysdeps/m68k/m68020/addmul_1.S | 10 +++------- sysdeps/m68k/m68020/mul_1.S | 10 +++------- sysdeps/m68k/m68020/submul_1.S | 10 +++------- 3 files changed, 9 insertions(+), 21 deletions(-) (limited to 'sysdeps/m68k/m68020') diff --git a/sysdeps/m68k/m68020/addmul_1.S b/sysdeps/m68k/m68020/addmul_1.S index 4b99c21f84..7f885575c8 100644 --- a/sysdeps/m68k/m68020/addmul_1.S +++ b/sysdeps/m68k/m68020/addmul_1.S @@ -1,7 +1,7 @@ /* mc68020 __mpn_addmul_1 -- Multiply a limb vector with a limb and add the result to a second limb vector. -Copyright (C) 1992, 1994, 1996 Free Software Foundation, Inc. +Copyright (C) 1992, 1994, 1996, 1998 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -32,11 +32,7 @@ MA 02111-1307, USA. */ #include "asm-syntax.h" TEXT - ALIGN - GLOBL C_SYMBOL_NAME(__mpn_addmul_1) - -C_SYMBOL_NAME(__mpn_addmul_1:) -PROLOG(__mpn_addmul_1) +ENTRY(__mpn_addmul_1) #define res_ptr a0 #define s1_ptr a1 @@ -81,4 +77,4 @@ L(L1:) movel MEM_POSTINC(s1_ptr),R(d3) moveml MEM_POSTINC(sp),R(d2)-R(d5) rts -EPILOG(__mpn_addmul_1) +END(__mpn_addmul_1) diff --git a/sysdeps/m68k/m68020/mul_1.S b/sysdeps/m68k/m68020/mul_1.S index ef7d93721f..367f77faf9 100644 --- a/sysdeps/m68k/m68020/mul_1.S +++ b/sysdeps/m68k/m68020/mul_1.S @@ -1,7 +1,7 @@ /* mc68020 __mpn_mul_1 -- Multiply a limb vector with a limb and store the result in a second limb vector. -Copyright (C) 1992, 1994, 1996 Free Software Foundation, Inc. +Copyright (C) 1992, 1994, 1996, 1998 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -32,11 +32,7 @@ MA 02111-1307, USA. */ #include "asm-syntax.h" TEXT - ALIGN - GLOBL C_SYMBOL_NAME(__mpn_mul_1) - -C_SYMBOL_NAME(__mpn_mul_1:) -PROLOG(__mpn_mul_1) +ENTRY(__mpn_mul_1) #define res_ptr a0 #define s1_ptr a1 @@ -88,4 +84,4 @@ L(L1:) movel MEM_POSTINC(s1_ptr),R(d3) movel MEM_POSTINC(sp),R(d2) #endif rts -EPILOG(__mpn_mul_1) +END(__mpn_mul_1) diff --git a/sysdeps/m68k/m68020/submul_1.S b/sysdeps/m68k/m68020/submul_1.S index 9770c6cd6b..2710045c13 100644 --- a/sysdeps/m68k/m68020/submul_1.S +++ b/sysdeps/m68k/m68020/submul_1.S @@ -1,7 +1,7 @@ /* mc68020 __mpn_submul_1 -- Multiply a limb vector with a limb and subtract the result from a second limb vector. -Copyright (C) 1992, 1994, 1996 Free Software Foundation, Inc. +Copyright (C) 1992, 1994, 1996, 1998 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -32,11 +32,7 @@ MA 02111-1307, USA. */ #include "asm-syntax.h" TEXT - ALIGN - GLOBL C_SYMBOL_NAME(__mpn_submul_1) - -C_SYMBOL_NAME(__mpn_submul_1:) -PROLOG(__mpn_submul_1) +ENTRY(__mpn_submul_1) #define res_ptr a0 #define s1_ptr a1 @@ -81,4 +77,4 @@ L(L1:) movel MEM_POSTINC(s1_ptr),R(d3) moveml MEM_POSTINC(sp),R(d2)-R(d5) rts -EPILOG(__mpn_submul_1) +END(__mpn_submul_1) -- cgit v1.2.3