mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
Tue May 28 13:11:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* Makerules (sed-remove-objpfx): Avoid extra space in regexp due to continuation line. * sysdeps/unix/sysv/linux/i386/socket.S: Fix off-by-one error in setting %ecx to 2nd syscall arg: we have pushed nothing, so function args are found at 4(%esp), not 8(%esp).
This commit is contained in:
parent
13a0be8823
commit
215dbbb150
@ -1,3 +1,12 @@
|
|||||||
|
Tue May 28 13:11:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
|
||||||
|
|
||||||
|
* Makerules (sed-remove-objpfx): Avoid extra space in regexp due to
|
||||||
|
continuation line.
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/i386/socket.S: Fix off-by-one error in
|
||||||
|
setting %ecx to 2nd syscall arg: we have pushed nothing, so function
|
||||||
|
args are found at 4(%esp), not 8(%esp).
|
||||||
|
|
||||||
Mon May 27 10:10:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
|
Mon May 27 10:10:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
|
||||||
|
|
||||||
* Makefile ($(includedir)/stubs.h): Add missing backslash.
|
* Makefile ($(includedir)/stubs.h): Add missing backslash.
|
||||||
|
@ -281,9 +281,11 @@ $(sed-remove-objpfx) > $(@:.d=.T)
|
|||||||
mv -f $(@:.d=.T) $@
|
mv -f $(@:.d=.T) $@
|
||||||
endef
|
endef
|
||||||
ifneq (,$(objpfx))
|
ifneq (,$(objpfx))
|
||||||
sed-remove-objpfx = -e 's@ $(subst .,\.,\
|
# Continuation lines here are dangerous because they introduce spaces!
|
||||||
$(subst @,\@,$(objpfx)))@ $$(objpfx)@g' \
|
define sed-remove-objpfx
|
||||||
-e 's@^$(subst .,\.,$(subst @,\@,$(objpfx)))@$$(objpfx)@g'
|
-e 's@ $(subst .,\.,$(subst @,\@,$(objpfx)))@ $$(objpfx)@g' \
|
||||||
|
-e 's@^$(subst .,\.,$(subst @,\@,$(objpfx)))@$$(objpfx)@g'
|
||||||
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Figure out the source filenames in this directory.
|
# Figure out the source filenames in this directory.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1995 Free Software Foundation, Inc.
|
/* Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -43,7 +43,7 @@ ENTRY (P(__,socket))
|
|||||||
|
|
||||||
/* Use ## so `socket' is a separate token that might be #define'd. */
|
/* Use ## so `socket' is a separate token that might be #define'd. */
|
||||||
movl $P(SOCKOP_,socket), %ebx /* Subcode is first arg to syscall. */
|
movl $P(SOCKOP_,socket), %ebx /* Subcode is first arg to syscall. */
|
||||||
lea 8(%esp), %ecx /* Address of args is 2nd arg. */
|
lea 4(%esp), %ecx /* Address of args is 2nd arg. */
|
||||||
|
|
||||||
/* Do the system call trap. */
|
/* Do the system call trap. */
|
||||||
int $0x80
|
int $0x80
|
||||||
|
Loading…
Reference in New Issue
Block a user