From 0723899b7ed86dd3f4b08610dc53ac6ade6abac5 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 12 Sep 1999 02:27:31 +0000 Subject: [PATCH] comment change --- gas/config/tc-i386.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) -- 2.30.2