Commit b52d80d3 by Richard Kenner

[USE_GAS]: Output `jbsr' instead of `jsr' for normal function calls and `bsr.l'...

[USE_GAS]: Output `jbsr' instead of `jsr' for normal function calls
and `bsr.l' instead of `bsr' for pic function calls.

From-SVN: r10200
parent 8291155f
......@@ -5891,7 +5891,7 @@
"! flag_pic"
"*
#ifdef MOTOROLA
#if defined (MOTOROLA) && !defined (USE_GAS)
#ifdef MOTOROLA_BSR
if (GET_CODE (operands[0]) == MEM
&& GET_CODE (XEXP (operands[0], 0)) == SYMBOL_REF)
......@@ -5917,9 +5917,13 @@
#ifdef HPUX_ASM
return \"bsr.l %0\";
#else
#ifdef USE_GAS
return \"bsr.l %0@PLTPC\";
#else
return \"bsr %0@PLTPC\";
#endif
#endif
#endif
return \"jsr %0\";
")
......@@ -5951,7 +5955,7 @@
;; Operand 2 not really used on the m68000.
"! flag_pic"
"*
#ifdef MOTOROLA
#if defined (MOTOROLA) && !defined (USE_GAS)
#ifdef MOTOROLA_BSR
if (GET_CODE (operands[1]) == MEM
&& GET_CODE (XEXP (operands[1], 0)) == SYMBOL_REF)
......@@ -5977,9 +5981,13 @@
#ifdef HPUX_ASM
return \"bsr.l %1\";
#else
#ifdef USE_GAS
return \"bsr.l %1@PLTPC\";
#else
return \"bsr %1@PLTPC\";
#endif
#endif
#endif
return \"jsr %1\";
")
......
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