How to force a specific variable/custom section to not be a program section in the generated elf

前端 未结 0 645
渐次进展
渐次进展 2021-01-03 07:39

I have a code in C which declares

struct my_struct my_val __attribute__((section(".mysection"))) = {0, 0};

This section is made up

相关标签:
回答
  • 消灭零回复
提交回复
热议问题