PR tree-optimization/44716
* config/ia64/hpux.h (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
(HOT_TEXT_SECTION_NAME): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164891
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-10-01 Steve Ellcey <sje@cup.hp.com>
+
+ PR tree-optimization/44716
+ * config/ia64/hpux.h (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
+ (HOT_TEXT_SECTION_NAME): Define.
+
2010-10-01 Nick Clifton <nickc@redhat.com>
* common.opt: Add -fcombine-stack-adjustments.
#undef HANDLE_PRAGMA_PACK_PUSH_POP
#define HANDLE_PRAGMA_PACK_PUSH_POP
+
+/* The HP-UX linker has a bug that causes calls from functions in
+ .text.unlikely to functions in .text to cause a segfault. Until
+ it is fixed, prevent code from being put into .text.unlikely or
+ .text.hot. */
+
+#undef UNLIKELY_EXECUTED_TEXT_SECTION_NAME
+#define UNLIKELY_EXECUTED_TEXT_SECTION_NAME ".text"
+
+#undef HOT_TEXT_SECTION_NAME
+#define HOT_TEXT_SECTION_NAME ".text"