diff options
author | Nick Clifton <nickc@redhat.com> | 2006-08-07 10:26:08 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2006-08-07 10:26:08 +0000 |
commit | 0be038d65490941a5b6e2712c59fb0f77acd16f0 (patch) | |
tree | 6aee5b3c378e858f1b2879235f49e2d3fc269dbc /bfd/coff-arm.c | |
parent | 0534816df0a7ed7671a70d587c2c7cb6ce0954f6 (diff) | |
download | binutils-gdb-0be038d65490941a5b6e2712c59fb0f77acd16f0.tar.gz |
* coff-arm.c (coff_arm_rtype_to_howto): Only check for ARM_SECREL relocation types if the target is ARM_WINCE
Diffstat (limited to 'bfd/coff-arm.c')
-rw-r--r-- | bfd/coff-arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c index 91b2634f541..407004f4309 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; |