From e4ac76b4f1674a89ac14937e052c7f28d0de0b95 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 9 Jan 2002 18:07:46 -0800 Subject: [PATCH] * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc. From-SVN: r48707 --- gcc/ChangeLog | 4 ++++ gcc/config/alpha/alpha.md | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c1481c68ec8..8909c4a58d5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-01-09 Richard Henderson + + * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc. + 2002-01-10 Hans-Peter Nilsson * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md index 31d03c43ad1..68191bf9810 100644 --- a/gcc/config/alpha/alpha.md +++ b/gcc/config/alpha/alpha.md @@ -6523,7 +6523,9 @@ fadd,fmul,fcpys,fdiv,fsqrt,misc,mvi,ftoi,itof,multi" "" { if (TARGET_EXPLICIT_RELOCS) - return "ldq $28,_mcount($29)\t\t!literal!%#\;jsr $28,($28),_mcount\t\t!lituse_jsr!%#"; + /* Note that we cannot use a lituse_jsr reloc, since _mcount + cannot be called via the PLT. */ + return "ldq $28,_mcount($29)\t\t!literal\;jsr $28,($28),_mcount"; else return "lda $28,_mcount\;jsr $28,($28),_mcount"; }