Ensure that the .rdata_pseudo_runtime_reloc sections are not discarded by gabage...
authorAwson <kyrab@mail.ru>
Fri, 18 Mar 2016 11:45:43 +0000 (11:45 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 18 Mar 2016 11:45:43 +0000 (11:45 +0000)
PR 19531
* scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
this section.
* scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.

ld/ChangeLog
ld/scripttempl/pe.sc
ld/scripttempl/pep.sc

index 401226bc54b11e306213159c6fd814654f2f3837..0137ab30885613abaf744b7d606f170a729c3daf 100644 (file)
@@ -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.
index f227cb64ba6b98d2329299a65dd13a276044bca5..59e4e89eb846cc3b36e7da9bb57924dde1cda31b 100644 (file)
@@ -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;}
index b664163e14d341081e20817732968d32bdf48cd9..c682fe70069fb40ad8af0c8884956c7a6a168993 100644 (file)
@@ -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;}
This page took 0.025158 seconds and 4 git commands to generate.