arm-protos.h (arm_cannot_force_const_mem): Declare.
commit8426b956021a24315114670483f2aa5d230fde5c
authorRichard Sandiford <richard@codesourcery.com>
Wed, 18 Jul 2007 09:44:21 +0000 (18 09:44 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 18 Jul 2007 09:44:21 +0000 (18 09:44 +0000)
treef265953e69b78d5f07f6dcd4e973c24c2e324993
parent12b36be2c05306f295304061bb199209274cd917
arm-protos.h (arm_cannot_force_const_mem): Declare.

gcc/
* config/arm/arm-protos.h (arm_cannot_force_const_mem): Declare.
* config/arm/arm.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to
arm_cannot_force_const_mem.
(arm_cannot_force_const_mem): New function.
* config/arm/arm.h (ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): New macro.
(LEGITIMATE_CONSTANT_P): Test arm_cannot_force_const_mem instead
of arm_tls_referenced_p.
* config/arm/arm.md (movsi): Split out-of-section constants when
ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P.
* config/arm/vxworks.h (ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): Define.

From-SVN: r126718
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/config/arm/arm.md
gcc/config/arm/vxworks.h