diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1997-02-13 23:12:14 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1997-02-13 23:12:14 +0000 |
commit | 9e6f4c6b9df392846dab302a661ef1a98cda599f (patch) | |
tree | 701f52872bfa190585d0723511b0994055384f0e /gas | |
parent | 89b41978ab4fce275a3534e25f4ea58f76ae9224 (diff) | |
download | gdb-9e6f4c6b9df392846dab302a661ef1a98cda599f.zip gdb-9e6f4c6b9df392846dab302a661ef1a98cda599f.tar.gz gdb-9e6f4c6b9df392846dab302a661ef1a98cda599f.tar.bz2 |
Correct errors in some comments (bfd_perform_relocation was refered to
instead of bfd_install_relocation).
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/tc-mips.c | 4 | ||||
-rw-r--r-- | 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 8be02a1..322bfe7 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 f0d751a..00a961d 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) |