]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* scripttempl/elf.sc (.exception_ranges): Add new section.
authorNick Clifton <nickc@redhat.com>
Mon, 11 Apr 2011 15:38:12 +0000 (15:38 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 11 Apr 2011 15:38:12 +0000 (15:38 +0000)
ld/ChangeLog
ld/scripttempl/elf.sc

index 135f10d128248a6c6aaa1aa586e828b7b0e4486b..a139a8163ed3e42e256d612b63cd425fbd9c51b9 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-11  Chris Quenelle  <chris.quenelle@oracle.com>
+
+       * scripttempl/elf.sc (.exception_ranges): Add new section.
+
 2011-04-08  Hector Oron  <hector.oron@gmail.com>
 
        PR ld/12643
index 4f298a153ea65fc243022911c69a8d5910344459..149eec7ab3e650ddb2c9efd15467c8044a69d85c 100644 (file)
@@ -470,7 +470,11 @@ cat <<EOF
   ${OTHER_READONLY_SECTIONS}
   .eh_frame_hdr : { *(.eh_frame_hdr) }
   .eh_frame     ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.eh_frame)) }
-  .gcc_except_table ${RELOCATING-0} : ONLY_IF_RO { *(.gcc_except_table .gcc_except_table.*) }
+  .gcc_except_table ${RELOCATING-0} : ONLY_IF_RO { *(.gcc_except_table
+  .gcc_except_table.*) }
+  /* These sections are generated by the Sun/Oracle C++ compiler.  */
+  .exception_ranges ${RELOCATING-0} : ONLY_IF_RO { *(.exception_ranges
+  .exception_ranges*) }
 
   /* Adjust the address for the data segment.  We want to adjust up to
      the same address within the page on the next page up.  */
@@ -481,6 +485,7 @@ cat <<EOF
   /* Exception handling  */
   .eh_frame     ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.eh_frame)) }
   .gcc_except_table ${RELOCATING-0} : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }
+  .exception_ranges ${RELOCATING-0} : ONLY_IF_RW { *(.exception_ranges .exception_ranges*) }
 
   /* Thread Local Storage sections  */
   .tdata       ${RELOCATING-0} : { *(.tdata${RELOCATING+ .tdata.* .gnu.linkonce.td.*}) }