aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaroline Tice <ctice@gcc.gnu.org>2005-04-22 11:25:49 -0700
committerCaroline Tice <ctice@gcc.gnu.org>2005-04-22 11:25:49 -0700
commitf030e8540f48f439493aeb129cf24235d456c5a9 (patch)
tree97d56b0628d395f57a6ba62d011cad157b5a477e
parent9231c02497eced2f401170a4cda503a774db894e (diff)
downloadgcc-f030e8540f48f439493aeb129cf24235d456c5a9.zip
gcc-f030e8540f48f439493aeb129cf24235d456c5a9.tar.gz
gcc-f030e8540f48f439493aeb129cf24235d456c5a9.tar.bz2
Adding Apple Local markers.
From-SVN: r98579
-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 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 <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 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 <radar 4078608> */ \
SECTION_FUNCTION (text_unlikely_coal_section, \
in_text_unlikely_coal, \
".section __TEXT,__text_unlikely_coal," \