mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 18:06:50 +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) }
|
.rodata1 : { *(.rodata1) }
|
||||||
|
|
||||||
.eh_frame_hdr : { *(.eh_frame_hdr) } : eh_frame : ro
|
.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
|
* Adjust the address for the data segment. We want to adjust up to
|
||||||
@ -198,7 +199,6 @@ SECTIONS
|
|||||||
KEEP (*(.eh_frame))
|
KEEP (*(.eh_frame))
|
||||||
LONG(0)
|
LONG(0)
|
||||||
}
|
}
|
||||||
.gcc_except_table : { *(.gcc_except_table .gcc_except_table.*) }
|
|
||||||
_edata = .; PROVIDE (edata = .);
|
_edata = .; PROVIDE (edata = .);
|
||||||
__bss_start = .;
|
__bss_start = .;
|
||||||
.bss :
|
.bss :
|
||||||
|
Loading…
x
Reference in New Issue
Block a user