| Submitter | Paul Koning |
|---|---|
| Date | Dec. 7, 2010, 3:51 p.m. |
| Message ID | <E7788988-AD85-4540-947B-55C9CDDD0FA0@dell.com> |
| Download | mbox | patch |
| Permalink | /patch/74568/ |
| State | New |
| Headers | show |
Comments
Patch
Index: config/pdp11/pdp11.c =================================================================== --- config/pdp11/pdp11.c (revision 167551) +++ config/pdp11/pdp11.c (working copy) @@ -233,6 +233,10 @@ #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. */
This patch adds a TARGET_ASM_FUNCTION_SECTION hook to pdp11.c to override the default names (which don't fit this target). Checked by build. Committed. paul ChangeLog: 2010-12-07 Paul Koning <ni1d@arrl.net> * config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define. (pdp11_function_section): New function. @@ -2118,4 +2122,13 @@ } } +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;