summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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). */