------- Comment #6 from hjl at lucon dot org 2005-10-05 00:37 ------- I used libstdc++ as an example to show that it isn't unreasonable to have .o files compiled with and without -fffunction-sections. Besides, on my system there is a libstdc++.a. We can just use something like
#define HOT_TEXT_SECTION_NAME ".text..hot" #define UNLIKELY_EXECUTED_TEXT_SECTION_NAME ".text..unlikely" to avoid this issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24201