Commit a7273471 by Michael Meissner

Make fp constants hard if -fpic

From-SVN: r12420
parent 8e98b1dc
...@@ -666,6 +666,10 @@ easy_fp_constant (op, mode) ...@@ -666,6 +666,10 @@ easy_fp_constant (op, mode)
if (TARGET_SOFT_FLOAT && mode != DImode) if (TARGET_SOFT_FLOAT && mode != DImode)
return 1; return 1;
/* If we are using V.4 style PIC, consider all constants to be hard */
if (flag_pic && (DEFAULT_ABI == ABI_V4 || DEFAULT_ABI == ABI_SOLARIS))
return 0;
if (mode == DFmode) if (mode == DFmode)
{ {
long k[2]; long k[2];
......
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