Is it safe to assume that, in the general case, the name of the section containing the user code (not the compiler generated code) is
.text? I spot-checked several ARM, x86 and MIPS binaries (PE and ELF) and it seems to be the case.
I suppose the compiler/linker can be configured to chose a different name. In which cases would one want to change it? Are there known examples (CPU arch, compiler, etc.) where there is no
.text section? What are other frequently used names? Can user code be put in other sections than the