aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
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/scripttempl
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/scripttempl')
-rw-r--r--ld/scripttempl/elf.sc7
1 files changed, 6 insertions, 1 deletions
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.*}) }