This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
XCOFF branch probabilities
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 05 Sep 2002 12:52:52 -0400
- Subject: XCOFF branch probabilities
The fix to rs6000_xcoff_asm_named_section should allow branch
probability named sections to work correctly now.
David
* config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
(UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
Index: xcoff.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/rs6000/xcoff.h,v
retrieving revision 1.33
diff -c -p -r1.33 xcoff.h
*** xcoff.h 29 Aug 2002 21:40:17 -0000 1.33
--- xcoff.h 5 Sep 2002 16:47:45 -0000
*************** toc_section () \
*** 406,413 ****
/* Output before instructions. */
#define TEXT_SECTION_ASM_OP "\t.csect .text[PR]"
- #define HOT_TEXT_SECTION_NAME ".text[PR]"
- #define UNLIKELY_EXECUTED_TEXT_SECTION_NAME ".text[PR]"
/* Output before writable data.
Align entire section to BIGGEST_ALIGNMENT. */
--- 406,411 ----