This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/723] New: clone should align stack to 16 bytes
- From: "roland at gnu dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 16 Feb 2005 04:16:59 -0000
- Subject: [Bug libc/723] New: clone should align stack to 16 bytes
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
This trunk change should go into 2.3 as well.
2004-12-21 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
calling fn is 16 byte aligned.
* sysdeps/i386/tst-stack-align.h: New file.
nptl/
* sysdeps/i386/tls.h (CALL_THREAD_FCT): Maintain 16 byte alignment of
%esp.
* Makefile (tests): Add tst-align2.
* tst-align2.c: New test.
* sysdeps/i386/Makefile (CFLAGS-tst-align{,2}.c): Add
-mpreferred-stack-boundary=4.
linuxthreads/
* Makefile (tests): Add tst-align.
* tst-align.c: New test.
* sysdeps/i386/Makefile (CFLAGS-tst-align.c): Add
-mpreferred-stack-boundary=4.
--
Summary: clone should align stack to 16 bytes
Product: glibc
Version: 2.3.4
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: roland at gnu dot org
ReportedBy: roland at gnu dot org
CC: glibc-bugs at sources dot redhat dot com
GCC host triplet: i386-*-linux
http://sources.redhat.com/bugzilla/show_bug.cgi?id=723
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.