mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-29 02:20:21 +00:00
update gcc linker script: fixed __bss_start align error.
This commit is contained in:
@@ -67,7 +67,7 @@ SECTIONS
|
||||
__data_end = .;
|
||||
|
||||
. = ALIGN(4);
|
||||
__bss_start = __data_end;
|
||||
__bss_start = .;
|
||||
.bss :
|
||||
{
|
||||
*(.bss)
|
||||
|
||||
@@ -75,7 +75,7 @@ SECTIONS
|
||||
__data_end = .;
|
||||
|
||||
. = ALIGN(4);
|
||||
__bss_start = __data_end;
|
||||
__bss_start = .;
|
||||
.bss :
|
||||
{
|
||||
*(.bss)
|
||||
|
||||
@@ -92,7 +92,7 @@ SECTIONS
|
||||
__data_end = .;
|
||||
|
||||
. = ALIGN(4);
|
||||
__bss_start = __data_end;
|
||||
__bss_start = 0;
|
||||
.bss :
|
||||
{
|
||||
*(.bss)
|
||||
|
||||
Reference in New Issue
Block a user