From: Steve Ellcey Date: Fri, 1 Oct 2010 17:05:45 +0000 (+0000) Subject: re PR middle-end/44716 (Bootstrap fails with partial inlining (r161382)) X-Git-Tag: releases/gcc-4.6.0~3948 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1cc2d70bee71210119a36b05de0621ac8442fd3b;p=thirdparty%2Fgcc.git re PR middle-end/44716 (Bootstrap fails with partial inlining (r161382)) 2010-10-01 Steve Ellcey PR tree-optimization/44716 * config/ia64/hpux.h (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define. (HOT_TEXT_SECTION_NAME): Define. From-SVN: r164891 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 05fd2c25fcbb..f579ba3a81e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-10-01 Steve Ellcey + + PR tree-optimization/44716 + * config/ia64/hpux.h (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define. + (HOT_TEXT_SECTION_NAME): Define. + 2010-10-01 Nick Clifton * common.opt: Add -fcombine-stack-adjustments. diff --git a/gcc/config/ia64/hpux.h b/gcc/config/ia64/hpux.h index 4a3a40f4bedc..47bbd1e463b1 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"