GNU Binutils with patches for OS216
修訂 | 45821bef0977a7436aa5cd5f37f5a178d446d675 (tree) |
---|---|
時間 | 2016-03-18 20:45:43 |
作者 | Awson <kyrab@mail...> |
Commiter | Nick Clifton |
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.
@@ -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 | + | |
1 | 8 | 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
2 | 9 | |
3 | 10 | * ld-avr/gc-section-debugline.d: Relax regex check for CU. |
@@ -125,7 +125,7 @@ SECTIONS | ||
125 | 125 | { |
126 | 126 | ${R_RDATA} |
127 | 127 | ${RELOCATING+__rt_psrelocs_start = .;} |
128 | - *(.rdata_runtime_pseudo_reloc) | |
128 | + KEEP(*(.rdata_runtime_pseudo_reloc)) | |
129 | 129 | ${RELOCATING+__rt_psrelocs_end = .;} |
130 | 130 | } |
131 | 131 | ${RELOCATING+__rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start;} |
@@ -133,7 +133,7 @@ SECTIONS | ||
133 | 133 | { |
134 | 134 | ${R_RDATA} |
135 | 135 | ${RELOCATING+__rt_psrelocs_start = .;} |
136 | - *(.rdata_runtime_pseudo_reloc) | |
136 | + KEEP(*(.rdata_runtime_pseudo_reloc)) | |
137 | 137 | ${RELOCATING+__rt_psrelocs_end = .;} |
138 | 138 | } |
139 | 139 | ${RELOCATING+__rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start;} |