* coff-arm.c (coff_arm_rtype_to_howto): Only check for ARM_SECREL relocation types if the target is ARM_WINCE

This commit is contained in:
Nick Clifton 2006-08-07 10:26:08 +00:00
parent 0534816df0
commit 0be038d654
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-08-07 Nick Clifton <nickc@redhat.com>
* coff-arm.c (coff_arm_rtype_to_howto): Only check for ARM_SECREL
relocation types if the target is ARM_WINCE.
2006-08-05 Pedro Alves <pedro_alves@portugalmail.pt>
* bfd.c (bfd_get_sign_extend_vma): Add cases for pe-arm-little

View File

@ -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;