1From c0287594239d5af2082cac20817f8e8b11a4b1b2 Mon Sep 17 00:00:00 2001 2From: =?UTF-8?q?Beno=C3=AEt=20Allard?= <benoit.allard@greenbone.net> 3Date: Wed, 5 Apr 2017 14:18:09 +0200 4Subject: [PATCH] memdisk: Force ld output format to 32-bits 5MIME-Version: 1.0 6Content-Type: text/plain; charset=UTF-8 7Content-Transfer-Encoding: 8bit 8 9On toolchains where the default output is x86_64, we need to be 10consistent with the other .o files 11 12Signed-off-by: Benoît Allard <benoit.allard@greenbone.net> 13--- 14 memdisk/Makefile | 2 +- 15 1 file changed, 1 insertion(+), 1 deletion(-) 16 17diff --git a/memdisk/Makefile b/memdisk/Makefile 18index e6557d8..06613ff 100644 19--- a/memdisk/Makefile 20+++ b/memdisk/Makefile 21@@ -78,7 +78,7 @@ memdisk16.o: memdisk16.asm 22 $(NASM) -f bin $(NASMOPT) $(NFLAGS) $(NINCLUDE) -o $@ -l $*.lst $< 23 24 memdisk_%.o: memdisk_%.bin 25- $(LD) -r -b binary -o $@ $< 26+ $(LD) --oformat elf32-i386 -r -b binary -o $@ $< 27 28 memdisk16.elf: $(OBJS16) 29 $(LD) -Ttext 0 -o $@ $^ 30-- 312.7.4 32 33