Commit baddb677 by Paul Koning Committed by Paul Koning

pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define.

* config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define.
(pdp11_function_section): New function.

From-SVN: r167553
parent 819bfe0e
2010-12-07 Paul Koning <ni1d@arrl.net>
* config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define.
(pdp11_function_section): New function.
2010-12-07 Joseph Myers <joseph@codesourcery.com> 2010-12-07 Joseph Myers <joseph@codesourcery.com>
* config/mcore/mcore.c Don't include assert.h. * config/mcore/mcore.c Don't include assert.h.
...@@ -233,6 +233,10 @@ static const struct default_options pdp11_option_optimization_table[] = ...@@ -233,6 +233,10 @@ static const struct default_options pdp11_option_optimization_table[] =
#undef TARGET_CONDITIONAL_REGISTER_USAGE #undef TARGET_CONDITIONAL_REGISTER_USAGE
#define TARGET_CONDITIONAL_REGISTER_USAGE pdp11_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. */ /* Implement TARGET_HANDLE_OPTION. */
...@@ -2118,4 +2122,13 @@ pdp11_conditional_register_usage (void) ...@@ -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; struct gcc_target targetm = TARGET_INITIALIZER;
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