We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e62cfeb commit b87f311Copy full SHA for b87f311
tools/projmgr/templates/clang_linker_script.ld.src
@@ -120,6 +120,7 @@ SECTIONS
120
. = ALIGN(8);
121
122
/* lists of constructors and destructors */
123
+ PROVIDE_HIDDEN ( __bothinit_array_start = . );
124
PROVIDE_HIDDEN ( __preinit_array_start = . );
125
KEEP (*(.preinit_array))
126
PROVIDE_HIDDEN ( __preinit_array_end = . );
@@ -128,6 +129,7 @@ SECTIONS
128
129
KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*)))
130
KEEP (*(.init_array .ctors))
131
PROVIDE_HIDDEN ( __init_array_end = . );
132
+ PROVIDE_HIDDEN ( __bothinit_array_end = . );
133
134
PROVIDE_HIDDEN ( __fini_array_start = . );
135
KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*) SORT_BY_INIT_PRIORITY(.dtors.*)))
0 commit comments