From: David Edelsohn Date: Tue, 18 Dec 2001 22:00:06 +0000 (+0000) Subject: rs6000.c (rs6000_override_options): Only use DI ops when TARGET_64BIT. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae6c1efd658f081036d6e10c5f70e84db3dbbe46;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b38f75fdaf7..e6291049983 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-12-18 David Edelsohn + + * rs6000.c (rs6000_override_options): Only use DI ops when + TARGET_64BIT. Fix typo. + Tue Dec 18 16:39:46 CET 2001 Jan Hubicka * att.h (ASM_FILE_START): Use asm_dialect. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 79522a890ba..3dca0fa0b3b 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;