mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 14:05:17 -04:00
stratosphere: discard unnecessary .eh_frame segment
This commit is contained in:
parent
af7233d84c
commit
b5816b4a91
3 changed files with 12 additions and 1 deletions
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)
|
||||
}
|
||||
}
|
4
libraries/libstratosphere/stratosphere.specs
Normal file
4
libraries/libstratosphere/stratosphere.specs
Normal file
|
@ -0,0 +1,4 @@
|
|||
%rename link pre_old_link
|
||||
|
||||
*link:
|
||||
%(pre_old_link) -T %:getenv(ATMOSPHERE_LIBRARIES_DIR /libstratosphere/discard-ehframe.ld)
|
Loading…
Add table
Add a link
Reference in a new issue