diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1995-05-01 16:50:11 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1995-05-01 16:50:11 -0700 |
commit | 509b12e0c5a11970115b5d61ac4081f1a6f6d90e (patch) | |
tree | d1b76eca6b69cfb0f028ed321dcbbc8466c70122 /gcc/sdbout.c | |
parent | bcd49eb7a878144a4990385d764e2cbfafc1016a (diff) | |
download | gcc-509b12e0c5a11970115b5d61ac4081f1a6f6d90e.zip gcc-509b12e0c5a11970115b5d61ac4081f1a6f6d90e.tar.gz gcc-509b12e0c5a11970115b5d61ac4081f1a6f6d90e.tar.bz2 |
(sdbout_one_type): Don't switch to text section if
in function with section attribute.
From-SVN: r9560
Diffstat (limited to 'gcc/sdbout.c')
-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)) { |