• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

修订版63222ec9df5665a611a4ea5cc0261e92a3726e41 (tree)
时间2002-12-21 11:21:00
作者Nick Clifton <nickc@redh...>
CommiterNick Clifton

Log Message

Disable WINCE workaround that subtracted 8 from pc relative relocations.

更改概述

差异

--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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+
16 2002-12-20 Kazu Hirata <kazu@cs.umass.edu>
27
38 * coff-h8300.c: Fix comment typos.
--- a/bfd/coff-arm.c
+++ b/bfd/coff-arm.c
@@ -1281,9 +1281,12 @@ coff_arm_relocate_section (output_bfd, info, input_bfd, input_section,
12811281 #ifdef ARM_WINCE
12821282 /* MS ARM-CE makes the reloc relative to the opcode's pc, not
12831283 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. */
12841286 if (howto->pc_relative && !info->relocateable)
12851287 addend -= 8;
12861288 #endif
1289+#endif
12871290
12881291 /* If we are doing a relocateable link, then we can just ignore
12891292 a PC relative reloc that is pcrel_offset. It will already