??? 05/27/09 21:18 Read: times |
#165636 - findings Responding to: ???'s previous message |
Find complete results of compilation with v2.6.0 here - I will remove it after a week.
Looking at 8052.mem reveals, that "data" area (DSEG) is filled up to 0x77, leaving 8 bytes in this segment. Unfortunately, the .map nor .sym files are not very informative as long as automatic variables are concerned - i.e. space the compiler allocates to local variables when it cannot locate them to registers, and "spills", i.e. space for intermediate calculation results (again if they won't fit to registers). You have to go to .lst files, to the DSEG description, to have detailed information on these. Now take the 2.9.x, cut down from the buff[] array (I simply decreased BUFFSIZE to 16+1, but I don't guarantee it will work), which is the single biggest variable in "data", and comparing the DSEG in .lst you can see, where the newer version "looses space". It's slightly more than the 8 bytes "spare". JW |
Topic | Author | Date |
SDCC Linker problem with CMON51 | 01/01/70 00:00 | |
a wild, wild guess | 01/01/70 00:00 | |
I already tried a typecast | 01/01/70 00:00 | |
Why not take this to the SDCC forum? | 01/01/70 00:00 | |
Already considered this... | 01/01/70 00:00 | |
another possibility which is easy to check if ... | 01/01/70 00:00 | |
I assume so... | 01/01/70 00:00 | |
findings | 01/01/70 00:00 | |
findings2 | 01/01/70 00:00 | |
Temporary fix | 01/01/70 00:00 | |
back to the drawing board... | 01/01/70 00:00 | |
it's much less for DATA | 01/01/70 00:00 | |
fix for --funsigned-char | 01/01/70 00:00 | |
I'd like to but... | 01/01/70 00:00 | |
how to patch | 01/01/70 00:00 | |
Patch worked but SDCC doesn't compile anymore... | 01/01/70 00:00 | |
HOW doesn't compile? | 01/01/70 00:00 | |
Buffer cut | 01/01/70 00:00 | |
not enough direct-addressable memory | 01/01/70 00:00 | |
Nice idea but.... | 01/01/70 00:00 | |
I can try with the versions I have here... | 01/01/70 00:00 | |
Sure, why not | 01/01/70 00:00 | |
Solution found | 01/01/70 00:00 | |
SDCC Linker problem with CMON51![]() | 01/01/70 00:00 |