mirror of
https://github.com/apache/nuttx.git
synced 2025-12-19 10:54:48 +08:00
All linker scripts: Preface all _edata defininitions with . = ALIGN(4). Otherwise, the last bytes in the .data section may not be initialized properly. Also convert all linker scripts indent in units of 8-spaces to units of 4-spaces.
This commit is contained in:
@@ -84,6 +84,7 @@ SECTIONS
|
||||
*(.data .data.*)
|
||||
*(.gnu.linkonce.d.*)
|
||||
CONSTRUCTORS
|
||||
. = ALIGN(4);
|
||||
_edata = ABSOLUTE(.);
|
||||
} > sram0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user