Re: [CRIS] Hookize PREFERRED_RELOAD_CLASS

2011-10-09 Thread Hans-Peter Nilsson
> Date: Sun, 9 Oct 2011 17:47:22 +0400 > From: Anatoly Sokolov > OK to install? > > * config/cris/cris.c (cris_preferred_reload_class): New function. > (TARGET_PREFERRED_RELOAD_CLASS): Define. > * config/cris/cris.h (OUTPUT_ADDR_CONST_EXTRA): Remove.

[CRIS] Hookize PREFERRED_RELOAD_CLASS

2011-10-09 Thread Anatoly Sokolov
Hello. This patch removes obsolete PREFERRED_RELOAD_CLASS macro from CRIS back end in the GCC and introduces equivalent TARGET_PREFERRED_RELOAD_CLASS target hook. Regression tested on cris-axis-elf. OK to install? * config/cris/cris.c (cris_preferred_reload_class): New function.