aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-07-23 00:58:43 +0000
committerRoland McGrath <roland@gnu.org>1995-07-23 00:58:43 +0000
commitd7e16e9e8348b8bcdb805f0c25baf80b057f2b59 (patch)
tree617f06b300cea1d906b98f7b2f58b17585ca4172 /sysdeps/mach
parent680469021c02fbc12faa3909571e064c9789d525 (diff)
downloadglibc-d7e16e9e8348b8bcdb805f0c25baf80b057f2b59.tar
glibc-d7e16e9e8348b8bcdb805f0c25baf80b057f2b59.tar.gz
glibc-d7e16e9e8348b8bcdb805f0c25baf80b057f2b59.tar.bz2
glibc-d7e16e9e8348b8bcdb805f0c25baf80b057f2b59.zip
Sat Jul 22 20:53:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-950723cvs/libc-950722
* sysdeps/unix/i386/sysdep.h (JUMPTARGET): Use ## to avoid space before @PLT. * sysdeps/mach/i386/sysdep.h (JUMPTARGET): New macro. * sysdeps/i386/bsd-_setjmp.S: Use JUMPTARGET macro in jmp insn. * sysdeps/i386/bsd-setjmp.S: Likewise.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/i386/sysdep.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/mach/i386/sysdep.h b/sysdeps/mach/i386/sysdep.h
index 5b4246e016..f467fef24b 100644
--- a/sysdeps/mach/i386/sysdep.h
+++ b/sysdeps/mach/i386/sysdep.h
@@ -51,4 +51,12 @@ Cambridge, MA 02139, USA. */
#define STACK_GROWTH_DOWN
+
+#ifdef PIC
+#define JUMPTARGET(name) name##@PLT
+#else
+#define JUMPTARGET(name) name
+#endif
+
+
#include_next <sysdep.h>