We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I use the RENAMECLASS-command to define a BOOT_CODE-class.
When I create the following classes:
ICODE (0xC00200-0xC002ff), BOOT_CODE (0xC00300-0xC017FF)..
..and I force the linker to set the startup-code to:
SECTIONS (?C_STARTUP_CODE%ICODE (0xC0200))
.. I have the following result:
0C0200H 0C0359H 00015AH CODE REL WORD --- --- PRIV ICODE ?C_STARTUP_CODE .. C00300H C005B9H 0002BAH CODE REL WORD --- 1 PUBL BOOT_C ?PR?OSYS -ODE
The means the code in startup is overlapping with the code of BOOT_CODE-class.
I am confused, because I do not get any linker warning..
Thanks for the help! Best regards, Josef
Ups, this was a PICNIC-problem (Problem In Chair, Not In Computer).
A zero for the ICODE-section was forgotten during mapping-configuration.. shame on me.
Thanks a lot!
Best regards, Josef