Commit d302f4f2 by Michael Meissner

Fix uses of -mno-fp-in-toc and -mrelocatable

From-SVN: r13682
parent 6052e619
...@@ -5162,6 +5162,11 @@ ...@@ -5162,6 +5162,11 @@
&& GET_CODE (operands[1]) != HIGH && GET_CODE (operands[1]) != HIGH
&& ! LEGITIMATE_CONSTANT_POOL_ADDRESS_P (operands[1])) && ! LEGITIMATE_CONSTANT_POOL_ADDRESS_P (operands[1]))
{ {
/* Emit a USE operation so that the constant isn't deleted if
expensive optimizations are turned on because nobody
references it */
emit_insn (gen_rtx (USE, VOIDmode, operands[1]));
/* If we are to limit the number of things we put in the TOC and /* If we are to limit the number of things we put in the TOC and
this is a symbol plus a constant we can add in one insn, this is a symbol plus a constant we can add in one insn,
just put the symbol in the TOC and add the constant. Don't do just put the symbol in the TOC and add the constant. Don't do
......
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