aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-12 02:27:31 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-12 02:27:31 +0000
commit0723899b7ed86dd3f4b08610dc53ac6ade6abac5 (patch)
treefd9d9d755733ea969a7522fd1bb41de2ad6bd0f5
parent2ab9b79ef9cf161728a55edbb8b004a79a5423f0 (diff)
downloadgdb-0723899b7ed86dd3f4b08610dc53ac6ade6abac5.zip
gdb-0723899b7ed86dd3f4b08610dc53ac6ade6abac5.tar.gz
gdb-0723899b7ed86dd3f4b08610dc53ac6ade6abac5.tar.bz2
comment change
-rw-r--r--gas/config/tc-i386.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 74f1bd3..0148f72 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)