I'm using IAR ARM 7.10 and getting a warning:
Warning[25]: Label 'Reset_Handler' is defined pubweak in a section implicitly declared root...
It is cause the system reset sometimes.
How do I resolve this warning?
Yes, straight from iAR Support page:
Problem
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
In "startup_*.s" file replace string
SECTION .text:CODE:REORDER(1)
with string
SECTION .text:CODE:NOROOT:REORDER(1)
just before every symbol wich cause the warning.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With