Tool/software: TI C/C++ Compiler
I am parsing section headers trying to distinguish between COPY and NOLOAD sections. From http://processors.wiki.ti.com/index.php/Linker_Special_Section_Types, it seems to me that COPY sections should have SHF_ALLOC set to 0 because space is not allocated in memory for these sections, while NOLOADs should have 1 because space is allocated for them. But, I can see that both have SHF_ALLOC set to 0.
Am I misinterpreting SHF_ALLOC? The tools are Arm tools 18.1.1. Is there any other way to figure out the difference between these section types?