• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

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

修訂45821bef0977a7436aa5cd5f37f5a178d446d675 (tree)
時間2016-03-18 20:45:43
作者Awson <kyrab@mail...>
CommiterNick Clifton

Log Message

Ensure that the .rdata_pseudo_runtime_reloc sections are not discarded by gabage collection.

PR 19531
* scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
this section.
* scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.

Change Summary

差異

--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,10 @@
1+2016-03-18 Awson <kyrab@mail.ru>
2+
3+ PR 19531
4+ * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
5+ this section.
6+ * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
7+
18 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
29
310 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
--- a/ld/scripttempl/pe.sc
+++ b/ld/scripttempl/pe.sc
@@ -125,7 +125,7 @@ SECTIONS
125125 {
126126 ${R_RDATA}
127127 ${RELOCATING+__rt_psrelocs_start = .;}
128- *(.rdata_runtime_pseudo_reloc)
128+ KEEP(*(.rdata_runtime_pseudo_reloc))
129129 ${RELOCATING+__rt_psrelocs_end = .;}
130130 }
131131 ${RELOCATING+__rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start;}
--- a/ld/scripttempl/pep.sc
+++ b/ld/scripttempl/pep.sc
@@ -133,7 +133,7 @@ SECTIONS
133133 {
134134 ${R_RDATA}
135135 ${RELOCATING+__rt_psrelocs_start = .;}
136- *(.rdata_runtime_pseudo_reloc)
136+ KEEP(*(.rdata_runtime_pseudo_reloc))
137137 ${RELOCATING+__rt_psrelocs_end = .;}
138138 }
139139 ${RELOCATING+__rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start;}