]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[efi] Fix compiler warning in elf2efi.c
authorMichael Brown <mcb30@ipxe.org>
Sat, 21 Apr 2012 07:02:15 +0000 (08:02 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sat, 21 Apr 2012 07:05:24 +0000 (08:05 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/util/elf2efi.c

index c8df22e1dbf718c5bd9f390ee4e1b8c214e5bae7..fc6bef37e81a72130f4ae3bedf7d593fb56adf11 100644 (file)
@@ -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 */