arm.c (arm_encode_call_attribute): Operate on any decl, not just FUNCTION_DECL.
authorPhilip Blundell <pb@nexus.co.uk>
Tue, 19 Feb 2002 18:04:05 +0000 (18:04 +0000)
committerPhil Blundell <pb@gcc.gnu.org>
Tue, 19 Feb 2002 18:04:05 +0000 (18:04 +0000)
commit14f583b8c3465efa654af1233e9c63365cd41cc9
tree5584cd64a9c88885dad300c267774a043e3d066f
parent4cb7482c3ae0a089a988a648c562e0c7f2ecbe98
arm.c (arm_encode_call_attribute): Operate on any decl, not just FUNCTION_DECL.

2002-02-19  Philip Blundell  <pb@nexus.co.uk>

* config/arm/arm.c (arm_encode_call_attribute): Operate on any
decl, not just FUNCTION_DECL.
(legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
(arm_assemble_integer): Likewise.
* config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
marked local.

From-SVN: r49871
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.h