projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ab9b79
)
comment change
author
Ian Lance Taylor
<ian@airs.com>
Sun, 12 Sep 1999 02:27:31 +0000
(
02:27
+0000)
committer
Ian Lance Taylor
<ian@airs.com>
Sun, 12 Sep 1999 02:27:31 +0000
(
02:27
+0000)
gas/config/tc-i386.c
patch
|
blob
|
history
diff --git
a/gas/config/tc-i386.c
b/gas/config/tc-i386.c
index 74f1bd3f5cca1bf7ec537b13d4b7487fa45c297c..0148f72fb4ddc15e6927bd39ed2e645667c5dddc 100644
(file)
--- 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)