mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Disallow relocations in read-only segments
This commit is contained in:
parent
7cc1442588
commit
6c14d225fd
@ -1,7 +1,7 @@
|
|||||||
%rename link old_link
|
%rename link old_link
|
||||||
|
|
||||||
*link:
|
*link:
|
||||||
%(old_link) -T switch.ld%s -pie --gc-sections
|
%(old_link) -T switch.ld%s -pie --gc-sections -z text
|
||||||
|
|
||||||
*startfile:
|
*startfile:
|
||||||
switch_crt0%O%s crti%O%s crtbegin%O%s
|
switch_crt0%O%s crti%O%s crtbegin%O%s
|
||||||
|
Loading…
Reference in New Issue
Block a user