Reduce binary sizes for the kernel and userspace apps

This commit is contained in:
2025-11-15 23:56:16 +01:00
parent e66fe4030d
commit 0a43ba36cd
7 changed files with 24 additions and 7 deletions

View File

@ -25,4 +25,12 @@ SECTIONS {
. = ALIGN(4K);
_bss_end = .;
}
/DISCARD/ : {
*(.eh_frame)
*(.eh_frame_hdr)
*(.gcc_except_table*)
*(.note*)
*(.comment)
}
}