From: Michael Brown Date: Sat, 21 Apr 2012 07:02:15 +0000 (+0100) Subject: [efi] Fix compiler warning in elf2efi.c X-Git-Tag: v1.20.1~1836 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b0305e285b545c0db337d75fc9611ef2e930206;p=thirdparty%2Fipxe.git [efi] Fix compiler warning in elf2efi.c Signed-off-by: Michael Brown --- diff --git a/src/util/elf2efi.c b/src/util/elf2efi.c index c8df22e1d..fc6bef37e 100644 --- a/src/util/elf2efi.c +++ b/src/util/elf2efi.c @@ -405,6 +405,10 @@ static struct pe_section * process_section ( bfd *bfd, EFI_IMAGE_SCN_MEM_WRITE ); applicable_start = &data_mid; applicable_end = &data_end; + } else { + eprintf ( "Unrecognised characteristics %#lx for section %s\n", + flags, section->name ); + exit ( 1 ); } /* Copy in section contents */