Commit 188a8190 by Richard Stallman

(call and call_value pic recognizers) [HPUX_ASM]:

Output plain bsr, without `@PLTPC'.

From-SVN: r5092
parent 4dbc7773
...@@ -4855,12 +4855,16 @@ ...@@ -4855,12 +4855,16 @@
"flag_pic" "flag_pic"
"* "*
#ifdef HPUX_ASM
return \"bsr %0\";
#else
#ifdef MOTOROLA #ifdef MOTOROLA
if (GET_CODE (operands[0]) == MEM if (GET_CODE (operands[0]) == MEM
&& GET_CODE (XEXP (operands[0], 0)) == SYMBOL_REF) && GET_CODE (XEXP (operands[0], 0)) == SYMBOL_REF)
return \"bsr %0@PLTPC\"; return \"bsr %0@PLTPC\";
#endif #endif
return \"jsr %0\"; return \"jsr %0\";
#endif
") ")
;; Call subroutine, returning value in operand 0 ;; Call subroutine, returning value in operand 0
...@@ -4906,12 +4910,16 @@ ...@@ -4906,12 +4910,16 @@
;; Operand 2 not really used on the m68000. ;; Operand 2 not really used on the m68000.
"flag_pic" "flag_pic"
"* "*
#ifdef HPUX_ASM
return \"bsr %1\";
#else
#ifdef MOTOROLA #ifdef MOTOROLA
if (GET_CODE (operands[1]) == MEM if (GET_CODE (operands[1]) == MEM
&& GET_CODE (XEXP (operands[1], 0)) == SYMBOL_REF) && GET_CODE (XEXP (operands[1], 0)) == SYMBOL_REF)
return \"bsr %1@PLTPC\"; return \"bsr %1@PLTPC\";
#endif #endif
return \"jsr %1\"; return \"jsr %1\";
#endif
") ")
;; Call subroutine returning any type. ;; Call subroutine returning any type.
......
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