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]

[m32c] hookize PRINT_OPERAND & co


Hi,

Please find attached the patch which hookizes PRINT_OPERAND and
related macros for the m32c backend.  It also adds hook for 
FUNCTION_VALUE_REGNO_P macro.
Please review the patch and let me know if there should be any
modifications in it.

Tested with m32c-elf.  No new regressions.

ChangeLog
2010-08-31  Naveen H.S  <naveen.S@kpitcummins.com>

	* config/m32c/m32c.c (m32c_function_value_regno_p): Declare.
	(m32c_print_operand_address): Likewise.
	(m32c_print_operand): Likewise.
	(m32c_print_operand_punct_valid_p): Likewise.	
	(TARGET_FUNCTION_VALUE_REGNO_P, TARGET_PRINT_OPERAND_PUNCT_VALID_P, 
	TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define.
	* config/m32c/m32c.h (FUNCTION_VALUE_REGNO_P, PRINT_OPERAND_ADDRESS,
	PRINT_OPERAND, PRINT_OPERAND_PUNCT_VALID_P): Delete.
	* config/m32c/m32c-protos.h (m32c_print_operand): Delete.
	(m32c_print_operand_address): Delete.
	(m32c_print_operand_punct_valid_p): Delete.
	(m32c_function_value_regno_p): Delete.

Thanks & Regards,
Naveen

Attachment: m32c_printop_targhook.patch
Description: m32c_printop_targhook.patch


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