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:
Gregory Nutt
2019-09-15 17:22:16 -06:00
parent 0bd60c3722
commit 2925c28f8f
304 changed files with 3653 additions and 3258 deletions
+1
View File
@@ -148,6 +148,7 @@ SECTIONS
*(.dtors)
_dtors_end = . ;
. = ALIGN(4);
_edata = . ;
edata = ALIGN( 0x10 ) ;
} > DSPACE
+1
View File
@@ -148,6 +148,7 @@ SECTIONS
*(.dtors)
_dtors_end = . ;
. = ALIGN(4);
_edata = . ;
edata = ALIGN( 0x10 ) ;
} > DSPACE