mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
All linker scripts: Preface all _ebss defininitions with . = ALIGN(4). Otherwise, the last bytes in the .bss section will not be initialized properly. Also convert all linker scripts that use TABs to spaces.
This commit is contained in:
@@ -89,6 +89,7 @@ SECTIONS
|
||||
*(.bss .bss.*)
|
||||
*(.gnu.linkonce.b.*)
|
||||
*(COMMON)
|
||||
. = ALIGN(4);
|
||||
_ebss = ABSOLUTE(.);
|
||||
} > ksram
|
||||
|
||||
|
||||
Reference in New Issue
Block a user