Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I am using SDCC 2.8.0 #5117 (Mar 23 2008) for MCS51 port.
In the usermanual under sec 3.5, Absolute addressing, it is mentioned that the linker will detect the overlaps if variables are provided with initializers. I expect the linker to throw an error for the following piece of code but it is not giving any error.
volatile __code __at (0x2000) char dummy = 'a';
volatile __code __at (0x2000) char dummy1 = 'b';
if( dummy == dummy1 ) return 1;
compiler options: sdcc -mmcs51 example.c
Please help me in this regard.
I'd say you found a bug.