2019-09-07 21:10:45 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Jan Van Winkel <jan.van_winkel@dxplore.eu>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined (CONFIG_CPLUSPLUS)
|
|
|
|
SECTION_PROLOGUE(.gcc_except_table,,ONLY_IF_RO)
|
|
|
|
{
|
|
|
|
*(.gcc_except_table .gcc_except_table.*)
|
2021-03-07 09:44:44 +08:00
|
|
|
} GROUP_ROM_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
2021-06-06 01:12:14 +08:00
|
|
|
|
|
|
|
#if defined (CONFIG_EXCEPTIONS)
|
|
|
|
SECTION_PROLOGUE(.eh_frame_hdr,,)
|
|
|
|
{
|
|
|
|
*(.eh_frame_hdr)
|
|
|
|
} GROUP_ROM_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
|
|
|
|
|
|
|
SECTION_PROLOGUE(.eh_frame,,)
|
|
|
|
{
|
|
|
|
KEEP (*(SORT_NONE(EXCLUDE_FILE (*crtend.o) .eh_frame)))
|
|
|
|
KEEP (*(SORT_NONE(.eh_frame)))
|
|
|
|
} GROUP_ROM_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
|
|
|
#endif /* CONFIG_EXCEPTIONS */
|
|
|
|
|
|
|
|
#endif /* CONFIG_CPLUSPLUS */
|