core: zero bss and uibss; fix some section confusions
authorH. Peter Anvin <hpa@zytor.com>
Thu, 14 May 2009 05:05:41 +0000 (22:05 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 14 May 2009 05:05:41 +0000 (22:05 -0700)
commit95a461a83adf65aa5689b65f85330ce970121f56
treede8455836beab1ca73014bf57a0e855542577574
parent376a2bfe09b8292140d7a40ce77a1cc7f4316e17
core: zero bss and uibss; fix some section confusions

Set .bss and .uibss as soon as we are fully loaded.  This gives us the
more familiar behavior of most normal execution environments.  The
.earlybss section is not zeroed; therefore, all variables that are set
before we have the opportunity to zero need to go in this section.

This checkin also fixes some incorrect section directives.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/conio.inc
core/diskstart.inc
core/extlinux.asm
core/init.inc
core/isolinux.asm
core/layout.inc
core/ldlinux.asm
core/pxelinux.asm
core/syslinux.ld
core/writehex.inc
core/writestr.inc