Commit fd078f52 by Bernd Schmidt Committed by Bernd Schmidt

bfin.opt (mlong-calls): New.

	* config/bfin/bfin.opt (mlong-calls): New.
	* config/bfin/predicates.md (call_insn_operand): Disallow SYMBOL_REF
	if TARGET_LONG_CALLS.

From-SVN: r100796
parent 74118f15
2005-06-09 Bernd Schmidt <bernd.schmidt@analog.com>
* config/bfin/bfin.opt (mlong-calls): New.
* config/bfin/predicates.md (call_insn_operand): Disallow SYMBOL_REF
if TARGET_LONG_CALLS.
2005-06-09 Richard Henderson <rth@redhat.com>
PR tree-opt/20610
......
......@@ -38,3 +38,7 @@ Enabled ID based shared library
mshared-library-id=
Target RejectNegative Joined UInteger Var(bfin_library_id)
ID of shared library to build
mlong-calls
Target Report Mask(LONG_CALLS)
Avoid generating pc-relative calls; use indirection
......@@ -119,7 +119,7 @@
;; reg + const, which the patterns can't handle.
;; We only allow SYMBOL_REF if !flag_pic.
(define_predicate "call_insn_operand"
(ior (and (match_test "!flag_pic") (match_code "symbol_ref"))
(ior (and (match_test "!flag_pic && !TARGET_LONG_CALLS") (match_code "symbol_ref"))
(match_operand 0 "register_no_elim_operand")))
;; Test for an operator valid in a conditional branch
......
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