]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
authorRoland McGrath <roland@gnu.org>
Mon, 1 Jul 1996 22:16:32 +0000 (22:16 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 1 Jul 1996 22:16:32 +0000 (22:16 +0000)
* sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
error handling.  It's safer that way.

sysdeps/unix/alpha/sysdep.h

index 4b3f9aa5d843051dbe20e5d60981f7d73acb2399..72d84047c21b8cb1677f3b7f41c5462230d774d9 100644 (file)
@@ -99,22 +99,12 @@ name/**/:                                   \
 
 #undef PSEUDO_END
 
-#ifdef PIC
-/* When building a shared library, we can use a branch since the text
-   section of the library is much smaller than 4MB.  If we ever break
-   this assumption, the linker will tell us.  */
-# define PSEUDO_END(sym)                       \
-1996:                                          \
-    br         zero, __syscall_error;          \
-    END(sym)
-#else
-# define PSEUDO_END(sym)                       \
+#define PSEUDO_END(sym)                                \
 1996:                                          \
     br         gp, 2f;                         \
 2:  ldgp       gp, 0(gp);                      \
     jmp                zero, __syscall_error;          \
     END(sym)
-#endif
 
 #define r0     v0
 #define r1     a4