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

From-SVN: r48226
This commit is contained in:
Richard Henderson 2001-12-20 16:33:29 -08:00 committed by Richard Henderson
parent 002d2e0b80
commit f350566bf4
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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")])