r148770 - in /trunk/gcc: ChangeLog config/arm/a...
rearnsha@gcc.gnu.org
rearnsha@gcc.gnu.org
Sun Jun 21 20:48:00 GMT 2009
Author: rearnsha
Date: Sun Jun 21 20:48:15 2009
New Revision: 148770
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148770
Log:
* arm.c (thumb1_output_casesi): New function.
* arm.h (CASE_VECTOR_PC_RELATIVE): Thumb-1 code is also relative if
optimizing for size or PIC.
(CASE_VECTOR_SHORTEN_MODE): Handle thumb-1.
* arm.md (UNSPEC_THUMB1_CASESI): New constant.
(casesi): Handle Thumb-1 when optimizing for size or PIC.
(thumb1_casesi_internal_pic): New expand rule.
(thumb1_casesi_dispatch): New pattern.
* aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use shortened vectors for
thumb-1 mode.
* coff.h (JUMP_TABLES_IN_TEXT_SECTION): Thumb-1 jump tables are now
in the text seciton when PIC or optimizing for size.
* elf.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
* lib1funcs.asm ([__ARM_EABI__]): Add an attribute describing stack
preservation properties of code.
(__gnu_thumb1_case_sqi, __gnu_thumb1_case_uqi): New functions.
(__gnu_thumb1_case_shi, __gnu_thumb1_case_uhi): New functions.
(__gnu_thumb1_case_si): New function.
* t-arm (LIB1ASMSRC): Define here.
(LIB1ASMFUNCS): Add some common functions.
* t-arm-elf (LIB1ASMSRC): Delete.
(LIB1ASMFUNCS): Append to existing set.
* t-pe (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
* t-strongarm-elf (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
* t-symbian (LIB1ASMFUNCS): Likewise.
* t-vxworks (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
* t-wince-pe (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/aout.h
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/coff.h
trunk/gcc/config/arm/elf.h
trunk/gcc/config/arm/lib1funcs.asm
trunk/gcc/config/arm/t-arm
trunk/gcc/config/arm/t-arm-elf
trunk/gcc/config/arm/t-pe
trunk/gcc/config/arm/t-strongarm-elf
trunk/gcc/config/arm/t-symbian
trunk/gcc/config/arm/t-vxworks
trunk/gcc/config/arm/t-wince-pe
More information about the Gcc-cvs
mailing list