Commit 9b827cf1 authored by Selvamuthukumar's avatar Selvamuthukumar Committed by Wolfgang Denk

Align end of bss by 4 bytes

Most of the bss initialization loop increments 4 bytes
at a time. And the loop end is checked for an 'equal'
condition. Make the bss end address aligned by 4, so
that the loop will end as expected.
Signed-off-by: default avatarSelvamuthukumar <selva.muthukumar@e-coninfotech.com>
Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent e0b0ec84
......@@ -61,6 +61,7 @@ SECTIONS
{
__bss_start = .;
*(.bss)
. = ALIGN(4);
__bss_end = .;
}
__end = . ;
......
......@@ -147,6 +147,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -131,6 +131,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -131,6 +131,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -135,6 +135,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -135,6 +135,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -135,6 +135,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -137,6 +137,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -64,6 +64,7 @@ SECTIONS
__bss_start =.;
.bss (NOLOAD): {
*(.bss)
. = ALIGN(4);
}
_end =.;
}
......@@ -69,6 +69,7 @@ SECTIONS
__bss_start =.;
.bss (NOLOAD): {
*(.bss)
. = ALIGN(4);
}
_end =.;
}
......@@ -69,6 +69,7 @@ SECTIONS
__bss_start =.;
.bss (NOLOAD): {
*(.bss)
. = ALIGN(4);
}
_end =.;
}
......@@ -60,6 +60,7 @@ SECTIONS
__bss_start =.;
.bss (NOLOAD): {
*(.bss)
. = ALIGN(4);
}
_end =.;
}
......@@ -118,6 +118,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -115,6 +115,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -129,6 +129,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
......
......@@ -130,6 +130,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -129,6 +129,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
......
......@@ -138,6 +138,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
......
......@@ -130,6 +130,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -129,6 +129,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
......
......@@ -136,6 +136,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
......
......@@ -137,6 +137,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -134,6 +134,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -129,6 +129,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
......
......@@ -130,6 +130,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -137,6 +137,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -130,6 +130,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -137,6 +137,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -141,6 +141,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -129,6 +129,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
......
......@@ -135,6 +135,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
ppcenv_assert = ASSERT(. < 0xFFFF8000, ".bss section too big, overlaps .ppcenv section. Please update your confguration: CONFIG_SYS_MONITOR_BASE, CONFIG_SYS_MONITOR_LEN and TEXT_BASE may need to be modified.");
......
......@@ -130,6 +130,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -137,6 +137,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -131,6 +131,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -137,6 +137,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -137,6 +137,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -138,6 +138,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -58,6 +58,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -50,6 +50,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -53,6 +53,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -52,6 +52,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -138,6 +138,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -134,6 +134,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -51,6 +51,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -51,6 +51,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -51,6 +51,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -116,6 +116,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -52,6 +52,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -122,6 +122,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -51,6 +51,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -146,6 +146,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -51,6 +51,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -147,6 +147,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -147,6 +147,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -51,6 +51,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -53,6 +53,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -141,6 +141,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
ppcenv_assert = ASSERT(. < 0xFFFF8000, ".bss section too big, overlaps .ppcenv section. Please update your confguration: CONFIG_SYS_MONITOR_BASE, CONFIG_SYS_MONITOR_LEN and TEXT_BASE may need to be modified.");
......
......@@ -47,6 +47,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -47,6 +47,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -47,6 +47,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -47,6 +47,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -65,6 +65,6 @@ SECTIONS
. = ALIGN(4);
.sbss (NOLOAD) : { *(.sbss) }
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
uboot_end = .;
}
......@@ -51,6 +51,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -51,6 +51,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -131,6 +131,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -131,6 +131,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -124,6 +124,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -124,6 +124,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -51,6 +51,6 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss (NOLOAD) : { *(.bss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}
......@@ -115,6 +115,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -146,6 +146,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -132,6 +132,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -143,6 +143,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -156,6 +156,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -142,6 +142,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -154,6 +154,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
. = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
......
......@@ -143,6 +143,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)