]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR middle-end/44716 (Bootstrap fails with partial inlining (r161382))
authorSteve Ellcey <sje@cup.hp.com>
Fri, 1 Oct 2010 17:05:45 +0000 (17:05 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Fri, 1 Oct 2010 17:05:45 +0000 (17:05 +0000)
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.

From-SVN: r164891

gcc/ChangeLog
gcc/config/ia64/hpux.h

index 05fd2c25fcbba71727c16e02ad6f6d231eeb662a..f579ba3a81e546d4ef9540b440f8825a923877cf 100644 (file)
@@ -1,3 +1,9 @@
+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.
index 4a3a40f4bedcc68c0f9965b8e56b887d3604f710..47bbd1e463b1c2154a15f0660af030af50fdba93 100644 (file)
@@ -215,3 +215,14 @@ do {                                                               \
 
 #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"