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
This commit is contained in:
parent
a09f61183a
commit
8053f393d2
|
@ -1,3 +1,8 @@
|
|||
Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
|
||||
|
||||
* config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
|
||||
decl is a FUNCTION_DECL
|
||||
|
||||
Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue