remove .size from startup.s, so linker.ld doesn't need gap-bridge symbols

This commit is contained in:
2026-05-21 11:26:47 +02:00
parent a77d0782bf
commit d0166f32a6
2 changed files with 15 additions and 11 deletions

View File

@ -55,4 +55,7 @@ _start:
# Set the size of the _start symbol to the current location '.' minus its start.
# This is useful when debugging or when you implement call tracing.
.size _start, . - _start
# If this is enabled, the linker.ld needs to define a symbol before the .text segment.
# Otherwise, there's a gap that prevents FAIL from disassembling the AOT.
# .size _start, . - _start