rs6000.c (output_toc): Correct little-endian float constant output.

* config/rs6000/rs6000.c (output_toc): Correct little-endian float
	constant output.

From-SVN: r199646
This commit is contained in:
Alan Modra 2013-06-04 22:34:13 +09:30 committed by Alan Modra
parent ef2925370e
commit 52befbd84a
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-06-04 Alan Modra <amodra@gmail.com>
* config/rs6000/rs6000.c (output_toc): Correct little-endian float
constant output.
2013-06-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* rtl.def: Add extra fourth optional field to define_cond_exec.

View File

@ -22574,7 +22574,10 @@ output_toc (FILE *file, rtx x, int labelno, enum machine_mode mode)
fputs (DOUBLE_INT_ASM_OP, file);
else
fprintf (file, "\t.tc FS_%lx[TC],", l & 0xffffffff);
if (WORDS_BIG_ENDIAN)
fprintf (file, "0x%lx00000000\n", l & 0xffffffff);
else
fprintf (file, "0x%lx\n", l & 0xffffffff);
return;
}
else