mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-20 20:22:38 +02:00
switch.ld: fix absolute addressing, incompatible with relr relocations
This commit is contained in:
parent
250a5777f7
commit
c7c9617290
@ -181,11 +181,11 @@ SECTIONS
|
||||
PROVIDE_HIDDEN( __bss_start__ = ADDR(.bss) );
|
||||
PROVIDE_HIDDEN( __bss_end__ = __tls_end );
|
||||
|
||||
PROVIDE_HIDDEN( __end__ = ABSOLUTE(.) );
|
||||
PROVIDE_HIDDEN( __end__ = . );
|
||||
|
||||
/* =========== Argument buffer =========== */
|
||||
. = ALIGN(0x1000);
|
||||
PROVIDE_HIDDEN( __argdata__ = ABSOLUTE(.) );
|
||||
PROVIDE_HIDDEN( __argdata__ = . );
|
||||
|
||||
/* ==================
|
||||
==== Metadata ====
|
||||
|
Loading…
Reference in New Issue
Block a user