mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
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:
@ -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>
|
2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
||||||
|
|
||||||
* ld-avr/gc-section-debugline.d: Relax regex check for CU.
|
* ld-avr/gc-section-debugline.d: Relax regex check for CU.
|
||||||
|
@ -125,7 +125,7 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
${R_RDATA}
|
${R_RDATA}
|
||||||
${RELOCATING+__rt_psrelocs_start = .;}
|
${RELOCATING+__rt_psrelocs_start = .;}
|
||||||
*(.rdata_runtime_pseudo_reloc)
|
KEEP(*(.rdata_runtime_pseudo_reloc))
|
||||||
${RELOCATING+__rt_psrelocs_end = .;}
|
${RELOCATING+__rt_psrelocs_end = .;}
|
||||||
}
|
}
|
||||||
${RELOCATING+__rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start;}
|
${RELOCATING+__rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start;}
|
||||||
|
@ -133,7 +133,7 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
${R_RDATA}
|
${R_RDATA}
|
||||||
${RELOCATING+__rt_psrelocs_start = .;}
|
${RELOCATING+__rt_psrelocs_start = .;}
|
||||||
*(.rdata_runtime_pseudo_reloc)
|
KEEP(*(.rdata_runtime_pseudo_reloc))
|
||||||
${RELOCATING+__rt_psrelocs_end = .;}
|
${RELOCATING+__rt_psrelocs_end = .;}
|
||||||
}
|
}
|
||||||
${RELOCATING+__rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start;}
|
${RELOCATING+__rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start;}
|
||||||
|
Reference in New Issue
Block a user