Remove second zero of BSS
authorAnton Blanchard <anton@samba.org>
Thu, 8 Jul 2010 19:03:34 +0000 (19:03 +0000)
committerTony Breeds <tony@bakeyournoodle.com>
Fri, 16 Jul 2010 05:51:57 +0000 (15:51 +1000)
commit6f27cd4ad3feeba79cac882ef3f7177224a5935b
treefc18be393d1fa871954f06f86e8ac5db3ce84e51
parent2c611ced5c7fa551d47da32e574bc7f2ff2df18b
Remove second zero of BSS

We zero the BSS in two places: once in _start() and then
again in yaboot_start(). The second time we actually get
it wrong and zero 1/4 of the BSS (since we subtract two
pointers).

Since this second zeroing is superfluous and buggy, remove
it.

While here, fix the comments in _start. It claims we aren't
clearing the BSS when we are.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
second/crt0.S
second/yaboot.c