'QEMU exists immediately

I'm trying to learn how to do bare metal programming on arm-a cores. To debug the code I'm using qemu. The unfortunate thing is that qemu exists immediately after launch, with no logs. The following are the CLI args.

qemu-system-arm -M versatilepb -m 128M -nographic -s -S -kernel build/test

I linking in such a way that the entry point is at 0x1000

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source