summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-18 21:12:22 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-18 21:12:22 +0000
commit31a09dec23e5d4d7565621b728d418549c617bcc (patch)
treec8bad90e748bd1644db742e67843b2a5b49f7f16 /gcc/config
parent27a35675ce6e0ff5269c872a29e09fe73924a54a (diff)
downloadgcc-31a09dec23e5d4d7565621b728d418549c617bcc.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83363 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/darwin.h7
1 files changed, 7 insertions, 0 deletions
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"