• 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

修订版630dfe9a3683d0246d81261aa60c00c543c85610 (tree)
时间2002-07-20 13:24:21
作者Jason Thorpe <thorpej@netb...>
CommiterJason Thorpe

Log Message

* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only insert
DT_PLTGOT into the dynamic section if there is a PLT.

更改概述

差异

--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
1+2002-07-20 Jason Thorpe <thorpej@wasabisystems.com>
2+
3+ * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only insert
4+ DT_PLTGOT into the dynamic section if there is a PLT.
5+
16 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
27
38 * configure.in: Set is_release=y for 2.12.1 release.
--- a/bfd/elf64-alpha.c
+++ b/bfd/elf64-alpha.c
@@ -3237,12 +3237,10 @@ elf64_alpha_size_dynamic_sections (output_bfd, info)
32373237 return false;
32383238 }
32393239
3240- if (!add_dynamic_entry (DT_PLTGOT, 0))
3241- return false;
3242-
32433240 if (relplt)
32443241 {
3245- if (!add_dynamic_entry (DT_PLTRELSZ, 0)
3242+ if (!add_dynamic_entry (DT_PLTGOT, 0)
3243+ || !add_dynamic_entry (DT_PLTRELSZ, 0)
32463244 || !add_dynamic_entry (DT_PLTREL, DT_RELA)
32473245 || !add_dynamic_entry (DT_JMPREL, 0))
32483246 return false;