This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]