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
Confirmed. This is 3.4 only. The 3.3 branch is no longer maintained.
RTH, do you believe your patch (mentioned in Comment #0) is good for GCC-3.4.x? -- Gaby
Postpone until 3.4.6
Fixed in 4.0.0 and up