Correct errors in some comments (bfd_perform_relocation was refered to
authorDavid Edelsohn <dje.gcc@gmail.com>
Thu, 13 Feb 1997 23:12:14 +0000 (23:12 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Thu, 13 Feb 1997 23:12:14 +0000 (23:12 +0000)
instead of bfd_install_relocation).

gas/config/tc-mips.c
gas/config/tc-sparc.c

index 8be02a1..322bfe7 100644 (file)
@@ -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;
index f0d751a..00a961d 100644 (file)
@@ -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)