aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1993-06-25 11:41:01 -0600
committerJeff Law <law@gcc.gnu.org>1993-06-25 11:41:01 -0600
commitd5e87e5eedc78f7e1065d550800ae5127615920c (patch)
tree12d628caf58fb239e9ca3daf7b67f00ec1c462da
parent5a079bea22c2948573e60fad3ea0b1f9a12fd6b3 (diff)
downloadgcc-d5e87e5eedc78f7e1065d550800ae5127615920c.zip
gcc-d5e87e5eedc78f7e1065d550800ae5127615920c.tar.gz
gcc-d5e87e5eedc78f7e1065d550800ae5127615920c.tar.bz2
pa.c: References to TARGET_SHARED_LIBS deleted.
* pa.c: References to TARGET_SHARED_LIBS deleted. * pa.md: Likewise. From-SVN: r4726
-rw-r--r--gcc/config/pa/pa.c5
-rw-r--r--gcc/config/pa/pa.md8
2 files changed, 6 insertions, 7 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index 58fe1e0..84fab97 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 81091fb..0513809 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")])