=== modified file 'ChangeLog' --- ChangeLog 2013-07-14 21:10:27 +0000 +++ ChangeLog 2013-07-15 19:04:03 +0000 @@ -1,3 +1,6 @@ +2013-07-15 Paulo Flabiano Smorigo + * grub-core/kern/powerpc/ieee1275/startup.S: Fix bss clean up. + 2013-07-14 Vladimir Testov * grub-core/gfxmenu/gui_list.c: USe viewport when drawing strings. === modified file 'grub-core/kern/powerpc/ieee1275/startup.S' --- grub-core/kern/powerpc/ieee1275/startup.S 2011-10-18 13:21:51 +0000 +++ grub-core/kern/powerpc/ieee1275/startup.S 2013-07-15 18:59:29 +0000 @@ -32,10 +32,10 @@ li 13, 0 /* Stage1 won't zero BSS for us. In other cases, why not do it again? */ - lis 6, (__bss_start - 4)@h - ori 6, 6, (__bss_start - 4)@l - lis 7, (_end - 4)@h - ori 7, 7, (_end - 4)@l + lis 6, address@hidden + ori 6, 6, address@hidden + lis 7, address@hidden + ori 7, 7, address@hidden subf 7, 6, 7 srwi 7, 7, 2 /* We store 4 bytes at a time. */ mtctr 7