summaryrefslogtreecommitdiff
path: root/gcc/sdbout.c
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-05 17:59:38 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-05 17:59:38 +0000
commitd641a4ab38117eb809e0fb49daf9585132ab9ebc (patch)
tree3ce72c8ce9827768e72da477e2fd7b9d5746a0d1 /gcc/sdbout.c
parent76cc869aa9710764c7732d9bca0740fcf6865a27 (diff)
downloadgcc-d641a4ab38117eb809e0fb49daf9585132ab9ebc.tar.gz
* sdbout.c (sdbout_one_type): Switch to current function's section
supporting cold/hot. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196471 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r--gcc/sdbout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index ef513ec7e54..13c11c29682 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -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))
{