aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-04-11 15:38:12 +0000
committerNick Clifton <nickc@redhat.com>2011-04-11 15:38:12 +0000
commited0d9c711c14c280d4c06bb200eaad162549efcb (patch)
tree89d8e0a8559528fcbd984098c2b447fe6c494a2e /ld
parent84701018a5c6836ef62235e97d07b19c502e53a6 (diff)
downloadgdb-ed0d9c711c14c280d4c06bb200eaad162549efcb.zip
gdb-ed0d9c711c14c280d4c06bb200eaad162549efcb.tar.gz
gdb-ed0d9c711c14c280d4c06bb200eaad162549efcb.tar.bz2
* scripttempl/elf.sc (.exception_ranges): Add new section.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/scripttempl/elf.sc7
2 files changed, 10 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 135f10d..a139a81 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index 4f298a1..149eec7 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -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.*}) }