diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-05-24 05:45:59 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-05-24 05:45:59 +0000 |
commit | 294944aec62ad2e7d988c067d1fe47a53b0a775a (patch) | |
tree | 0e79e07a96952d73d1143ecc9d7a5464a14341ac /gcc/config/i386/sco4.h | |
parent | f1f3ed5f3e33990286515d1441a06efe2f0e7f12 (diff) | |
download | gcc-294944aec62ad2e7d988c067d1fe47a53b0a775a.tar.gz |
(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): New override definitions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4548 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/sco4.h')
-rw-r--r-- | gcc/config/i386/sco4.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/config/i386/sco4.h b/gcc/config/i386/sco4.h index e5a6ee24c22..8d343d0a72c 100644 --- a/gcc/config/i386/sco4.h +++ b/gcc/config/i386/sco4.h @@ -79,3 +79,20 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -DM_COFF -DM_BITFIELDS -DM_WORDSWAP \ %{scointl:-D_M_INTERNAT -DM_INTERNAT} \ %{traditional:-D_KR -D_SVID -D_NO_PROTOTYPE}}}}" + +/* Assembler bugs are suspected in floating constants. + So output them as hex. */ + +#undef ASM_OUTPUT_DOUBLE +#define ASM_OUTPUT_DOUBLE(FILE,VALUE) \ +do { long l[2]; \ + REAL_VALUE_TO_TARGET_DOUBLE (VALUE, l); \ + fprintf (FILE, "%s 0x%x,0x%x\n", ASM_LONG, l[0], l[1]); \ + } while (0) + +#undef ASM_OUTPUT_FLOAT +#define ASM_OUTPUT_FLOAT(FILE,VALUE) \ +do { long l; \ + REAL_VALUE_TO_TARGET_SINGLE (VALUE, l); \ + fprintf ((FILE), "%s 0x%x\n", ASM_LONG, l); \ + } while (0) |