Hacker News new | ask | show | jobs
by grahamedgecombe 3613 days ago
> You need to zero fill .bss section in the boot code before jumping to C code.

GRUB does this for you. See this thread from a few years ago: https://news.ycombinator.com/item?id=7590790

1 comments

Hah, it was a response to my comment back then too.

Either that applies only to multiboot v2 or there was a bug in qemu loader since I had a non-zero value in .bss.