diff options
-rw-r--r-- | gcc/sdbout.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c index 4e95abd..07bbcc6 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -1002,7 +1002,11 @@ static void sdbout_one_type (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)) { |