From: Michael Brown Date: Sat, 30 Jun 2007 20:36:54 +0000 (+0100) Subject: Place the actual version string in .data16, rather than just the X-Git-Tag: v0.9.3~349 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1646b40809b7e27aa275d7a62eb9a8dd814b1c3;p=thirdparty%2Fipxe.git Place the actual version string in .data16, rather than just the pointer to it. --- diff --git a/src/arch/i386/image/multiboot.c b/src/arch/i386/image/multiboot.c index a198ef741..a59927c8c 100644 --- a/src/arch/i386/image/multiboot.c +++ b/src/arch/i386/image/multiboot.c @@ -199,7 +199,7 @@ static struct multiboot_info __data16 ( mbinfo ); #define mbinfo __use_data16 ( mbinfo ) /** The multiboot bootloader name */ -static const char * __data16 ( mb_bootloader_name ) = "gPXE " VERSION; +static char __data16_array ( mb_bootloader_name, [] ) = "gPXE " VERSION; #define mb_bootloader_name __use_data16 ( mb_bootloader_name ) /** The multiboot memory map */