Files
Ivaylo Ivanov d712a206bb arm: start: set sp to stack_bottom instead of stack_top
For conveniency, stack_bottom points to the end of the stack region in the
linker file as it grows backwards on arm:

	.stack ALIGN(0x1000) : {
		__stack_top = .;
		. += 0x1000;
		__stack_bottom = .;
	}

However, we have somehow missed that and STILL made sp point to __stack_top,
which makes it grow backwards into .bss... oops, lol. Tested on qemu-virt set
to use cortex-a15.
2026-05-28 22:05:30 +02:00
..