ESP32: Update linker script to use naming expected by CXX initialization

This commit is contained in:
Gregory Nutt 2016-10-31 15:43:28 -06:00
parent 4d0b0e44f1
commit 1eb15d0d4e
1 changed files with 2 additions and 2 deletions

View File

@ -123,12 +123,12 @@ SECTIONS
. = (. + 3) & ~ 3;
/* C++ constructor and destructor tables, properly ordered: */
__init_array_start = ABSOLUTE(.);
__sinit = ABSOLUTE(.);
KEEP (*crtbegin.o(.ctors))
KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
KEEP (*(SORT(.ctors.*)))
KEEP (*(.ctors))
__init_array_end = ABSOLUTE(.);
_einit = ABSOLUTE(.);
KEEP (*crtbegin.o(.dtors))
KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
KEEP (*(SORT(.dtors.*)))