diff options
author | David Edelsohn <edelsohn@gnu.org> | 2001-12-18 22:00:06 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2001-12-18 17:00:06 -0500 |
commit | ae6c1efd658f081036d6e10c5f70e84db3dbbe46 (patch) | |
tree | ec962e399e6d27e6a32e11d68d1283e4f3d1a297 | |
parent | 1451a49295830f204f8acde7ecee28a0d3e52530 (diff) | |
download | gcc-ae6c1efd658f081036d6e10c5f70e84db3dbbe46.zip gcc-ae6c1efd658f081036d6e10c5f70e84db3dbbe46.tar.gz gcc-ae6c1efd658f081036d6e10c5f70e84db3dbbe46.tar.bz2 |
rs6000.c (rs6000_override_options): Only use DI ops when TARGET_64BIT.
* rs6000.c (rs6000_override_options): Only use DI ops when
TARGET_64BIT. Fix typo.
From-SVN: r48164
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b38f75f..e629104 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-12-18 David Edelsohn <edelsohn@gnu.org> + + * rs6000.c (rs6000_override_options): Only use DI ops when + TARGET_64BIT. Fix typo. + Tue Dec 18 16:39:46 CET 2001 Jan Hubicka <jh@suse.cz> * att.h (ASM_FILE_START): Use asm_dialect. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 79522a8..3dca0fa 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -231,7 +231,7 @@ static const char alt_reg_names[][8] = for non-ELF systems. */ #ifndef OBJECT_FORMAT_ELF #ifdef OBJECT_FORMAT_COFF -/* For ECOFF. rs6000_assemble_integer will handle unaligned DIs on +/* For XCOFF. rs6000_assemble_integer will handle unaligned DIs on 64-bit targets. */ #undef TARGET_ASM_UNALIGNED_HI_OP #define TARGET_ASM_UNALIGNED_HI_OP "\t.vbyte\t2," @@ -565,7 +565,7 @@ rs6000_override_options (default_cpu) /* We can only guarantee the availability of DI pseudo-ops when assembling for 64-bit targets. */ - if (!TARGET_POWERPC64) + if (!TARGET_64BIT) { targetm.asm_out.aligned_op.di = NULL; targetm.asm_out.unaligned_op.di = NULL; |