Commit 0ab75824 by Jan Hubicka Committed by Eric Botcazou

utils.c (process_attributes): Pass string pointer directly to set_decl_section_name.

	* gcc-interface/utils.c (process_attributes) <ATTR_LINK_SECTION>: Pass
	string pointer directly to set_decl_section_name.

From-SVN: r211501
parent 9c85aeb6
2014-06-11 Jan Hubicka <hubicka@ucw.cz>
2014-06-12 Jan Hubicka <hubicka@ucw.cz>
* gcc-interface/utils.c: Update handling for section names
that are no longer trees.
* gcc-interface/utils.c (process_attributes) <ATTR_LINK_SECTION>: Pass
string pointer directly to set_decl_section_name.
2014-06-11 Robert Dewar <dewar@adacore.com>
......
......@@ -2476,7 +2476,7 @@ process_attributes (tree *node, struct attrib **attr_list, bool in_place,
case ATTR_LINK_SECTION:
if (targetm_common.have_named_sections)
{
set_decl_section_name (*node, attr->name);
set_decl_section_name (*node, IDENTIFIER_POINTER (attr->name));
DECL_COMMON (*node) = 0;
}
else
......
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