summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/config/darwin.c2
-rw-r--r--gcc/config/darwin.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index c20bc0e137c..e1c9e8a83a7 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 <radar 4078608> */
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 <radar 4078608> */
if (reloc == 0
&& (last_text_section == in_text_unlikely
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index ea7e5200131..4c43f37e81b 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 <radar 4078608> */ \
SECTION_FUNCTION (text_unlikely_coal_section, \
in_text_unlikely_coal, \
".section __TEXT,__text_unlikely_coal," \
OpenPOWER on IntegriCloud