When is .ARM.exidx is used

后端 未结 3 651
陌清茗
陌清茗 2020-12-11 15:27

I am working on Contiki 2.7 with the mbxxx target. While building my code the linker complained about an overlap of .ARM.exidx and .data sections. After som

3条回答
  •  死守一世寂寞
    2020-12-11 15:57

    .ARM.exidx is the section containing information for unwinding the stack. If your C program has functions that print out a stack backtrace, the functions will likely depend on this section being present.

    Maybe look for a -funwind-tables or -fexceptions flag in your compiler options.

提交回复
热议问题