Commit f350566b by Richard Henderson Committed by Richard Henderson

* config/alpha/alpha.md (prologue_mcount): Update for explicit relocs.

From-SVN: r48226
parent 002d2e0b
2001-12-20 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.md (prologue_mcount): Update for explicit relocs.
2001-12-20 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (call_operand) [OSF]: Accept pseudos.
* config/alpha/alpha.md (call_osf, call_value_osf): Don't force
operand into $27.
......
......@@ -6470,7 +6470,12 @@ fadd,fmul,fcpys,fdiv,fsqrt,misc,mvi,ftoi,itof,multi"
(define_insn "prologue_mcount"
[(unspec_volatile [(const_int 0)] UNSPECV_MCOUNT)]
""
"lda $28,_mcount\;jsr $28,($28),_mcount"
{
if (TARGET_EXPLICIT_RELOCS)
return "ldq $28,_mcount($29)\t\t!literal!%#\;jsr $28,($28),_mcount\t\t!lituse_jsr!%#";
else
return "lda $28,_mcount\;jsr $28,($28),_mcount";
}
[(set_attr "type" "multi")
(set_attr "length" "8")])
......
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