aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorPaul Koning <ni1d@arrl.net>2010-12-07 10:49:37 -0500
committerPaul Koning <pkoning@gcc.gnu.org>2010-12-07 10:49:37 -0500
commitbaddb6779bf9f09d43605051ca6213eac47c981a (patch)
treeea640311e235a5f84ae1c7ed6d3d642df9c4dc90 /gcc/config
parent819bfe0e14047c82148ba67fa9721abc206475bd (diff)
downloadgcc-baddb6779bf9f09d43605051ca6213eac47c981a.zip
gcc-baddb6779bf9f09d43605051ca6213eac47c981a.tar.gz
gcc-baddb6779bf9f09d43605051ca6213eac47c981a.tar.bz2
pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define.
* config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define. (pdp11_function_section): New function. From-SVN: r167553
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/pdp11/pdp11.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config/pdp11/pdp11.c b/gcc/config/pdp11/pdp11.c
index 682c7bc..2617d30 100644
--- a/gcc/config/pdp11/pdp11.c
+++ b/gcc/config/pdp11/pdp11.c
@@ -233,6 +233,10 @@ static const struct default_options pdp11_option_optimization_table[] =
#undef TARGET_CONDITIONAL_REGISTER_USAGE
#define TARGET_CONDITIONAL_REGISTER_USAGE pdp11_conditional_register_usage
+
+#undef TARGET_ASM_FUNCTION_SECTION
+#define TARGET_ASM_FUNCTION_SECTION pdp11_function_section
+
/* Implement TARGET_HANDLE_OPTION. */
@@ -2118,4 +2122,13 @@ pdp11_conditional_register_usage (void)
}
}
+static section *
+pdp11_function_section (tree decl ATTRIBUTE_UNUSED,
+ enum node_frequency freq ATTRIBUTE_UNUSED,
+ bool startup ATTRIBUTE_UNUSED,
+ bool exit ATTRIBUTE_UNUSED)
+{
+ return NULL;
+}
+
struct gcc_target targetm = TARGET_INITIALIZER;