What's the use of the .eh_frame section in C programs?

自作多情 提交于 2020-01-02 02:22:08

问题


I have a statically linked executable compiled from a C program. objdump -x a.out indicates the presence of the .eh_frame section, even after strip -s. Why is this section useful in a C (non-C++) program? What are the risks of stripping it (with strip -R .eh_frame)?


回答1:


From remyabel's comment and OP's confirmation, the answer to the OP question is available via another SO question as linked by:

Why GCC compiled C program needs .eh_frame section?



来源:https://stackoverflow.com/questions/21351099/whats-the-use-of-the-eh-frame-section-in-c-programs

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!