In GCC/MinGW when I map a function to a specific section can I expect the sections Characteristics
bits 5, 9 and 30(IMAGE_SCN_CNT_CODE | IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ) to be set or always set? What about for an all variable mapped section?
I just wanted to know if I could confirm a section by checking the DWORD Characteristics along with the name. I could check with a hex-editor, but not sure if there was an official statement on it, in case the results were to suddenly differ with a new version of the compiler(or similar case).
MosaicFuneral 812 Nearly a Posting Virtuoso
Salem 5,199 Posting Sage
MosaicFuneral commented: Well, thanks. +2
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.