#1350 SDCC #4867: broken option --xram-size

closed-fixed
5
2013-05-25
2007-06-28
Patryk
No

Broken option --xram-size in #4867, worked in #4847.
AMD Athlon XP 1700+, WXP HE PL SP2

Source:
xdata char tbl[0x0410] = {10};
void main(void) {}

command:
sdcc --xram-size 0x0400 Source6.c

SDCC version:
SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.7.2 #4867 (Jun 28 2007) (MINGW32)

Expected behaviour: report linker error (out of xram space).

Discussion

  • Patryk

    Patryk - 2007-06-28

    source file exposing bug

     
  • Patryk

    Patryk - 2007-06-28

    Logged In: YES
    user_id=1788180
    Originator: YES

    *.map file shows 65536 bytes as max of EXTERNAL RAM. Also *.map file seems to not count objects placed at absolute addresses.

     
  • Borut Ražem

    Borut Ražem - 2007-06-29

    Logged In: YES
    user_id=568035
    Originator: NO

    Fixed in svn revision #4871.

    Borut

     
  • Borut Ražem

    Borut Ražem - 2007-06-29
    • labels: 355281 --> C-Front End
    • milestone: --> fixed
    • assigned_to: nobody --> borutr
    • status: open --> closed-fixed
     
  • Patryk

    Patryk - 2007-07-02

    Logged In: YES
    user_id=1788180
    Originator: YES

    Great!
    About *.map file (to count objects placed at absolute addresses): should I post feature request?

     
  • Patryk

    Patryk - 2007-07-02

    Logged In: YES
    user_id=1788180
    Originator: YES

    Sorry: I mean *.mem file, not *.map.

     
  • Borut Ražem

    Borut Ražem - 2007-07-02

    Logged In: YES
    user_id=568035
    Originator: NO

    Patryk,

    please submit a feature request for .mem file problem.

    Borut

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks