mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +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:
@@ -148,6 +148,7 @@ SECTIONS
|
||||
*(.dtors)
|
||||
_dtors_end = . ;
|
||||
|
||||
. = ALIGN(4);
|
||||
_edata = . ;
|
||||
edata = ALIGN( 0x10 ) ;
|
||||
} > DSPACE
|
||||
|
||||
@@ -148,6 +148,7 @@ SECTIONS
|
||||
*(.dtors)
|
||||
_dtors_end = . ;
|
||||
|
||||
. = ALIGN(4);
|
||||
_edata = . ;
|
||||
edata = ALIGN( 0x10 ) ;
|
||||
} > DSPACE
|
||||
|
||||
Reference in New Issue
Block a user