From: Andrew Pinski Date: Fri, 18 Jun 2004 21:12:22 +0000 (+0000) Subject: darwin.h (HOT_TEXT_SECTION_NAME): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9042bb454c0dee2b44922f6a0ddf1849c8a7228;p=gcc.git darwin.h (HOT_TEXT_SECTION_NAME): Define. 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. From-SVN: r83363 --- 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"