]> gcc.gnu.org Git - gcc.git/commitdiff
pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define.
authorPaul Koning <ni1d@arrl.net>
Tue, 7 Dec 2010 15:49:37 +0000 (10:49 -0500)
committerPaul Koning <pkoning@gcc.gnu.org>
Tue, 7 Dec 2010 15:49:37 +0000 (10:49 -0500)
* config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define.
(pdp11_function_section): New function.

From-SVN: r167553

gcc/ChangeLog
gcc/config/pdp11/pdp11.c

index f4b1643e6d8bd867ed584c9596bc5a88f392f6ff..ff5268678ea006daaa992c8c1feab5c5c06259cf 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        * config/mcore/mcore.c Don't include assert.h.
index 682c7bcea2bf3ecc0c09d70e863d5da2f98e2337..2617d30853fddd31cce3788d4d0a51d8b377f39c 100644 (file)
@@ -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
+
 \f
 /* 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;
This page took 0.093985 seconds and 5 git commands to generate.