mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-10 06:01:52 +00:00
kern .fini array: one weird trick
This commit is contained in:
parent
9accbcf8e1
commit
797c04d19f
1 changed files with 1 additions and 9 deletions
|
@ -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) }
|
||||
|
|
Loading…
Reference in a new issue