From: SourceForge.net <no...@so...> - 2010-09-26 13:47:11
|
Bugs item #1771944, was opened at 2007-08-10 21:03 Message generated for change (Comment added) made by spth You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=1771944&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: linker Group: known bugs Status: Open Resolution: Wont Fix Priority: 5 Private: No Submitted By: lelad (lelad1) Assigned to: Nobody/Anonymous (nobody) Summary: Absolute addressing of data area. Initial Comment: Sample of code xxx.c: data at 0x78 unsigned char x=0; void main(void) { x=1; } Exact command used to run SDCC on this sample code: sdcc --model-large --xram-size 0x1f00 --iram-size 0xff --code-size 0x6000 --code-loc 0x8000 --xram-loc 0xe100 --no-pack-iram --stack-loc 0x80 xxx.c SDCC version: SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.7.3 #4896 (Aug 8 2007) Error messages: ASlink-Error-Internal memory overlap starting at 0x00. ?ASlink-Warning-19 bytes in data memory wasted. SDCC link could use: --data-loc 0xffffffed e-mail: les...@po... ---------------------------------------------------------------------- >Comment By: Philipp Klaus Krause (spth) Date: 2010-09-26 15:47 Message: Over three years have passed since the last comment on this bug. sdcc --help still shows --no-pack-iram and does not mention it being deprecated. Shouldn't --no-pack-iram be marked deprecated by now or, alternatively, this bug report be reopened? Philipp ---------------------------------------------------------------------- Comment By: Maarten Brock (maartenbrock) Date: 2007-09-03 22:34 Message: Logged In: YES user_id=888171 Originator: NO When you need to reserve some iram for a monitor or other tool or library, you can do so with the normal packing of iram too. One can use --data-loc and --iram-size to limit the used area. Or one can reserve space in an absolute segment in assembly. I see no reason to keep the old way around and maintain both versions. Maarten ---------------------------------------------------------------------- Comment By: lelad (lelad1) Date: 2007-09-02 20:26 Message: Logged In: YES user_id=1300353 Originator: YES I think, it is not good idea to mark --no-pack-iram option deprecated. This option is very useful for people using test-boards with monitor which uses some cells of iram. So it is very important to fix bug described above. Lelad ---------------------------------------------------------------------- Comment By: Maarten Brock (maartenbrock) Date: 2007-09-01 11:16 Message: Logged In: YES user_id=888171 Originator: NO The problem is related to --no-pack-iram. If you do not use this switch the problem disappears. I also see no reason to use --no-pack-iram in any circumstance. Therefor I propose not to fix this bug, but instead mark --no-pack-iram deprecated. Maarten ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=1771944&group_id=599 |