* config/arm/arm-protos.h (arm_gen_return_addr_mask): New
commit68121397dfcf2c390c53a49a7cad768c097d1ada
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Sep 2002 14:54:48 +0000 (6 14:54 +0000)
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Sep 2002 14:54:48 +0000 (6 14:54 +0000)
tree9b31cc659f193ff4374861cc86236c8c9e9e3da6
parent5ff136123dbe5178e33c70b3f17b5761db211a0c
* config/arm/arm-protos.h (arm_gen_return_addr_mask): New
prototype.
* config/arm/arm.c (arm_gen_return_addr_mask): New function.
* config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
if not APCS26 and not Thumb or ARMv4-or-higher.  Use gen_int_mode
rather than GEN_INT.
* config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
(return_addr_mask, *check_arch2): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56883 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/config/arm/arm.md