Use the correct names for the init and fini array start symbols in the default Pru linker script.

* scripttempl/pru.sc (__init_array_begin, __init_array_begin):
	Rename.
This commit is contained in:
Dimitar Dimitrov 2019-05-09 10:26:11 +01:00 committed by Nick Clifton
parent b42560a241
commit dd3189990b
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2019-05-09 Dimitar Dimitrov <dimitar@dinux.eu>
* scripttempl/pru.sc (__init_array_begin, __init_array_begin):
Rename.
2019-05-08 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
PR 24536

View File

@ -119,11 +119,11 @@ SECTIONS
/* CRT is prepared for constructor/destructor table to have
a "valid" NULL address. */
${CONSTRUCTING+ __init_array_begin = . ; }
${CONSTRUCTING+ __init_array_start = . ; }
${CONSTRUCTING+ KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*)))}
${CONSTRUCTING+ KEEP (*(.init_array))}
${CONSTRUCTING+ __init_array_end = . ; }
${CONSTRUCTING+ __fini_array_begin = . ; }
${CONSTRUCTING+ __fini_array_start = . ; }
${CONSTRUCTING+ KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*)))}
${CONSTRUCTING+ KEEP (*(.fini_array))}
${CONSTRUCTING+ __fini_array_end = . ; }