aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-i386.c
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2010-03-31 16:32:02 +0000
committerKai Tietz <kai.tietz@onevision.com>2010-03-31 16:32:02 +0000
commitb706dc83c1a3d333c25aaaeb088960322845b8fd (patch)
tree03b19ad900fdc43b5fabc2847e1071ceb3c5d3b7 /bfd/coff-i386.c
parent2ae2a0b7f1515ed92ed1dbd071af7856a6061242 (diff)
downloadgdb-b706dc83c1a3d333c25aaaeb088960322845b8fd.zip
gdb-b706dc83c1a3d333c25aaaeb088960322845b8fd.tar.gz
gdb-b706dc83c1a3d333c25aaaeb088960322845b8fd.tar.bz2
2010-03-31 Kai Tietz <kai.tietz@onevision.com>
* coff-i386.c (in_reloc_p): Check also for R_SECREL32. * coff-x86_64.c (in_reloc_p): Check also for R_AMD64_SECREL.
Diffstat (limited to 'bfd/coff-i386.c')
-rw-r--r--bfd/coff-i386.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/coff-i386.c b/bfd/coff-i386.c
index e7c4e8a..57c47d0 100644
--- a/bfd/coff-i386.c
+++ b/bfd/coff-i386.c
@@ -195,7 +195,8 @@ static bfd_boolean in_reloc_p (abfd, howto)
bfd * abfd ATTRIBUTE_UNUSED;
reloc_howto_type *howto;
{
- return ! howto->pc_relative && howto->type != R_IMAGEBASE;
+ return ! howto->pc_relative && howto->type != R_IMAGEBASE
+ && howto->type != R_SECREL32;
}
#endif /* COFF_WITH_PE */