From: Ulrich Drepper Date: Tue, 24 Aug 1999 20:59:51 +0000 (+0000) Subject: Use __syscall_error. X-Git-Tag: glibc-2.16-ports-before-merge~2850 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=61098fa137261cd5b157a3916404b6dd214c3e87;p=thirdparty%2Fglibc.git Use __syscall_error. --- diff --git a/sysdeps/unix/mips/sysdep.h b/sysdeps/unix/mips/sysdep.h index 4514d07c66e..256b0a78cdf 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; \