diff options
author | Michael Brown <mcb30@ipxe.org> | 2012-04-21 08:02:15 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2012-04-21 08:05:24 +0100 |
commit | 8b0305e285b545c0db337d75fc9611ef2e930206 (patch) | |
tree | ab7277354e9cd3550d1ff629be2ccb5e4ee45b1e /src/util/elf2efi.c | |
parent | d3d87a2d92fef33d5ac93aaca38170b9666c7378 (diff) | |
download | ipxe-8b0305e285b545c0db337d75fc9611ef2e930206.tar.gz |
[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.c | 4 |
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 */ |