Adding Apple Local markers.

From-SVN: r98579
This commit is contained in:
Caroline Tice 2005-04-22 11:25:49 -07:00
parent 9231c02497
commit f030e8540f
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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," \