Commit 9524442b by Richard Kenner

(call): Change HPUX_ASM case.

From-SVN: r6672
parent 0ab759e4
;;- Machine description for GNU compiler ;;- Machine description for GNU compiler
;;- Motorola 68000 Version ;;- Motorola 68000 Version
;; Copyright (C) 1987, 1988, 1993 Free Software Foundation, Inc. ;; Copyright (C) 1987, 1988, 1993, 1994 Free Software Foundation, Inc.
;; This file is part of GNU CC. ;; This file is part of GNU CC.
...@@ -4890,16 +4890,16 @@ ...@@ -4890,16 +4890,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)
#ifdef HPUX_ASM
return \"bsr.l %0\";
#else
return \"bsr %0@PLTPC\"; return \"bsr %0@PLTPC\";
#endif #endif
return \"jsr %0\";
#endif #endif
return \"jsr %0\";
") ")
;; Call subroutine, returning value in operand 0 ;; Call subroutine, returning value in operand 0
...@@ -4945,16 +4945,16 @@ ...@@ -4945,16 +4945,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)
#ifdef HPUX_ASM
return \"bsr.l %1\";
#else
return \"bsr %1@PLTPC\"; return \"bsr %1@PLTPC\";
#endif #endif
return \"jsr %1\";
#endif #endif
return \"jsr %1\";
") ")
;; 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