From a9042bb454c0dee2b44922f6a0ddf1849c8a7228 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Fri, 18 Jun 2004 21:12:22 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 7 +++++++ gcc/config/i386/darwin.h | 7 +++++++ 2 files changed, 14 insertions(+) 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" -- 2.30.2