diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 014cb1cae8f..17f3d60c1a2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2004-06-18 Andrew Pinski + + * 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 * config/xtensa/xtensa.c diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h index e11d8b17c72..c271eab81b3 100644 --- a/gcc/config/i386/darwin.h +++ b/gcc/config/i386/darwin.h @@ -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"