[hatari-devel] symbol ignored at end of program |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi
I wanted to define 2 labels/symbols under an asm source :
BSS
Buffer
ds.b SCREEN_SIZE_BYTE*2
Buffer_end
When doing that, if the PRG is loaded under Hatari debugger, I get a
warning :
WARNING: ignoring symbol 'Buffer_end' of B type in slot 2 with invalid
offset 0x26128 (>= 0x26127).
I think that's an error, the symbol should also be added if its position
is the end of the section (BSS in that case), ie its position is end of
section + 1
Under debugger, it's sometime handy to see where your section ends in
memory (to check for overflow in debugged code and so on)
Nicolas