Skip to content

Commit 4136f95

Browse files
committed
exception playground
1 parent 76a14b1 commit 4136f95

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ compiler.c.elf.cmd=xtensa-lx106-elf-gcc
4343
compiler.c.elf.libs=-lhal -lphy -lpp -lnet80211 {build.lwip_lib} -lwpa -lcrypto -lmain -lwps -laxtls -lespnow -lsmartconfig -lairkiss -lwpa2 -lstdc++ -lm -lc -lgcc
4444

4545
compiler.cpp.cmd=xtensa-lx106-elf-g++
46-
compiler.cpp.flags=-c {compiler.warning_flags} -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections
46+
compiler.cpp.flags=-c {compiler.warning_flags} -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections
4747

4848
compiler.as.cmd=xtensa-lx106-elf-as
4949

tools/sdk/ld/eagle.app.v6.common.ld.h

+5
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ SECTIONS
102102
#ifdef VTABLES_IN_FLASH
103103
*(.rodata._ZTV*) /* C++ vtables */
104104
#endif
105+
106+
*(.*except*)
107+
*libgcc.a:unwind-dw2.o(.literal .text .rodata .literal.* .text.* .rodata.*)
108+
*libgcc.a:unwind-dw2-fde.o(.literal .text .rodata .literal.* .text.* .rodata.*)
109+
105110
*libc.a:(.literal .text .literal.* .text.*)
106111
*libm.a:(.literal .text .literal.* .text.*)
107112
*libgcc.a:_umoddi3.o(.literal .text)

0 commit comments

Comments
 (0)