When enabling C++ exceptions in a project the following linker warning appears:
warning #10247-D: creating output section ".c6xabi.exidx" without a SECTIONS specification
warning #10247-D: creating output section ".c6xabi.extab" without a SECTIONS specification
Now, the first thing I try (since RTSC based projects normally don't need a custom linker command file) is to add the following to my .cfg:
Program.sectMap[".c6xabi.exidx"] = "DDR3";
Program.sectMap[".c6xabi.extab"] = "DDR3";
This results in an warning and the lines are ignored:
"./configPkg/linker.cmd", line 218: warning #10094-D: split placement (>>)
ignored for ".c6xabi.exidx": cannot split EH Index table
..and so I am forced to create a custom linker command file to link correctly.
Is there a way to solve this problem in the .cfg, without having to resort to creating a custom linker command file?
Thanks,
-itay