Message ID | CAEwic4aUvRRejf10UVDLuxZr8LMvrHg9oXwSGZuJDqGQemfCxA@mail.gmail.com |
---|---|
State | New |
Headers | show |
On 03/05/2013 09:31 AM, Kai Tietz wrote: > 2013-03-05 Kai Tietz <ktietz@redhat.com> > > * sdbout.c (sdbout_one_type): Switch to current function's section > supporting cold/hot. Ok. r~
Index: sdbout.c =================================================================== --- sdbout.c (Revision 196451) +++ sdbout.c (Arbeitskopie) @@ -1017,7 +1017,7 @@ sdbout_one_type (tree type) && DECL_SECTION_NAME (current_function_decl) != NULL_TREE) ; /* Don't change section amid function. */ else - switch_to_section (text_section); + switch_to_section (current_function_section ()); switch (TREE_CODE (type)) {