Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I will try it as soon as I can. So .eh_frame us really used for exception handling?
And I thought I disabled exceptions by setting -fno-exceptions for g++.
And "/DISCARD/" includes all sections to ignore, right?
sebihepp wrote:I will try it as soon as I can. So .eh_frame us really used for exception handling?
And I thought I disabled exceptions by setting -fno-exceptions for g++.
That should do the trick, yes. I would not discard any sections in the linker script: you should make sure your compiler does not create these sections in the first place.