genode_rel.ld: add .gcc_except_table to RO segment

By moving .gcc_except_table section to the read-only ELF segment, this
patch reduces the size of the dynamically allocated data/bss segment.
This commit is contained in:
Norman Feske 2016-12-02 14:44:07 +01:00
parent a387d68c2c
commit cc98cef770

View File

@ -85,6 +85,7 @@ SECTIONS
.rodata1 : { *(.rodata1) }
.eh_frame_hdr : { *(.eh_frame_hdr) } : eh_frame : ro
.gcc_except_table : { *(.gcc_except_table .gcc_except_table.*) }
/*
* Adjust the address for the data segment. We want to adjust up to
@ -198,7 +199,6 @@ SECTIONS
KEEP (*(.eh_frame))
LONG(0)
}
.gcc_except_table : { *(.gcc_except_table .gcc_except_table.*) }
_edata = .; PROVIDE (edata = .);
__bss_start = .;
.bss :