about summary refs log tree commit diff
path: root/sysdeps/unix/mips/sysdep.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-24 21:00:04 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-24 21:00:04 +0000
commitdb72c1e46f9b2a0c490ec9968019fc8e3393ba00 (patch)
tree75fedbaf744288f59888ed8cd1457e2949378093 /sysdeps/unix/mips/sysdep.h
parent08c70af087b259e781426ea0729c04305fedcd80 (diff)
downloadglibc-db72c1e46f9b2a0c490ec9968019fc8e3393ba00.tar.gz
glibc-db72c1e46f9b2a0c490ec9968019fc8e3393ba00.tar.xz
glibc-db72c1e46f9b2a0c490ec9968019fc8e3393ba00.zip
Update.
	* sysdeps/unix/mips/sysdep.h: Use __syscall_error.

	* sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
	Patches by Ralf Baechle <ralf@uni-koblenz.de>

1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
Diffstat (limited to 'sysdeps/unix/mips/sysdep.h')
-rw-r--r--sysdeps/unix/mips/sysdep.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/unix/mips/sysdep.h b/sysdeps/unix/mips/sysdep.h
index 4514d07c66..256b0a78cd 100644
--- a/sysdeps/unix/mips/sysdep.h
+++ b/sysdeps/unix/mips/sysdep.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995, 1997, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
@@ -29,13 +29,13 @@
   .ent name,0;								      \
   name##:
 
-/* Note that while it's better structurally, going back to call syscall_error
+/* Note that while it's better structurally, going back to call __syscall_error
    can make things confusing if you're debugging---it looks like it's jumping
    backwards into the previous fn.  */
-#ifdef __PIC__
+#ifdef PIC
  #define PSEUDO(name, syscall_name, args) \
   .align 2;								      \
-  99: la t9,syscall_error;						      \
+  99: la t9,__syscall_error;						      \
   jr t9;								      \
   ENTRY(name)								      \
   .set noreorder;							      \
@@ -49,7 +49,7 @@ syse1:
 #define PSEUDO(name, syscall_name, args) \
   .set noreorder;							      \
   .align 2;								      \
-  99: j syscall_error;							      \
+  99: j __syscall_error;							      \
   ENTRY(name)								      \
   .set noreorder;							      \
   li v0, SYS_##syscall_name;						      \