(JUMPTARGET): New macro; use name@PLT #ifdef PIC.
authorroland <roland>
Sat, 22 Jul 1995 10:26:55 +0000 (10:26 +0000)
committerroland <roland>
Sat, 22 Jul 1995 10:26:55 +0000 (10:26 +0000)
(PSEUDO): Use JUMPTARGET(syscall_error) in jump insn.

sysdeps/unix/i386/sysdep.h

index eb9d7f0..4e4b6e6 100644 (file)
@@ -45,7 +45,13 @@ Cambridge, MA 02139, USA.  */
   .globl syscall_error;                                                              \
   ENTRY (name)                                                               \
   DO_CALL (syscall_name, args);                                                      \
-  jb syscall_error
+  jb JUMPTARGET(syscall_error)
+
+#ifdef PIC
+#define JUMPTARGET(name) name@PLT
+#else
+#define JUMPTARGET(name) name
+#endif
 
 /* This is defined as a separate macro so that other sysdep.h files
    can include this one and then redefine DO_CALL.  */