summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-10-18 05:47:53 +0000
committerRoland McGrath <roland@gnu.org>1995-10-18 05:47:53 +0000
commitcabcc273c218a247ffecb03a067b80857a353cf4 (patch)
treef596fd472c35a9f878a935811017b20d0b260fc6
parentf2149f697a3a5339a30dd6931864a7f5f6904085 (diff)
Tue Oct 17 23:00:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/mach/_strerror.c: Include stdio-common/_itoa.h instead of stdio/_itoa.h. Tue Oct 17 19:51:17 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> * sysdeps/unix/sysv/linux/i386/stat.S [PIC] (__stat): Set GOT register %ebx before calling __xstat through PLT. * sysdeps/unix/sysv/linux/i386/sysdep.S: Fix typo in comment. * sysdeps/unix/sysv/linux/sigset.h: Remove file. * hurd/hurdsock.c: Include stdio-common/_itoa.h instead of stdio/_itoa.h. * hurd/hurdlookup.c: Likewise.
-rw-r--r--ChangeLog18
-rw-r--r--hurd/hurdlookup.c2
-rw-r--r--hurd/hurdsock.c2
-rw-r--r--sysdeps/mach/_strerror.c2
-rw-r--r--sysdeps/unix/sysv/linux/i386/stat.S9
-rw-r--r--sysdeps/unix/sysv/linux/i386/sysdep.S2
-rw-r--r--sysdeps/unix/sysv/linux/sigset.h1
7 files changed, 31 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index b5eddcbe30..c920ff44f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,23 @@
+Tue Oct 17 23:00:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
+
+ * sysdeps/mach/_strerror.c: Include stdio-common/_itoa.h instead
+ of stdio/_itoa.h.
+
+Tue Oct 17 19:51:17 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
+
+ * sysdeps/unix/sysv/linux/i386/stat.S [PIC] (__stat): Set GOT
+ register %ebx before calling __xstat through PLT.
+
+ * sysdeps/unix/sysv/linux/i386/sysdep.S: Fix typo in comment.
+
+ * sysdeps/unix/sysv/linux/sigset.h: Remove file.
+
Tue Oct 17 01:21:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
+ * hurd/hurdsock.c: Include stdio-common/_itoa.h instead of
+ stdio/_itoa.h.
+ * hurd/hurdlookup.c: Likewise.
+
* hurd/hurd/signal.h: Declare hurd_preempt_signals and
hurd_unpreempt_signals.
diff --git a/hurd/hurdlookup.c b/hurd/hurdlookup.c
index cb815baf7d..bc3366cdf5 100644
--- a/hurd/hurdlookup.c
+++ b/hurd/hurdlookup.c
@@ -21,7 +21,7 @@ Cambridge, MA 02139, USA. */
#include <string.h>
#include <limits.h>
#include <fcntl.h>
-#include "stdio/_itoa.h"
+#include "stdio-common/_itoa.h"
#include <hurd/term.h>
diff --git a/hurd/hurdsock.c b/hurd/hurdsock.c
index 4dc6793535..a623270c3c 100644
--- a/hurd/hurdsock.c
+++ b/hurd/hurdsock.c
@@ -24,7 +24,7 @@ Cambridge, MA 02139, USA. */
#include <string.h>
#include <hurd/paths.h>
#include <stdio.h>
-#include "stdio/_itoa.h"
+#include "stdio-common/_itoa.h"
#include <cthreads.h> /* For `struct mutex'. */
#include "hurdmalloc.h" /* XXX */
diff --git a/sysdeps/mach/_strerror.c b/sysdeps/mach/_strerror.c
index 8754f4c047..82d83a048f 100644
--- a/sysdeps/mach/_strerror.c
+++ b/sysdeps/mach/_strerror.c
@@ -20,7 +20,7 @@ Cambridge, MA 02139, USA. */
#include <string.h>
#include <mach/error.h>
#include <errorlib.h>
-#include "../stdio/_itoa.h"
+#include "../stdio-common/_itoa.h"
/* Return a string describing the errno code in ERRNUM. */
char *
diff --git a/sysdeps/unix/sysv/linux/i386/stat.S b/sysdeps/unix/sysv/linux/i386/stat.S
index 73204bf254..5902c21eb2 100644
--- a/sysdeps/unix/sysv/linux/i386/stat.S
+++ b/sysdeps/unix/sysv/linux/i386/stat.S
@@ -28,11 +28,20 @@ Cambridge, MA 02139, USA. */
ENTRY (__stat)
movl 8(%esp), %eax
movl 4(%esp), %ecx
+#ifdef PIC
+ pushl %ebx
+ call 0f
+0: popl %ebx
+ addl $_GLOBAL_OFFSET_TABLE_+[.-0b], %ebx
+#endif
pushl %eax
pushl %ecx
pushl $_STAT_VER /* Push extra first arg to syscall. */
call JUMPTARGET(__xstat)/* Jump to xstat implementation. */
addl $12, %esp
+#ifdef PIC
+ popl %ebx
+#endif
ret
weak_alias (__stat, stat)
diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.S b/sysdeps/unix/sysv/linux/i386/sysdep.S
index b873c958bb..5bbe3b745d 100644
--- a/sysdeps/unix/sysv/linux/i386/sysdep.S
+++ b/sysdeps/unix/sysv/linux/i386/sysdep.S
@@ -33,7 +33,7 @@ __syscall_error:
`errno' variable (I don't know why, ask Roland), we have to define
it somewhere else.
- ...and this please is here. */
+ ...and this place is here. */
.data
.globl errno
errno:
diff --git a/sysdeps/unix/sysv/linux/sigset.h b/sysdeps/unix/sysv/linux/sigset.h
deleted file mode 100644
index e9bbb9652a..0000000000
--- a/sysdeps/unix/sysv/linux/sigset.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/generic/sigset.h>