mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
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:
parent
a387d68c2c
commit
cc98cef770
@ -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 :
|
||||
|
Loading…
x
Reference in New Issue
Block a user