aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-arm.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/coff-arm.c')
-rw-r--r--bfd/coff-arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c
index 91b2634..407004f 100644
--- a/bfd/coff-arm.c
+++ b/bfd/coff-arm.c
@@ -539,7 +539,7 @@ coff_arm_rtype_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
if (rel->r_type == ARM_RVA32)
*addendp -= pe_data (sec->output_section->owner)->pe_opthdr.ImageBase;
-#ifdef COFF_WITH_PE
+#if defined COFF_WITH_PE && defined ARM_WINCE
if (rel->r_type == ARM_SECREL)
{
bfd_vma osect_vma;