Gcc 3.3/3.4 has #ifndef HOT_TEXT_SECTION_NAME #define HOT_TEXT_SECTION_NAME "text.hot" #endif
#ifndef UNLIKELY_EXECUTED_TEXT_SECTION_NAME #define UNLIKELY_EXECUTED_TEXT_SECTION_NAME "text.unlikely" #endif It is fixed in http://gcc.gnu.org/ml/gcc-patches/2004-04/msg00810.html -- Summary: [3.3/3.4]: HOT_TEXT_SECTION_NAME doesn't have the leading `.' Product: gcc Version: 3.3.6 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hjl at lucon dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24150