Commit f030e854 by Caroline Tice

Adding Apple Local markers.

From-SVN: r98579
parent 9231c024
...@@ -1010,6 +1010,7 @@ machopic_select_section (tree exp, int reloc, ...@@ -1010,6 +1010,7 @@ machopic_select_section (tree exp, int reloc,
{ {
void (*base_function)(void); void (*base_function)(void);
bool weak_p = DECL_P (exp) && DECL_WEAK (exp); 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) = { static void (* const base_funs[][2])(void) = {
{ text_section, text_coal_section }, { text_section, text_coal_section },
{ unlikely_text_section, text_unlikely_coal_section }, { unlikely_text_section, text_unlikely_coal_section },
...@@ -1017,6 +1018,7 @@ machopic_select_section (tree exp, int reloc, ...@@ -1017,6 +1018,7 @@ machopic_select_section (tree exp, int reloc,
{ const_data_section, const_data_coal_section }, { const_data_section, const_data_coal_section },
{ data_section, data_coal_section } { data_section, data_coal_section }
}; };
/* APPLE LOCAL end mainline 2005-04-15 <radar 4078608> */
if (reloc == 0 if (reloc == 0
&& (last_text_section == in_text_unlikely && (last_text_section == in_text_unlikely
......
...@@ -646,6 +646,7 @@ SECTION_FUNCTION (text_coal_section, \ ...@@ -646,6 +646,7 @@ SECTION_FUNCTION (text_coal_section, \
in_text_coal, \ in_text_coal, \
".section __TEXT,__textcoal_nt,coalesced," \ ".section __TEXT,__textcoal_nt,coalesced," \
"pure_instructions", 0) \ "pure_instructions", 0) \
/* APPLE LOCAL mainline 2005-04-15 <radar 4078608> */ \
SECTION_FUNCTION (text_unlikely_coal_section, \ SECTION_FUNCTION (text_unlikely_coal_section, \
in_text_unlikely_coal, \ in_text_unlikely_coal, \
".section __TEXT,__text_unlikely_coal," \ ".section __TEXT,__text_unlikely_coal," \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment