From f030e8540f48f439493aeb129cf24235d456c5a9 Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Fri, 22 Apr 2005 11:25:49 -0700 Subject: [PATCH] Adding Apple Local markers. From-SVN: r98579 --- gcc/config/darwin.c | 2 ++ gcc/config/darwin.h | 1 + 2 files changed, 3 insertions(+) diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index c20bc0e..e1c9e8a 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -1010,6 +1010,7 @@ machopic_select_section (tree exp, int reloc, { void (*base_function)(void); bool weak_p = DECL_P (exp) && DECL_WEAK (exp); + /* APPLE LOCAL begin mainline 2005-04-15 */ static void (* const base_funs[][2])(void) = { { text_section, text_coal_section }, { unlikely_text_section, text_unlikely_coal_section }, @@ -1017,6 +1018,7 @@ machopic_select_section (tree exp, int reloc, { const_data_section, const_data_coal_section }, { data_section, data_coal_section } }; + /* APPLE LOCAL end mainline 2005-04-15 */ if (reloc == 0 && (last_text_section == in_text_unlikely diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index ea7e520..4c43f37 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -646,6 +646,7 @@ SECTION_FUNCTION (text_coal_section, \ in_text_coal, \ ".section __TEXT,__textcoal_nt,coalesced," \ "pure_instructions", 0) \ +/* APPLE LOCAL mainline 2005-04-15 */ \ SECTION_FUNCTION (text_unlikely_coal_section, \ in_text_unlikely_coal, \ ".section __TEXT,__text_unlikely_coal," \ -- 2.7.4