Fix linker script align 16 in floating address context (#2115)

Turns out we were just using the wrong var lmao
This commit is contained in:
Eldred Habert
2026-09-17 20:46:55 -04:00
committed by GitHub
parent 8bf5957c83
commit afe1f01d00
4 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ void layout_AlignTo(uint32_t alignment, uint32_t alignOfs) {
if (isPcFloating) {
if (alignment >= 16) {
layout_SetAddr(floatingAlignOffset);
layout_SetAddr(alignOfs);
} else {
uint32_t alignSize = 1u << alignment;
uint32_t alignMask = alignSize - 1;