Commit ff1720ed by Richard Kenner

(output_toc): Align DF constants if STRICT_ALIGNMENT.

From-SVN: r10358
parent 89c89d11
......@@ -3041,6 +3041,16 @@ output_toc (file, x, labelno)
if (TARGET_NO_TOC)
abort ();
/* if we're going to put a double constant in the TOC, make sure it's
aligned properly when strict alignment is on. */
if (GET_CODE (x) == CONST_DOUBLE
&& STRICT_ALIGNMENT
&& GET_MODE (x) == DFmode
&& ! (TARGET_NO_FP_IN_TOC && ! TARGET_MINIMAL_TOC)) {
ASM_OUTPUT_ALIGN (file, 3);
}
#ifdef USING_SVR4_H
if (TARGET_MINIMAL_TOC)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment