update gcc linker script: fixed __bss_start align error.

This commit is contained in:
aozima 2017-10-23 20:05:24 +08:00
parent 7a36b1f918
commit 601ab35841
3 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ SECTIONS
__data_end = .; __data_end = .;
. = ALIGN(4); . = ALIGN(4);
__bss_start = __data_end; __bss_start = .;
.bss : .bss :
{ {
*(.bss) *(.bss)

View File

@ -75,7 +75,7 @@ SECTIONS
__data_end = .; __data_end = .;
. = ALIGN(4); . = ALIGN(4);
__bss_start = __data_end; __bss_start = .;
.bss : .bss :
{ {
*(.bss) *(.bss)

View File

@ -92,7 +92,7 @@ SECTIONS
__data_end = .; __data_end = .;
. = ALIGN(4); . = ALIGN(4);
__bss_start = __data_end; __bss_start = 0;
.bss : .bss :
{ {
*(.bss) *(.bss)