+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.
(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")])