From 8b0305e285b545c0db337d75fc9611ef2e930206 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 21 Apr 2012 08:02:15 +0100 Subject: [PATCH] [efi] Fix compiler warning in elf2efi.c Signed-off-by: Michael Brown --- src/util/elf2efi.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/util/elf2efi.c b/src/util/elf2efi.c index c8df22e1..fc6bef37 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 */