rs6000.c (secondary_reload_class): For TARGET_ELF make sure that HIGH instructions are copied into BASE_REGS.

* config/rs6000/rs6000.c (secondary_reload_class): For
	TARGET_ELF make sure that HIGH instructions are copied
	into BASE_REGS.

From-SVN: r29850
This commit is contained in:
Diego Novillo 1999-10-07 06:38:15 +00:00 committed by Diego Novillo
parent 56934d5c71
commit 201b6183d2
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Thu Oct 7 00:36:17 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
* config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
make sure that HIGH instructions are copied into BASE_REGS.
Sun Oct 3 14:20:22 1999 Jeffrey A Law (law@cygnus.com)
* configure.in (fr30): Fix typo.

View file

@ -2620,6 +2620,7 @@ secondary_reload_class (class, mode, in)
is needed as an intermediate register. */
if (class != BASE_REGS
&& (GET_CODE (in) == SYMBOL_REF
|| GET_CODE (in) == HIGH
|| GET_CODE (in) == LABEL_REF
|| GET_CODE (in) == CONST))
return BASE_REGS;