From: pkoning Date: Tue, 7 Dec 2010 15:49:37 +0000 (+0000) Subject: * config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb70adf7f78896d64eeca5b6425fd2456970e568;p=thirdparty%2Fgcc.git * config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define. (pdp11_function_section): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167553 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f4b1643e6d8b..ff5268678ea0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-12-07 Paul Koning + + * config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define. + (pdp11_function_section): New function. + 2010-12-07 Joseph Myers * config/mcore/mcore.c Don't include assert.h. diff --git a/gcc/config/pdp11/pdp11.c b/gcc/config/pdp11/pdp11.c index 682c7bcea2bf..2617d30853fd 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;