mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
* scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
.gcc_except_table output sections lost accidentally with -z relro patch.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2004-06-15 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
|
||||||
|
.gcc_except_table output sections lost accidentally with
|
||||||
|
-z relro patch.
|
||||||
|
|
||||||
2004-06-15 Alan Modra <amodra@bigpond.net.au>
|
2004-06-15 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* ldwrite.c (build_link_order): Use bfd_get_section_size
|
* ldwrite.c (build_link_order): Use bfd_get_section_size
|
||||||
|
@ -312,7 +312,7 @@ cat <<EOF
|
|||||||
${OTHER_READONLY_SECTIONS}
|
${OTHER_READONLY_SECTIONS}
|
||||||
.eh_frame_hdr : { *(.eh_frame_hdr) }
|
.eh_frame_hdr : { *(.eh_frame_hdr) }
|
||||||
.eh_frame ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.eh_frame)) }
|
.eh_frame ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.eh_frame)) }
|
||||||
.gcc_except_table ${RELOCATING-0} : ONLY_IF_RO { *(.gcc_except_table) }
|
.gcc_except_table ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) }
|
||||||
|
|
||||||
/* Adjust the address for the data segment. We want to adjust up to
|
/* Adjust the address for the data segment. We want to adjust up to
|
||||||
the same address within the page on the next page up. */
|
the same address within the page on the next page up. */
|
||||||
@ -322,7 +322,7 @@ cat <<EOF
|
|||||||
|
|
||||||
/* Exception handling */
|
/* Exception handling */
|
||||||
.eh_frame ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.eh_frame)) }
|
.eh_frame ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.eh_frame)) }
|
||||||
.gcc_except_table ${RELOCATING-0} : ONLY_IF_RW { *(.gcc_except_table) }
|
.gcc_except_table ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) }
|
||||||
|
|
||||||
/* Thread Local Storage sections */
|
/* Thread Local Storage sections */
|
||||||
.tdata ${RELOCATING-0} : { *(.tdata${RELOCATING+ .tdata.* .gnu.linkonce.td.*}) }
|
.tdata ${RELOCATING-0} : { *(.tdata${RELOCATING+ .tdata.* .gnu.linkonce.td.*}) }
|
||||||
|
Reference in New Issue
Block a user