Warning[25]: Label 'Reset_Handler' is defined pubweak in a section implicitly declared root
按以下的方法, 添加了NOROOT(2) ,变语法错误了,这是啥原因,V7.20 IAR,,, k别外 NOROOT(2) 这里的数字 2,是指该段内的标号个数吗?
IAR ASM手册也只是简单介绍一下;
After upgrading to EWARM 7.10.1 the Warning[25] is issued during assembly of a file that assembled without warning on earlier version of EWARM.
Background
The assembler (iasmarm) is (from EWARM 7.10.1) issuing Warning[25] for a deprecated assembler construction.
The deprecated assembler source construction looks like this:
PUBWEAK NMI_Handler
SECTION .text:CODE:REORDER(1)
NMI_Handler
Solution
To avoid the warning, add ":NOROOT" to the "SECTION" statement:
PUBWEAK NMI_Handler
SECTION .text:CODE:REORDER:NOROOT(1)
NMI_Handler |