On 07/05/2015 09:58 AM, Anatoliy Sokolov wrote:
Hi.
This patch removes obsolete GO_IF_LEGITIMATE_ADDRESS macros from
the MOXIE back end in the GCC and introduces equivalent
TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P target hook.
Regression tested on moxie-unknown-elf.
OK for trunk?
2015-07-05 Anatoly Sokolov <ae...@post.ru>
* config/moxie/moxie.h (GO_IF_LEGITIMATE_ADDRESS): Remove macros.
* config/moxie/moxie.c (moxie_reg_ok_for_base_p,
moxie_legitimate_address_p): New functions.
(TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Define.
OK.
jeff