diff options
author | Roland McGrath <roland@gnu.org> | 1996-05-28 17:54:52 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-05-28 17:54:52 +0000 |
commit | 215dbbb1508bd6b86211112dd5ddaf9bd2290690 (patch) | |
tree | db84d11651cb64a91493de09306261e61698d622 /sysdeps/unix/sysv/linux/i386 | |
parent | 13a0be88230585460587b749e6c7cccfc5339943 (diff) | |
download | glibc-215dbbb1508bd6b86211112dd5ddaf9bd2290690.tar.gz glibc-215dbbb1508bd6b86211112dd5ddaf9bd2290690.tar.xz glibc-215dbbb1508bd6b86211112dd5ddaf9bd2290690.zip |
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).
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/socket.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/socket.S b/sysdeps/unix/sysv/linux/i386/socket.S index 5a7d774175..39db6aa50a 100644 --- a/sysdeps/unix/sysv/linux/i386/socket.S +++ b/sysdeps/unix/sysv/linux/i386/socket.S @@ -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. 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. */ 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. */ int $0x80 |