https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95095
--- Comment #3 from Fangrui Song <i at maskray dot me> --- (In reply to Segher Boessenkool from comment #2) > Can't we use ".text%name" for -ffunction-sections, like we did originally, > in 1996? See cf4403481dd6. This does not conflict with other section > names, and does not have all the problems you get from doing anything that > is not a simple prefix. A function named 'foo' compiles to '.text%foo'? It might have been better to avoid conflicts with '.text.startup' '.text.hot' etc but now such a change would just inconvenience users (think of various Linux kernel linker script fragments). .text%name does not address -fno-unique-section-names.