Merge branch 'feature/cxx_exceptions' into 'master'

Partial support for C++ exceptions

See merge request !930
This commit is contained in:
Ivan Grokhotkov
2017-09-01 00:27:41 +08:00
2 changed files with 11 additions and 2 deletions

View File

@@ -154,11 +154,13 @@ SECTIONS
*(.rodata1)
__XT_EXCEPTION_TABLE_ = ABSOLUTE(.);
*(.xt_except_table)
*(.gcc_except_table)
*(.gcc_except_table .gcc_except_table.*)
*(.gnu.linkonce.e.*)
*(.gnu.version_r)
*(.eh_frame)
. = (. + 3) & ~ 3;
__eh_frame = ABSOLUTE(.);
KEEP(*(.eh_frame))
. = (. + 7) & ~ 3;
/* C++ constructor and destructor tables, properly ordered: */
__init_array_start = ABSOLUTE(.);
KEEP (*crtbegin.o(.ctors))