GNU Binutils with patches for OS216
修订版 | 63222ec9df5665a611a4ea5cc0261e92a3726e41 (tree) |
---|---|
时间 | 2002-12-21 11:21:00 |
作者 | Nick Clifton <nickc@redh...> |
Commiter | Nick Clifton |
Disable WINCE workaround that subtracted 8 from pc relative relocations.
@@ -1,3 +1,8 @@ | ||
1 | +2002-12-21 Nick Clifton <nickc@redhat.com> | |
2 | + | |
3 | + * coff-arm.c (coff_arm_relocate_section): Disable WINCE workaround | |
4 | + that subtracted 8 from pc relative relocations. | |
5 | + | |
1 | 6 | 2002-12-20 Kazu Hirata <kazu@cs.umass.edu> |
2 | 7 | |
3 | 8 | * coff-h8300.c: Fix comment typos. |
@@ -1281,9 +1281,12 @@ coff_arm_relocate_section (output_bfd, info, input_bfd, input_section, | ||
1281 | 1281 | #ifdef ARM_WINCE |
1282 | 1282 | /* MS ARM-CE makes the reloc relative to the opcode's pc, not |
1283 | 1283 | the next opcode's pc, so is off by one. */ |
1284 | +#if 0 /* This appears to have been true for WINCE 2.0, but it is not | |
1285 | + true for WINCE 3.0. */ | |
1284 | 1286 | if (howto->pc_relative && !info->relocateable) |
1285 | 1287 | addend -= 8; |
1286 | 1288 | #endif |
1289 | +#endif | |
1287 | 1290 | |
1288 | 1291 | /* If we are doing a relocateable link, then we can just ignore |
1289 | 1292 | a PC relative reloc that is pcrel_offset. It will already |