Commit d5e87e5e by Jeff Law

pa.c: References to TARGET_SHARED_LIBS deleted.

	* pa.c: References to TARGET_SHARED_LIBS deleted.
	* pa.md: Likewise.

From-SVN: r4726
parent 5a079bea
...@@ -841,8 +841,7 @@ emit_move_sequence (operands, mode, scratch_reg) ...@@ -841,8 +841,7 @@ emit_move_sequence (operands, mode, scratch_reg)
emit_insn (gen_rtx (SET, VOIDmode, emit_insn (gen_rtx (SET, VOIDmode,
temp, temp,
gen_rtx (HIGH, mode, operand1))); gen_rtx (HIGH, mode, operand1)));
if (TARGET_SHARED_LIBS if (function_label_operand (operand1, mode))
&& function_label_operand (operand1, mode))
{ {
rtx temp = reload_in_progress ? scratch_reg rtx temp = reload_in_progress ? scratch_reg
: gen_reg_rtx (mode); : gen_reg_rtx (mode);
...@@ -3117,7 +3116,7 @@ secondary_reload_class (class, mode, in) ...@@ -3117,7 +3116,7 @@ secondary_reload_class (class, mode, in)
{ {
int regno = true_regnum (in); int regno = true_regnum (in);
if ((TARGET_SHARED_LIBS && function_label_operand (in, mode)) if (function_label_operand (in, mode)
|| ((regno >= FIRST_PSEUDO_REGISTER || regno == -1) || ((regno >= FIRST_PSEUDO_REGISTER || regno == -1)
&& GET_MODE_CLASS (mode) == MODE_INT && GET_MODE_CLASS (mode) == MODE_INT
&& FP_REG_CLASS_P (class)) && FP_REG_CLASS_P (class))
......
...@@ -1122,11 +1122,11 @@ ...@@ -1122,11 +1122,11 @@
[(set_attr "type" "binary,binary") [(set_attr "type" "binary,binary")
(set_attr "length" "1,2")]) (set_attr "length" "1,2")])
;; For function addresses when TARGET_SHARED_LIBS ;; For function addresses.
(define_insn "" (define_insn ""
[(set (match_operand:SI 0 "register_operand" "=r") [(set (match_operand:SI 0 "register_operand" "=r")
(high:SI (match_operand:SI 1 "function_label_operand" "")))] (high:SI (match_operand:SI 1 "function_label_operand" "")))]
"TARGET_SHARED_LIBS" ""
"ldil LP'%G1,%0" "ldil LP'%G1,%0"
[(set_attr "type" "move") [(set_attr "type" "move")
(set_attr "length" "1")]) (set_attr "length" "1")])
...@@ -1139,13 +1139,13 @@ ...@@ -1139,13 +1139,13 @@
[(set_attr "type" "move") [(set_attr "type" "move")
(set_attr "length" "1")]) (set_attr "length" "1")])
;; lo_sum of a function address when TARGET_SHARED_LIBS ;; lo_sum of a function address.
(define_insn "" (define_insn ""
[(set (match_operand:SI 0 "register_operand" "=r") [(set (match_operand:SI 0 "register_operand" "=r")
(lo_sum:SI (match_operand:SI 1 "register_operand" "r") (lo_sum:SI (match_operand:SI 1 "register_operand" "r")
(match_operand:SI 2 "function_label_operand" ""))) (match_operand:SI 2 "function_label_operand" "")))
(clobber (match_operand:SI 3 "register_operand" "=r"))] (clobber (match_operand:SI 3 "register_operand" "=r"))]
"TARGET_SHARED_LIBS" ""
"ldo RP'%G2(%1),%0\;extru,= %0,31,1,%3\;ldw -4(0,%%r27),%3\;add %0,%3,%0" "ldo RP'%G2(%1),%0\;extru,= %0,31,1,%3\;ldw -4(0,%%r27),%3\;add %0,%3,%0"
[(set_attr "type" "multi") [(set_attr "type" "multi")
(set_attr "length" "4")]) (set_attr "length" "4")])
......
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