Is arch/x86/boot/main.c main obsolete?

ebashinskii ebashinskii at proton.me
Sun Jun 26 09:38:33 EDT 2022


I tried to set up a breakpoint inGDB and to lookup void main(void) and _start with objdumpon the kernel image without any success.

Actually it clearly says that the control Jump to the C code inarch/x86/boot/main.c. But as I mentioned before there's simply no such symbol as void main(void) in the Kernel image.

How can it jump to something that does not exist?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20220626/ea6cbe76/attachment.html>


More information about the Kernelnewbies mailing list