[visium] Turn a few macros into hooks

Eric Botcazou ebotcazou@adacore.com
Mon Nov 9 22:53:00 GMT 2015


On the heels of Julian's patch, this turns the 3 PRINT_OPERAND_* macros into 
hooks for the Visium port.

Tested on visium-elf, applied on the mainline.


2015-11-09  Eric Botcazou  <ebotcazou@adacore.com>

	* config/visium/visium.h (PRINT_OPERAND): Delete.
	(PRINT_OPERAND_PUNCT_VALID_P): Likewise.
	(PRINT_OPERAND_ADDRESS): Likewise.
	* config/visium/visium.c (TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define
	to...
	(visium_print_operand_punct_valid_p): ...this.  New function.
	(TARGET_PRINT_OPERAND): Define to...
	(print_operand): Rename to...
	(visium_print_operand): ...this.
	(TARGET_PRINT_OPERAND_ADDRESS): Define to...
	(visium_output_address): Rename to...
	(visium_print_operand_address): ...this.
	(print_operand_address): Delete.

-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 6435 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151109/ef189cfb/attachment.bin>


More information about the Gcc-patches mailing list