From 9e6f4c6b9df392846dab302a661ef1a98cda599f Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 13 Feb 1997 23:12:14 +0000 Subject: [PATCH] Correct errors in some comments (bfd_perform_relocation was refered to instead of bfd_install_relocation). --- gas/config/tc-mips.c | 4 ++-- gas/config/tc-sparc.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 8be02a11fc2..322bfe7afa1 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -8542,7 +8542,7 @@ md_apply_fix (fixP, valueP) case BFD_RELOC_PCREL_HI16_S: /* The addend for this is tricky if it is internal, so we just - do everything here rather than in bfd_perform_relocation. */ + do everything here rather than in bfd_install_relocation. */ if ((fixP->fx_addsy->bsym->flags & BSF_SECTION_SYM) == 0) { /* For an external symbol adjust by the address to make it @@ -8562,7 +8562,7 @@ md_apply_fix (fixP, valueP) case BFD_RELOC_PCREL_LO16: /* The addend for this is tricky if it is internal, so we just - do everything here rather than in bfd_perform_relocation. */ + do everything here rather than in bfd_install_relocation. */ if ((fixP->fx_addsy->bsym->flags & BSF_SECTION_SYM) == 0) value += fixP->fx_frag->fr_address + fixP->fx_where; buf = (unsigned char *) fixP->fx_frag->fr_literal + fixP->fx_where; diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c index f0d751aedc3..00a961daf42 100644 --- a/gas/config/tc-sparc.c +++ b/gas/config/tc-sparc.c @@ -2398,7 +2398,7 @@ md_apply_fix3 (fixP, value, segment) #ifdef OBJ_ELF /* FIXME: SPARC ELF relocations don't use an addend in the data field itself. This whole approach should be somehow combined - with the calls to bfd_perform_relocation. Also, the value passed + with the calls to bfd_install_relocation. Also, the value passed in by fixup_segment includes the value of a defined symbol. We don't want to include the value of an externally visible symbol. */ if (fixP->fx_addsy != NULL) -- 2.30.2