summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/elf2efi.c4
1 files changed, 4 insertions, 0 deletions
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 */