2009-07-03 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Fri, 3 Jul 2009 10:44:57 +0000 (10:44 +0000)
committerTristan Gingold <gingold@adacore.com>
Fri, 3 Jul 2009 10:44:57 +0000 (10:44 +0000)
* scripttempl/pep.sc: Put .eh_frame in its own section.
* scripttempl/pe.sc: Ditto.

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

index a966e37193560acf487b05ece2b4c893f123bc59..951439f0c3bd5858b88e6514684408be034f1860 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-03  Tristan Gingold  <gingold@adacore.com>
+
+       * scripttempl/pep.sc: Put .eh_frame in its own section.
+       * scripttempl/pe.sc: Ditto.
+       
 2009-06-26  Kai Tietz  <kai.tietz@onevision.com>
 
        * scripttempl/pe.sc (.debug_pubtypes): Added section rule.
index d49d2a0ef6d070adb01043d5bf085281449a46a3..687efb0438e3c209df7b146d512cf67e5cf1ad04 100644 (file)
@@ -102,7 +102,6 @@ SECTIONS
   .rdata ${RELOCATING+BLOCK(__section_alignment__)} :
   {
     ${R_RDATA}
-    ${RELOCATING+ *(.eh_frame)}
     ${RELOCATING+___RUNTIME_PSEUDO_RELOC_LIST__ = .;}
     ${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST__ = .;}
     *(.rdata_runtime_pseudo_reloc)
@@ -110,6 +109,11 @@ SECTIONS
     ${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST_END__ = .;}
   }
 
+  .eh_frame ${RELOCATING+BLOCK(__section_alignment__)} :
+  {
+    *(.eh_frame)
+  }
+
   .pdata ${RELOCATING+BLOCK(__section_alignment__)} :
   {
     *(.pdata)
index 47d644af7f65ce029ba2242071bdfdcb307deff3..b39469ddb5471bc62dd24cc00e50b8005cda7b0b 100644 (file)
@@ -103,7 +103,6 @@ SECTIONS
   .rdata ${RELOCATING+BLOCK(__section_alignment__)} :
   {
     ${R_RDATA}
-    ${RELOCATING+ *(.eh_frame)}
     ${RELOCATING+___RUNTIME_PSEUDO_RELOC_LIST__ = .;}
     ${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST__ = .;}
     *(.rdata_runtime_pseudo_reloc)
@@ -111,6 +110,11 @@ SECTIONS
     ${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST_END__ = .;}
   }
 
+  .eh_frame ${RELOCATING+BLOCK(__section_alignment__)} :
+  {
+    *(.eh_frame)
+  }
+
   .pdata ${RELOCATING+BLOCK(__section_alignment__)} :
   {
     *(.pdata)