(sdbout_one_type): Don't switch to text section if
in function with section attribute. From-SVN: r9560
This commit is contained in:
parent
bcd49eb7a8
commit
509b12e0c5
@ -1002,6 +1002,10 @@ static void
|
|||||||
sdbout_one_type (type)
|
sdbout_one_type (type)
|
||||||
tree type;
|
tree type;
|
||||||
{
|
{
|
||||||
|
if (current_function_decl != NULL_TREE
|
||||||
|
&& DECL_SECTION_NAME (current_function_decl) != NULL_TREE)
|
||||||
|
; /* Don't change section amid function. */
|
||||||
|
else
|
||||||
text_section ();
|
text_section ();
|
||||||
|
|
||||||
switch (TREE_CODE (type))
|
switch (TREE_CODE (type))
|
||||||
|
Loading…
Reference in New Issue
Block a user