From a04a20db4e02aa895ab12a7b33e7e57e2c9075d9 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Sat, 21 Dec 2002 02:21:00 +0000 Subject: Disable WINCE workaround that subtracted 8 from pc relative relocations. --- bfd/coff-arm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bfd/coff-arm.c') diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c index ce711d1c4c..2fadcbef55 100644 --- a/bfd/coff-arm.c +++ b/bfd/coff-arm.c @@ -1281,8 +1281,11 @@ coff_arm_relocate_section (output_bfd, info, input_bfd, input_section, #ifdef ARM_WINCE /* MS ARM-CE makes the reloc relative to the opcode's pc, not the next opcode's pc, so is off by one. */ +#if 0 /* This appears to have been true for WINCE 2.0, but it is not + true for WINCE 3.0. */ if (howto->pc_relative && !info->relocateable) addend -= 8; +#endif #endif /* If we are doing a relocateable link, then we can just ignore -- cgit v1.2.1