]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-08-30 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Sat, 30 Aug 2008 17:51:24 +0000 (17:51 +0000)
committerrobertmh <robertmh@localhost>
Sat, 30 Aug 2008 17:51:24 +0000 (17:51 +0000)
        * kern/i386/pc/startup.S (multiboot_header): Force 4-byte alignment
        as required by Multiboot spec (it was already 4-byte aligned, but
        only by chance).

ChangeLog
kern/i386/pc/startup.S

index 687db986b1e1601fd1ea281a4e1ddaa753e70dd7..ab0ebc1f4efec1e4ae7c02e956069786222736af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-08-30  Robert Millan  <rmh@aybabtu.com>
+
+       * kern/i386/pc/startup.S (multiboot_header): Force 4-byte alignment
+       as required by Multiboot spec (it was already 4-byte aligned, but
+       only by chance).
+
 2008-08-29  Pavel Roskin  <proski@gnu.org>
 
        * kern/powerpc/ieee1275/crt0.S: Rename to ...
index 197c447e3a26a5af8229db68291ed92df798b2a1..18f61d801c15b4a3e1859078a24b61a013b8a697 100644 (file)
@@ -110,6 +110,7 @@ VARIABLE(grub_prefix)
  * This uses the a.out kludge to load raw binary to the area starting at 1MB,
  * and relocates itself after loaded.
  */
+       .p2align        2       /* force 4-byte alignment */
 multiboot_header:
        /* magic */
        .long   0x1BADB002