stratosphere: discard unnecessary .eh_frame segment

This commit is contained in:
Michael Scire
2021-01-13 08:30:24 -08:00
parent af7233d84c
commit b5816b4a91
3 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
SECTIONS
{
/* Discard .eh_frame section */
/DISCARD/ : { *(.group .comment .note .interp)
EXCLUDE_FILE(*crtbegin.o) *(.eh_frame_hdr .eh_frame)
}
}