1/*
2 * Copyright (c) 2019 Jan Van Winkel <jan.van_winkel@dxplore.eu>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#if defined (CONFIG_CPP)
8	SECTION_DATA_PROLOGUE(.gcc_except_table,,ONLY_IF_RW)
9	{
10	*(.gcc_except_table .gcc_except_table.*)
11	} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
12
13#if defined (CONFIG_CPP_EXCEPTIONS)
14    SECTION_PROLOGUE(.tm_clone_table,,)
15	{
16	KEEP (*(SORT_NONE(EXCLUDE_FILE (*crtend.o) .tm_clone_table)))
17	KEEP (*(SORT_NONE(.tm_clone_table)))
18	} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
19#endif /* CONFIG_CPP_EXCEPTIONS */
20
21#endif /* CONFIG_CPP */
22