Fix FLOATING in linker scripts conflicting with section constraints (#2148)

This commit is contained in:
Rangi authored and GitHub committed 2026-09-26 07:54:48 -04:00
1 parent 6a08e809b5
commit 03c71ced93
7 files changed
+90 -10

No files matched your search

@@ -0,0 +1,9 @@
error: The linker script aligns floating section "fixed" to ALIGN[8, 42], but it was already at address $1234 which has ALIGN[8, 52]
at linkerscript-floating-conflict.link(4)
error: The linker script aligns floating section "aligned" to ALIGN[8, 23], but it already has requested ALIGN[8, 42]
at linkerscript-floating-conflict.link(8)
error: The linker script aligns floating section "less aligned" to ALIGN[8, 2], but it already has requested ALIGN[4, 1]
at linkerscript-floating-conflict.link(12)
error: The linker script aligns floating section "more aligned" to ALIGN[4, 2], but it already has requested ALIGN[8, 1]
at linkerscript-floating-conflict.link(16)
Linking failed with 4 errors