Make sure VSA is linked as ELF32 for i386 (instead of whatever the compiler considers...
authorPatrick Georgi <patrick.georgi@coresystems.de>
Mon, 7 Jun 2010 14:09:41 +0000 (14:09 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Mon, 7 Jun 2010 14:09:41 +0000 (14:09 +0000)
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5617 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/arch/i386/Makefile.inc

index f308fa029be6ea83eeaaea2d1ac4a43c25bba01a..fe0be9be6964188689035538adb4efbc2a7b7ec8 100644 (file)
@@ -58,7 +58,7 @@ endif
 ifeq ($(CONFIG_GEODE_VSA_FILE),y)
        @printf "    VSA        $(CONFIG_VSA_FILENAME)\n"
        $(OBJCOPY) --set-start 0x20 --adjust-vma 0x60000 -I binary -O elf32-i386 -B i386 $(CONFIG_VSA_FILENAME) $(obj)/vsa.o
-       $(LD) -e 0x60020 --section-start .data=0x60000 $(obj)/vsa.o -o $(obj)/vsa.elf
+       $(LD) -m elf_i386 -e 0x60020 --section-start .data=0x60000 $(obj)/vsa.o -o $(obj)/vsa.elf
        $(CBFSTOOL) $@.tmp add-stage $(obj)/vsa.elf vsa
 endif
        mv $@.tmp $@