This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
meaning if elf section marked SHF_EXECINSTR but not SHF_ALLOC
- From: phi gcc <phi dot gcc at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 19 Apr 2012 09:51:14 +0200
- Subject: meaning if elf section marked SHF_EXECINSTR but not SHF_ALLOC
Hi All,
In linux module elfdump (.ko) I see things like
Idx: 40
Section: .note.GNU-stack
Type: PBIT Flags: ------ E---
I wonder how a section can be marked exec instruction and not to be
allocated ? I guess this has some magic meaning ?
Cheers,
Phi