diff options
author | Nick Clifton <nickc@redhat.com> | 2011-04-11 15:38:11 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-04-11 15:38:11 +0000 |
commit | d4d68cb45a56d7e68f9efe2855df7cfa6b4f87bd (patch) | |
tree | ae9c0841a5a5a3f70f3d2a58b66042951001eb22 | |
parent | cda558459aa46c7721c49e5ddb09593aab0e216a (diff) | |
download | binutils-redhat-d4d68cb45a56d7e68f9efe2855df7cfa6b4f87bd.tar.gz |
* scripttempl/elf.sc (.exception_ranges): Add new section.
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/scripttempl/elf.sc | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 135f10d128..a139a8163e 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 4f298a153e..149eec7ab3 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.*}) } |