summaryrefslogtreecommitdiffstats
path: root/src/util/elf2efi.c
diff options
context:
space:
mode:
authorMichael Brown2012-04-21 09:02:15 +0200
committerMichael Brown2012-04-21 09:05:24 +0200
commit8b0305e285b545c0db337d75fc9611ef2e930206 (patch)
treeab7277354e9cd3550d1ff629be2ccb5e4ee45b1e /src/util/elf2efi.c
parent[efi] Update link state in SNP device mode data (diff)
downloadipxe-8b0305e285b545c0db337d75fc9611ef2e930206.tar.gz
ipxe-8b0305e285b545c0db337d75fc9611ef2e930206.tar.xz
ipxe-8b0305e285b545c0db337d75fc9611ef2e930206.zip
[efi] Fix compiler warning in elf2efi.c
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/util/elf2efi.c')
-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 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 */