This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r139881 - in /trunk/gcc: ChangeLog config/arm/a...
- From: pbrook at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 02 Sep 2008 01:44:36 -0000
- Subject: r139881 - in /trunk/gcc: ChangeLog config/arm/a...
Author: pbrook
Date: Tue Sep 2 01:44:33 2008
New Revision: 139881
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139881
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm-protos.h
trunk/gcc/config/arm/arm.c
trunk/gcc/config/arm/arm.h
trunk/gcc/config/arm/arm.md
trunk/gcc/config/arm/arm.opt
trunk/gcc/config/arm/symbian.h
trunk/gcc/config/arm/uclinux-elf.h
trunk/gcc/config/arm/vxworks.h
trunk/gcc/doc/invoke.texi