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.
This commit is contained in:
parent
41f46ed9fe
commit
45821bef09
@ -1,3 +1,10 @@
|
||||
2016-03-18 Awson <kyrab@mail.ru>
|
||||
|
||||
PR 19531
|
||||
* scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
|
||||
this section.
|
||||
* scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
|
||||
|
||||
2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
||||
|
||||
* ld-avr/gc-section-debugline.d: Relax regex check for CU.
|
||||
|
@ -125,7 +125,7 @@ SECTIONS
|
||||
{
|
||||
${R_RDATA}
|
||||
${RELOCATING+__rt_psrelocs_start = .;}
|
||||
*(.rdata_runtime_pseudo_reloc)
|
||||
KEEP(*(.rdata_runtime_pseudo_reloc))
|
||||
${RELOCATING+__rt_psrelocs_end = .;}
|
||||
}
|
||||
${RELOCATING+__rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start;}
|
||||
|
@ -133,7 +133,7 @@ SECTIONS
|
||||
{
|
||||
${R_RDATA}
|
||||
${RELOCATING+__rt_psrelocs_start = .;}
|
||||
*(.rdata_runtime_pseudo_reloc)
|
||||
KEEP(*(.rdata_runtime_pseudo_reloc))
|
||||
${RELOCATING+__rt_psrelocs_end = .;}
|
||||
}
|
||||
${RELOCATING+__rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start;}
|
||||
|
Loading…
Reference in New Issue
Block a user