From 2d0db54e65d1262d29117cff24aeaf7e72fa32c0 Mon Sep 17 00:00:00 2001 From: James Benton Date: Mon, 11 Jun 2018 16:46:35 +0100 Subject: [PATCH] elf2rpl: Bump up cafe SDK version in file info sections. Matches latest SDK version. --- tools/elf2rpl/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/elf2rpl/main.cpp b/tools/elf2rpl/main.cpp index d5514942..2edafab0 100644 --- a/tools/elf2rpl/main.cpp +++ b/tools/elf2rpl/main.cpp @@ -156,8 +156,8 @@ generateFileInfoSection(ElfFile &file, info.minVersion = 0x5078u; info.compressionLevel = -1; info.fileInfoPad = 0u; - info.cafeSdkVersion = 0x51BAu; - info.cafeSdkRevision = 0xCCD1u; + info.cafeSdkVersion = 0x5335u; + info.cafeSdkRevision = 0x10D4Bu; info.tlsAlignShift = uint16_t { 0u }; info.tlsModuleIndex = uint16_t { 0u }; info.runtimeFileInfoSize = 0u; @@ -555,6 +555,7 @@ deflateSections(ElfFile &file) return true; } + /** * Calculate section file offsets. *