Separate output sections for selected text section prefixes to enable TLB optimizations and for readablilty.
I committed a patch to gold linker recently to do this although that was via a flag. Talking to Rui offline, he suggested I make this the default. This is useful for the following reasons:
- We have tools to map specific code to huge pages and we do not want to do this for unlikely executed code, improves huge page TLB.
- We also munlock code that is unlikely executed and it is easier to find it with this.
- This is also useful or code layout verification.
Is this alright?