mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
9111927f85
A SHT_NOBITS section was unconditionally treated as .bss (RAM) unless it was the stack. The ESP linker scripts emit non-writable SHT_NOBITS sections (.irom_dummy / .rodata_dummy) that merely reserve the flash-mapped XIP virtual address ranges and occupy no RAM. Counting them inflated the reported bss/RAM usage. Signed-off-by: deadprogram <ron@hybridgroup.com>