invoke.texi: Document -mword-relocations.
authorPaul Brook <paul@codesourcery.com>
Tue, 2 Sep 2008 01:44:33 +0000 (01:44 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Tue, 2 Sep 2008 01:44:33 +0000 (01:44 +0000)
commit571191af2664d15b44e3a9795bc0cba9df44b8a6
treeedc8d4f03839a499afaebcfdf54c24f88f391bce
parent4e2eb53c13c1fc2e3f777fa9cd6827716c6b81e4
invoke.texi: Document -mword-relocations.

2008-09-01  Paul Brook  <paul@codesourcery.com>

* doc/invoke.texi: Document -mword-relocations.
* config/arm/uclinux-elf.h (TARGET_DEFAULT_WORD_RELOCATIONS): Define.
* config/arm/symbian.h (TARGET_DEFAULT_WORD_RELOCATIONS): Define.
* config/arm/vxworks.h (TARGET_DEFAULT_WORD_RELOCATIONS): Define.
* config/arm/arm.c (arm_split_constant): Use arm_emit_movpair.
(arm_rtx_costs_1, arm_size_rtx_costs): Handle HIGH and LO_SUM.
(arm_emit_movpair): New function.
(arm_print_operand <c>): Handle sybolic addresses.
* config/arm/arm.h (TARGET_USE_MOVT): Define.
(TARGET_DEFAULT_WORD_RELOCATIONS): Define.
* config/arm/arm-protos.h (arm_emit_movpair): Add prototype.
* config/arm/arm.opt: Add -mword-relocations.
* config/arm/arm.md (movsi): Use arm_emit_movpair.
(arm_movt, arm_movw): New.

From-SVN: r139881
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/arm.opt
gcc/config/arm/symbian.h
gcc/config/arm/uclinux-elf.h
gcc/config/arm/vxworks.h
gcc/doc/invoke.texi