2008-08-04 Robert Millan <rmh@aybabtu.com>

* conf/i386-coreboot.rmk (COMMON_ASFLAGS, COMMON_CFLAGS)
        (COMMON_LDFLAGS): Harmonize with i386-pc version (fixes a code
        corruption problem).
This commit is contained in:
robertmh 2008-08-04 11:38:45 +00:00
parent a9053f8f5d
commit 5e15ee3d38
3 changed files with 12 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2008-08-04 Robert Millan <rmh@aybabtu.com>
* conf/i386-coreboot.rmk (COMMON_ASFLAGS, COMMON_CFLAGS)
(COMMON_LDFLAGS): Harmonize with i386-pc version (fixes a code
corruption problem).
2008-08-04 Robert Millan <rmh@aybabtu.com> 2008-08-04 Robert Millan <rmh@aybabtu.com>
* loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Fix misc * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Fix misc

View file

@ -1,9 +1,9 @@
# -*- makefile -*- # -*- makefile -*-
# Generated by genmk.rb, please don't edit! # Generated by genmk.rb, please don't edit!
COMMON_ASFLAGS = -m32 -nostdinc -fno-builtin COMMON_ASFLAGS = -nostdinc -fno-builtin -m32
COMMON_CFLAGS = -ffreestanding -mrtd -mregparm=3 COMMON_CFLAGS = -fno-builtin -mrtd -mregparm=3 -m32
COMMON_LDFLAGS = -nostdlib -static -lgcc COMMON_LDFLAGS = -m32 -nostdlib
# Used by various components. These rules need to precede them. # Used by various components. These rules need to precede them.
normal/lexer.c_DEPENDENCIES = grub_script.tab.h normal/lexer.c_DEPENDENCIES = grub_script.tab.h

View file

@ -1,8 +1,8 @@
# -*- makefile -*- # -*- makefile -*-
COMMON_ASFLAGS = -m32 -nostdinc -fno-builtin COMMON_ASFLAGS = -nostdinc -fno-builtin -m32
COMMON_CFLAGS = -ffreestanding -mrtd -mregparm=3 COMMON_CFLAGS = -fno-builtin -mrtd -mregparm=3 -m32
COMMON_LDFLAGS = -nostdlib -static -lgcc COMMON_LDFLAGS = -m32 -nostdlib
# Used by various components. These rules need to precede them. # Used by various components. These rules need to precede them.
normal/lexer.c_DEPENDENCIES = grub_script.tab.h normal/lexer.c_DEPENDENCIES = grub_script.tab.h