aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/m68k/m68020
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1998-03-06 01:48:50 +0000
committerAndreas Schwab <schwab@suse.de>1998-03-06 01:48:50 +0000
commit9f2990dbbf39786d7396caf65006093fc4f52b2e (patch)
tree9e37069038c0fbda2529658a564bf67c7fa26cdb /sysdeps/m68k/m68020
parentb5efde2fd3c061e546b0012e7cf6d6f8e74c6960 (diff)
downloadglibc-9f2990dbbf39786d7396caf65006093fc4f52b2e.tar
glibc-9f2990dbbf39786d7396caf65006093fc4f52b2e.tar.gz
glibc-9f2990dbbf39786d7396caf65006093fc4f52b2e.tar.bz2
glibc-9f2990dbbf39786d7396caf65006093fc4f52b2e.zip
* 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 <schwab@issan.informatik.uni-dortmund.de> * 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.
Diffstat (limited to 'sysdeps/m68k/m68020')
-rw-r--r--sysdeps/m68k/m68020/addmul_1.S10
-rw-r--r--sysdeps/m68k/m68020/mul_1.S10
-rw-r--r--sysdeps/m68k/m68020/submul_1.S10
3 files changed, 9 insertions, 21 deletions
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)