标签: linker
我可以在命令行上覆盖一些链接符号,即
arm-none-eabi-gcc -Wl, - defsym = exit = 0 -Wl, - defsym = atexit = 0 -mthumb -march = armv7 -T board.ld test.c -0 test
但我如何用链接器文件覆盖它,即(如何通过链接器脚本文件提供 -Wl, - defsym = exit = 0 -Wl, - defsym = atexit = 0 )< / p>