AnsweredAssumed Answered

Strange undocumented Linker warning L4100

Question asked by slarti on Sep 26, 2008
Latest reply on Oct 2, 2008 by CompilerGuru

Hello,

I am using the Codewarrior compiler/linker for the S12X and recently the linker is issueing a warning which is not listed in the documentation:

 

WARNING L4100: Failed to convert address 0x13FF94 of FOO because of 'Flash area (C000..FFFF) is not paged'

 

The FOO struct is located at 0x13FF94 by the means of the following lines in the .prm file:


SECTIONS

MY_FOO_EEPROM_SEG = NO_INIT  0x13ff94 0x13ffee;

END

PLACEMENT

FOO_EEPROM_SEG INTO MY_FOO_EEPROM_SEG;

END

 

and of course the declaration and definition of FOO in the C source are guarded by

 

#pragma DATA_SEG FOO_EEPROM_SEG

...

#pragma DATA_SEG DEFAULT

 

I can't make any sense from this message (I fear I couldn't even if it had a less strange wording). Any hints?

 

thanks,

Mark

 

Outcomes