Revert "device: add post-process of elf file to manage device handles"

This reverts commit 40d3653758.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
Peter Bigot 2021-01-22 16:58:26 -06:00 committed by Anas Nashif
commit affa7a1c7e
7 changed files with 5 additions and 367 deletions

View file

@ -37,17 +37,6 @@
}
ASSERT(SIZEOF(initlevel_error) == 0, "Undefined initialization levels used.")
SECTION_DATA_PROLOGUE(device_handles,,)
{
__device_handles_start = .;
#ifdef LINKER_PASS2
KEEP(*(SORT(.__device_handles_pass2)));
#else /* LINKER_PASS2 */
KEEP(*(SORT(.__device_handles_pass1)));
#endif /* LINKER_PASS2 */
__device_handles_end = .;
} GROUP_LINK_IN(ROMABLE_REGION)
#ifdef CONFIG_CPLUSPLUS
SECTION_PROLOGUE(_CTOR_SECTION_NAME,,)
{