mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
Kconfig files, binfmt/libelf, libs/libc/machin, libs/libxx: Correct libcxx exception handling by introducing the generic config(CXX_EXCEPTION and CXX_LIBSUPCXX)
This commit is contained in:
@@ -46,14 +46,6 @@
|
||||
#include <arch/elf.h>
|
||||
#include <nuttx/elf.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_UCLIBCXX_EXCEPTION
|
||||
extern void init_unwind_exidx(Elf32_Addr start, Elf32_Addr end);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
@@ -472,13 +464,3 @@ int up_relocateadd(FAR const Elf32_Rela *rel, FAR const Elf32_Sym *sym,
|
||||
berr("ERROR: RELA relocation not supported\n");
|
||||
return -ENOSYS;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_UCLIBCXX_EXCEPTION
|
||||
int up_init_exidx(Elf32_Addr address, Elf32_Word size)
|
||||
{
|
||||
init_unwind_exidx(address, size);
|
||||
|
||||
return OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user