https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113161
--- Comment #2 from Sergey Kirdyankin <kirdyankinsp at gmail dot com> --- (In reply to Andrew Pinski from comment #1) > The Linux kernel handles this without an attribute via an external program > that checks the section after the compiling. Maybe for your use case you > could reuse that ... please tell me what is the name of this program