Commit 8053f393 by Denis Chertykov Committed by Denis Chertykov

avr.c (encode_section_info): sets SYMBOL_REF_FLAG if decl is a FUNCTION_DECL

        * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
        decl is a FUNCTION_DECL

From-SVN: r32666
parent a09f6118
No preview for this file type
......@@ -3303,6 +3303,9 @@ void
encode_section_info (decl)
tree decl;
{
if (TREE_CODE (decl) == FUNCTION_DECL)
SYMBOL_REF_FLAG (XEXP (DECL_RTL (decl), 0)) = 1;
if ((TREE_STATIC (decl) || DECL_EXTERNAL (decl))
&& TREE_CODE (decl) == VAR_DECL
&& avr_progmem_p (decl))
......
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