stratosphere: discard unnecessary .eh_frame segment
This commit is contained in:
7
libraries/libstratosphere/discard-ehframe.ld
Normal file
7
libraries/libstratosphere/discard-ehframe.ld
Normal file
@@ -0,0 +1,7 @@
|
||||
SECTIONS
|
||||
{
|
||||
/* Discard .eh_frame section */
|
||||
/DISCARD/ : { *(.group .comment .note .interp)
|
||||
EXCLUDE_FILE(*crtbegin.o) *(.eh_frame_hdr .eh_frame)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user