comment change
authorIan Lance Taylor <ian@airs.com>
Sun, 12 Sep 1999 02:27:31 +0000 (02:27 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 12 Sep 1999 02:27:31 +0000 (02:27 +0000)
gas/config/tc-i386.c

index 74f1bd3f5cca1bf7ec537b13d4b7487fa45c297c..0148f72fb4ddc15e6927bd39ed2e645667c5dddc 100644 (file)
@@ -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)
   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)