aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/ia64
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2010-10-01 17:05:45 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2010-10-01 17:05:45 +0000
commit1cc2d70bee71210119a36b05de0621ac8442fd3b (patch)
tree62e97dec5095e0765e759f7ef708d13f7ed6ecfc /gcc/config/ia64
parent416ccea548bb36677f684e1f88c3239123f741e5 (diff)
downloadgcc-1cc2d70bee71210119a36b05de0621ac8442fd3b.zip
gcc-1cc2d70bee71210119a36b05de0621ac8442fd3b.tar.gz
gcc-1cc2d70bee71210119a36b05de0621ac8442fd3b.tar.bz2
re PR middle-end/44716 (Bootstrap fails with partial inlining (r161382))
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
Diffstat (limited to 'gcc/config/ia64')
-rw-r--r--gcc/config/ia64/hpux.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/config/ia64/hpux.h b/gcc/config/ia64/hpux.h
index 4a3a40f..47bbd1e 100644
--- a/gcc/config/ia64/hpux.h
+++ b/gcc/config/ia64/hpux.h
@@ -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"