diff options
| author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-08-27 11:49:39 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2014-08-27 11:49:39 -0400 |
| commit | 4ca60879150d3290b616044b5556116586983cdd (patch) | |
| tree | 5d0aa843d82884f76197c805547ecbc4cf6278ec /Cryptlib/OpenSSL/crypto/cversion.c | |
| parent | 64508097209970e0df28ed77446a9a816149052a (diff) | |
| download | efi-boot-shim-4ca60879150d3290b616044b5556116586983cdd.tar.gz efi-boot-shim-4ca60879150d3290b616044b5556116586983cdd.zip | |
Handle empty .reloc section in PE/COFF loader
On archs where no EFI aware objcopy is available, the generated PE/COFF
header contains a .reloc section which is completely empty. Handle this by
- returning early from relocate_coff() with EFI_SUCCESS,
- ignoring discardable sections in the section loader.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/cversion.c')
0 files changed, 0 insertions, 0 deletions
