From d5e87e5eedc78f7e1065d550800ae5127615920c Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 25 Jun 1993 11:41:01 -0600 Subject: [PATCH] pa.c: References to TARGET_SHARED_LIBS deleted. * pa.c: References to TARGET_SHARED_LIBS deleted. * pa.md: Likewise. From-SVN: r4726 --- gcc/config/pa/pa.c | 5 ++--- gcc/config/pa/pa.md | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 58fe1e0edd7..84fab9750d9 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -841,8 +841,7 @@ emit_move_sequence (operands, mode, scratch_reg) emit_insn (gen_rtx (SET, VOIDmode, temp, gen_rtx (HIGH, mode, operand1))); - if (TARGET_SHARED_LIBS - && function_label_operand (operand1, mode)) + if (function_label_operand (operand1, mode)) { rtx temp = reload_in_progress ? scratch_reg : gen_reg_rtx (mode); @@ -3117,7 +3116,7 @@ secondary_reload_class (class, mode, 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) && GET_MODE_CLASS (mode) == MODE_INT && FP_REG_CLASS_P (class)) diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index 81091fba631..05138097104 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -1122,11 +1122,11 @@ [(set_attr "type" "binary,binary") (set_attr "length" "1,2")]) -;; For function addresses when TARGET_SHARED_LIBS +;; For function addresses. (define_insn "" [(set (match_operand:SI 0 "register_operand" "=r") (high:SI (match_operand:SI 1 "function_label_operand" "")))] - "TARGET_SHARED_LIBS" + "" "ldil LP'%G1,%0" [(set_attr "type" "move") (set_attr "length" "1")]) @@ -1139,13 +1139,13 @@ [(set_attr "type" "move") (set_attr "length" "1")]) -;; lo_sum of a function address when TARGET_SHARED_LIBS +;; lo_sum of a function address. (define_insn "" [(set (match_operand:SI 0 "register_operand" "=r") (lo_sum:SI (match_operand:SI 1 "register_operand" "r") (match_operand:SI 2 "function_label_operand" ""))) (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" [(set_attr "type" "multi") (set_attr "length" "4")]) -- 2.30.2