From: Ian Lance Taylor Date: Sun, 12 Sep 1999 02:27:31 +0000 (+0000) Subject: comment change X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0723899b7ed86dd3f4b08610dc53ac6ade6abac5;p=binutils-gdb.git comment change --- diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 74f1bd3f5cc..0148f72fb4d 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -3869,10 +3869,10 @@ md_apply_fix3 (fixP, valp, seg) } } - /* - * This is a hack. There should be a better way to - * handle this. - */ + /* This is a hack. There should be a better way to handle this. + This covers for the fact that bfd_install_relocation will + subtract the current location (for partial_inplace, PC relative + relocations); see more below. */ if ((fixP->fx_r_type == BFD_RELOC_32_PCREL || fixP->fx_r_type == BFD_RELOC_16_PCREL || fixP->fx_r_type == BFD_RELOC_8_PCREL)