
15 Oct
2008
15 Oct
'08
10:54 p.m.
On Oct 15, 2008, at 1:17 PM, Selvamuthukumar wrote:
Most of the bss initialization loop increments 4 bytes at a time. And the loop end is checked for an 'equal' condition. Make the bss end address aligned by 4, so that the loop will end as expected.
IMHO, this is a bad programming practice to check for equal and make these assumptions. The code should be corrected to determine the proper size of the bss space and zero accordingly.... or at least test for greater than or equal.
Thanks.
-- Dan