From f5dab78c532a0eb424f8c1e2c85eb36cfda07a89 Mon Sep 17 00:00:00 2001 From: hasslesstech Date: Wed, 5 Feb 2025 13:36:23 +0200 Subject: [PATCH] remove 6 bytes by loading sp directly from vtable --- start.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.S b/start.S index 1322571..eb63658 100644 --- a/start.S +++ b/start.S @@ -10,5 +10,5 @@ vtable: .word __hard_reset__+1 __hard_reset__: - ldr sp, =__stack_start + ldr sp, [pc, #-12] b __hard_reset__