darwin.h (HOT_TEXT_SECTION_NAME): Define.
authorAndrew Pinski <pinskia@physics.uc.edu>
Fri, 18 Jun 2004 21:12:22 +0000 (21:12 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Fri, 18 Jun 2004 21:12:22 +0000 (14:12 -0700)
2004-06-18  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/i386/darwin.h (HOT_TEXT_SECTION_NAME): Define.
        (NORMAL_TEXT_SECTION_NAME): Define.
        (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
        (SECTION_FORMAT_STRING): Define.

From-SVN: r83363

gcc/ChangeLog
gcc/config/i386/darwin.h

index 014cb1cae8f474b297b730a8b6c45398b0e85f86..17f3d60c1a2da549a0e936f2f21a945c1bade4fd 100644 (file)
@@ -1,3 +1,10 @@
+2004-06-18  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * config/i386/darwin.h (HOT_TEXT_SECTION_NAME): Define.
+       (NORMAL_TEXT_SECTION_NAME): Define.
+       (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
+       (SECTION_FORMAT_STRING): Define.
+
 2004-06-18  Steven Bosscher  <stevenb@suse.de>
 
        * config/xtensa/xtensa.c
index e11d8b17c722eda7b09b1cdee027c431d34f59f9..c271eab81b3bf710c73561ca3ae8da94e0e77c90 100644 (file)
@@ -93,6 +93,13 @@ Boston, MA 02111-1307, USA.  */
 
 #define LPREFIX "L"
 
+/* These are used by -fbranch-probabilities */
+#define HOT_TEXT_SECTION_NAME "__TEXT,__text,regular,pure_instructions"
+#define NORMAL_TEXT_SECTION_NAME "__TEXT,__text,regular,pure_instructions"
+#define UNLIKELY_EXECUTED_TEXT_SECTION_NAME \ 
+                              "__TEXT,__unlikely,regular,pure_instructions"
+#define SECTION_FORMAT_STRING ".section %s\n\t.align 2\n" 
+
 /* Assembler pseudos to introduce constants of various size.  */
 
 #define ASM_BYTE_OP "\t.byte\t"