diff options
author | Diego Novillo <dnovillo@cygnus.com> | 1999-10-07 06:38:15 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 1999-10-07 02:38:15 -0400 |
commit | 201b6183d2ec620dc02028b061755451ecf61579 (patch) | |
tree | a9f5ee694e3532049d2bbec77b8ddb3779bf85bf | |
parent | 56934d5c71573a16adf4a78afa16a0e27bfa5668 (diff) | |
download | gcc-201b6183d2ec620dc02028b061755451ecf61579.zip gcc-201b6183d2ec620dc02028b061755451ecf61579.tar.gz gcc-201b6183d2ec620dc02028b061755451ecf61579.tar.bz2 |
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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 26ca580..2e961c4 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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; |