mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
- Added separate relro "segment" (introduced by [17.0.0+]) - Reordered sections to better reflect official layout - Fixed handling of TLS segment alignment
6 lines
245 B
Plaintext
6 lines
245 B
Plaintext
*link:
|
|
+ -T %:getenv(DEVKITPRO /libnx/switch.ld) -pie --no-dynamic-linker --spare-dynamic-tags=0 --gc-sections -z text -z now -z nodynamic-undefined-weak --build-id=sha1 --nx-module-name
|
|
|
|
*startfile:
|
|
crti%O%s crtbegin%O%s --require-defined=main
|