Bug 24150 - [3.4 only]: HOT_TEXT_SECTION_NAME doesn't have the leading `.'
Summary: [3.4 only]: HOT_TEXT_SECTION_NAME doesn't have the leading `.'
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 3.3.6
: P2 normal
Target Milestone: 4.0.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-30 19:06 UTC by H.J. Lu
Modified: 2006-03-01 04:51 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work: 4.0.0 4.1.0
Known to fail: 3.3.6 3.4.4
Last reconfirmed: 2006-02-26 20:05:23


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2005-09-30 19:06:50 UTC
Gcc 3.3/3.4 has

#ifndef HOT_TEXT_SECTION_NAME
#define HOT_TEXT_SECTION_NAME "text.hot"
#endif

#ifndef UNLIKELY_EXECUTED_TEXT_SECTION_NAME
#define UNLIKELY_EXECUTED_TEXT_SECTION_NAME "text.unlikely"
#endif

It is fixed in

http://gcc.gnu.org/ml/gcc-patches/2004-04/msg00810.html
Comment 1 Andrew Pinski 2005-09-30 19:24:11 UTC
Confirmed.  This is 3.4 only.  The 3.3 branch is no longer maintained.
Comment 2 Gabriel Dos Reis 2005-11-21 02:38:17 UTC
RTH,
do you believe your patch (mentioned in Comment #0) is good for  GCC-3.4.x?

-- Gaby
Comment 3 Gabriel Dos Reis 2005-11-28 10:20:46 UTC
Postpone until 3.4.6
Comment 4 Gabriel Dos Reis 2006-03-01 04:51:33 UTC
Fixed in 4.0.0 and up