about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-06-18 17:29:11 +0000
committerUlrich Drepper <drepper@redhat.com>1998-06-18 17:29:11 +0000
commit3f121ed386d60de3bdf1dd054ba742b4ae17e7a1 (patch)
tree7269a236c0c4383a553031df4754543c1a7c0bf2
parent5ad49c070734c57f35cfe045572fb22158870c78 (diff)
downloadglibc-3f121ed386d60de3bdf1dd054ba742b4ae17e7a1.tar.gz
glibc-3f121ed386d60de3bdf1dd054ba742b4ae17e7a1.tar.xz
glibc-3f121ed386d60de3bdf1dd054ba742b4ae17e7a1.zip
Update.
1998-06-18  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/i386/elf/start.S2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f6592af271..f07d70177f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
+
+	* sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
+
 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
 
 	* libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
diff --git a/sysdeps/i386/elf/start.S b/sysdeps/i386/elf/start.S
index 019e749a6f..b5b5f013ef 100644
--- a/sysdeps/i386/elf/start.S
+++ b/sysdeps/i386/elf/start.S
@@ -53,6 +53,8 @@ _start:
 	   boundary to avoid penalties from misaligned accesses.  Thanks
 	   to Edward Seidl <seidl@janed.com> for pointing this out.  */
 	andl $0xfffffff8, %esp
+	pushl %eax		/* Push garbage because we allocate
+				   28 more bytes.  */
 
 	/* Provide the highest stack address to the user code (for stacks
 	   which grow downwards).  */