Commit 509b12e0 by Jim Wilson

(sdbout_one_type): Don't switch to text section if

in function with section attribute.

From-SVN: r9560
parent bcd49eb7
...@@ -1002,7 +1002,11 @@ static void ...@@ -1002,7 +1002,11 @@ static void
sdbout_one_type (type) sdbout_one_type (type)
tree type; tree type;
{ {
text_section (); if (current_function_decl != NULL_TREE
&& DECL_SECTION_NAME (current_function_decl) != NULL_TREE)
; /* Don't change section amid function. */
else
text_section ();
switch (TREE_CODE (type)) switch (TREE_CODE (type))
{ {
......
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