From 3e888d6918d9c71ce35b0b00fa94e823cbd83455 Mon Sep 17 00:00:00 2001 From: red031000 Date: Thu, 28 May 2020 23:08:12 +0100 Subject: calcrom - count itcm as code and dtcm as data --- .travis/calcrom/calcrom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis/calcrom/calcrom.cpp b/.travis/calcrom/calcrom.cpp index 272bcf17..4feea349 100644 --- a/.travis/calcrom/calcrom.cpp +++ b/.travis/calcrom/calcrom.cpp @@ -102,8 +102,8 @@ int main(int argc, char ** argv) // Analyze sections for (Elf32_Shdr & hdr : shdr) { string shname = shstrtab + hdr.sh_name; - bool is_text = (shname == ".text" || shname == ".init"); - bool is_data = (shname == ".data" || shname == ".rodata" || shname == ".sdata"); + bool is_text = (shname == ".text" || shname == ".init" || shname == ".itcm"); + bool is_data = (shname == ".data" || shname == ".rodata" || shname == ".sdata" || shname == ".dtcm"); size_t size = hdr.sh_size + (hdr.sh_size & 3 ? 4 - (hdr.sh_size & 3) : 0); if (is_text || is_data) { -- cgit v1.2.3