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"; }