mirror of git://sourceware.org/git/glibc.git
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.
This commit is contained in:
parent
f2149f697a
commit
cabcc273c2
18
ChangeLog
18
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>
|
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/hurd/signal.h: Declare hurd_preempt_signals and
|
||||||
hurd_unpreempt_signals.
|
hurd_unpreempt_signals.
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Cambridge, MA 02139, USA. */
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include "stdio/_itoa.h"
|
#include "stdio-common/_itoa.h"
|
||||||
#include <hurd/term.h>
|
#include <hurd/term.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ Cambridge, MA 02139, USA. */
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <hurd/paths.h>
|
#include <hurd/paths.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "stdio/_itoa.h"
|
#include "stdio-common/_itoa.h"
|
||||||
#include <cthreads.h> /* For `struct mutex'. */
|
#include <cthreads.h> /* For `struct mutex'. */
|
||||||
#include "hurdmalloc.h" /* XXX */
|
#include "hurdmalloc.h" /* XXX */
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ Cambridge, MA 02139, USA. */
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <mach/error.h>
|
#include <mach/error.h>
|
||||||
#include <errorlib.h>
|
#include <errorlib.h>
|
||||||
#include "../stdio/_itoa.h"
|
#include "../stdio-common/_itoa.h"
|
||||||
|
|
||||||
/* Return a string describing the errno code in ERRNUM. */
|
/* Return a string describing the errno code in ERRNUM. */
|
||||||
char *
|
char *
|
||||||
|
|
|
@ -28,11 +28,20 @@ Cambridge, MA 02139, USA. */
|
||||||
ENTRY (__stat)
|
ENTRY (__stat)
|
||||||
movl 8(%esp), %eax
|
movl 8(%esp), %eax
|
||||||
movl 4(%esp), %ecx
|
movl 4(%esp), %ecx
|
||||||
|
#ifdef PIC
|
||||||
|
pushl %ebx
|
||||||
|
call 0f
|
||||||
|
0: popl %ebx
|
||||||
|
addl $_GLOBAL_OFFSET_TABLE_+[.-0b], %ebx
|
||||||
|
#endif
|
||||||
pushl %eax
|
pushl %eax
|
||||||
pushl %ecx
|
pushl %ecx
|
||||||
pushl $_STAT_VER /* Push extra first arg to syscall. */
|
pushl $_STAT_VER /* Push extra first arg to syscall. */
|
||||||
call JUMPTARGET(__xstat)/* Jump to xstat implementation. */
|
call JUMPTARGET(__xstat)/* Jump to xstat implementation. */
|
||||||
addl $12, %esp
|
addl $12, %esp
|
||||||
|
#ifdef PIC
|
||||||
|
popl %ebx
|
||||||
|
#endif
|
||||||
ret
|
ret
|
||||||
|
|
||||||
weak_alias (__stat, stat)
|
weak_alias (__stat, stat)
|
||||||
|
|
|
@ -33,7 +33,7 @@ __syscall_error:
|
||||||
`errno' variable (I don't know why, ask Roland), we have to define
|
`errno' variable (I don't know why, ask Roland), we have to define
|
||||||
it somewhere else.
|
it somewhere else.
|
||||||
|
|
||||||
...and this please is here. */
|
...and this place is here. */
|
||||||
.data
|
.data
|
||||||
.globl errno
|
.globl errno
|
||||||
errno:
|
errno:
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
#include <sysdeps/generic/sigset.h>
|
|
Loading…
Reference in New Issue