1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-22 08:06:17 +04:00

Reduce number of ELF section by merging .text.* (etc.) sections together

This commit is contained in:
Philipp Oppermann 2017-04-13 17:56:41 +02:00
parent 9a86f60835
commit 402ec77bc0

View File

@ -11,6 +11,14 @@ SECTIONS {
.text :
{
*(.text)
*(.text .text.*)
}
.rodata : {
*(.rodata .rodata.*)
}
.data.rel.ro : {
*(.data.rel.ro.local*) *(.data.rel.ro .data.rel.ro.*)
}
}