aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1998-03-09 03:20:41 +0000
committerAndreas Schwab <schwab@suse.de>1998-03-09 03:20:41 +0000
commit2bc91a733c0241e772de9d395c1f7eb42577b0aa (patch)
tree635fb8f919f5db5b55a03f0be7684c921508b7b6
parent267e36967ecd5c17683b9a6cf230a6ce8fb81371 (diff)
downloadglibc-2bc91a733c0241e772de9d395c1f7eb42577b0aa.tar
glibc-2bc91a733c0241e772de9d395c1f7eb42577b0aa.tar.gz
glibc-2bc91a733c0241e772de9d395c1f7eb42577b0aa.tar.bz2
glibc-2bc91a733c0241e772de9d395c1f7eb42577b0aa.zip
* sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
Readd lost negate. * sysdeps/m68k/sysdep.h: Remove the stabs stuff again. Mon Mar 9 12:16:42 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER): Readd lost negate. * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/m68k/sysdep.h21
-rw-r--r--sysdeps/unix/sysv/linux/m68k/sysdep.h1
3 files changed, 9 insertions, 20 deletions
diff --git a/ChangeLog b/ChangeLog
index ad42a58981..606f1bfd3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Mon Mar 9 12:16:42 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
+ Readd lost negate.
+
+ * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
+
1998-03-09 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-support.c: Add definition of _dl_debug_impcalls.
diff --git a/sysdeps/m68k/sysdep.h b/sysdeps/m68k/sysdep.h
index 5998f4218b..58789f77b5 100644
--- a/sysdeps/m68k/sysdep.h
+++ b/sysdeps/m68k/sysdep.h
@@ -50,33 +50,14 @@
incomplete stabs information. Fake some entries here which specify
the current source file. */
#define ENTRY(name) \
- STABS_CURRENT_FILE1(""); \
- STABS_CURRENT_FILE(name); \
.globl C_SYMBOL_NAME(name); \
ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function); \
.align ALIGNARG(2); \
- STABS_FUN(name); \
C_LABEL(name) \
CALL_MCOUNT
#undef END
-#define END(name) \
- ASM_SIZE_DIRECTIVE(name); \
- STABS_FUN_END(name)
-
-/* Remove the following two lines once the gdb bug is fixed. */
-#define STABS_CURRENT_FILE(name) \
- STABS_CURRENT_FILE1 (#name)
-#define STABS_CURRENT_FILE1(name) \
- 1: .stabs name,100,0,0,1b
-/* Emit stabs definition lines. We use F(0,1) and define t(0,1) as `int',
- the same way gcc does it. */
-#define STABS_FUN(name) STABS_FUN1(name, name##:F(0,1))
-#define STABS_FUN1(name, namestr) \
- .stabs "int:t(0,1)=r(0,1);-2147483648;2147483647;",128,0,0,0; \
- .stabs #namestr,36,0,0,name
-#define STABS_FUN_END(name) \
- 1: .stabs "",36,0,0,1b-name
+#define END(name) ASM_SIZE_DIRECTIVE(name)
/* If compiled for profiling, call `_mcount' at the start of each function. */
diff --git a/sysdeps/unix/sysv/linux/m68k/sysdep.h b/sysdeps/unix/sysv/linux/m68k/sysdep.h
index 03360b84f9..4d9249d34d 100644
--- a/sysdeps/unix/sysv/linux/m68k/sysdep.h
+++ b/sysdeps/unix/sysv/linux/m68k/sysdep.h
@@ -61,6 +61,7 @@
#ifdef _LIBC_REENTRANT
#define SYSCALL_ERROR_HANDLER \
syscall_error: \
+ neg.l %d0; \
move.l %d0, -(%sp); \
jbsr __errno_location@PLTPC; \
move.l (%sp)+, (%a0); \