1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-23 02:42:09 +00:00

kern .fini array: one weird trick

This commit is contained in:
Michael Scire 2020-01-31 04:57:28 -08:00
parent 9accbcf8e1
commit 797c04d19f

View file

@ -92,14 +92,6 @@ SECTIONS
PROVIDE (__init_array_end = .);
} :rodata
.fini_array ALIGN(8) :
{
PROVIDE (__fini_array_start = .);
KEEP (*(.fini_array))
KEEP (*(SORT(.fini_array.*)))
PROVIDE (__fini_array_end = .);
} :rodata
__got_start__ = .;
.got : { *(.got) *(.igot) } :rodata
@ -174,7 +166,7 @@ SECTIONS
================== */
/* Discard sections that difficult post-processing */
/DISCARD/ : { *(.group .comment .note .interp) }
/DISCARD/ : { *(.group .comment .note .interp .fini_array .fini_array.*) }
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }