This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [MOXIE] Hookize PRINT_OPERAND and PRINT_OPERAND_ADDRESS


On 07/26/2015 02:02 PM, Anatoliy Sokolov wrote:
Hi.

This patch removes obsolete PRINT_OPERAND and PRINT_OPERAND_ADDRESS macros
from the MOXIE back end in the GCC and introduces equivalent
TARGET_PRINT_OPERAND and TARGET_PRINT_OPERAND_ADDRESS target hooks.

Regression tested on moxie-unknown-elf.

OK for trunk?

Anatoly.

2015-07-26  Anatoly Sokolov  <aesok@post.ru>

     * config/moxie/moxie.h (PRINT_OPERAND,
       PRINT_OPERAND_ADDRESS): Remove macros.
     * config/moxie/moxie-protos.h (moxie_print_operand,
       moxie_print_operand_address): Remove declaration.
     * config/moxie/moxie.c (TARGET_PRINT_OPERAND,
       TARGET_PRINT_OPERAND_ADDRESS): Define.
       (moxie_print_operand, moxie_print_operand_address): Make static.
OK.
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]