summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2019-03-30 20:07:20 -0600
committerEvan Lojewski <github@meklort.com>2019-03-30 20:07:20 -0600
commite0a4baa323b9ac202c611007cddb6ae131a57ffb (patch)
treef8013ee1b4d2f941d66d8c911f994b1e7e86c27a /utils
parentbee16598e14a51089d813ee5029f0f513ace7421 (diff)
downloadbcm5719-ortega-e0a4baa323b9ac202c611007cddb6ae131a57ffb.tar.gz
bcm5719-ortega-e0a4baa323b9ac202c611007cddb6ae131a57ffb.zip
Add a quick hack to ape2elf, should be removed in the future.
Diffstat (limited to 'utils')
-rw-r--r--utils/ape2elf/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ape2elf/main.cpp b/utils/ape2elf/main.cpp
index 07f604c..801f4a9 100644
--- a/utils/ape2elf/main.cpp
+++ b/utils/ape2elf/main.cpp
@@ -209,7 +209,7 @@ int main(int argc, char const *argv[])
printf("out_length: 0x%08zX\n", out_length);
printf("out CRC: 0x%08X\n", calculated_crc);
- if(i == 0) continue;
+ if(ape.header.sections == 4 && i == 0) continue;
if(section->flags & APE_SECTION_FLAG_ZERO_ON_FAST_BOOT)
{
bss_sec->set_data((const char*)outBufferPtr, out_length);
OpenPOWER on IntegriCloud