summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/setjmp.S8
-rw-r--r--sysdeps/unix/sysv/linux/tcgetpgrp.c1
-rw-r--r--sysdeps/unix/sysv/linux/tcsetpgrp.c1
3 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/i386/setjmp.S b/sysdeps/i386/setjmp.S
index ccb7147606..498a925b00 100644
--- a/sysdeps/i386/setjmp.S
+++ b/sysdeps/i386/setjmp.S
@@ -1,5 +1,5 @@
/* setjmp for i386.
-Copyright (C) 1995 Free Software Foundation, Inc.
+Copyright (C) 1995, 1996 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,6 +21,12 @@ Cambridge, MA 02139, USA. */
#define _ASM
#include <jmp_buf.h>
+ /* Binary compatibility entry point. */
+ENTRY (__setjmp)
+ popl %eax /* Pop return address. */
+ pushl $0 /* Push zero argument. */
+ pushl %eax /* Push back return address. */
+
ENTRY (__sigsetjmp)
movl 4(%esp), %eax /* User's jmp_buf in %eax. */
/* Save registers. */
diff --git a/sysdeps/unix/sysv/linux/tcgetpgrp.c b/sysdeps/unix/sysv/linux/tcgetpgrp.c
new file mode 100644
index 0000000000..d899fc78f8
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/tcgetpgrp.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/bsd/tcgetpgrp.c>
diff --git a/sysdeps/unix/sysv/linux/tcsetpgrp.c b/sysdeps/unix/sysv/linux/tcsetpgrp.c
new file mode 100644
index 0000000000..e4d4833901
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/tcsetpgrp.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/bsd/tcsetpgrp.c>