summaryrefslogtreecommitdiff
path: root/bsp/imx6ul
diff options
context:
space:
mode:
authoraozima <[email protected]>2019-10-22 09:47:41 +0800
committeraozima <[email protected]>2019-10-22 09:47:41 +0800
commit525d353403c0c665328ea52416922c82ae2eaac5 (patch)
tree7a744ad34632f76b6895c653978e2b7aa4d74ecf /bsp/imx6ul
parentc1bf9e645ed9c0d2959c21ea83c4a2ff86bb63f6 (diff)
fixed linker script and stack align issues.
Diffstat (limited to 'bsp/imx6ul')
-rw-r--r--bsp/imx6ul/imx6.lds6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsp/imx6ul/imx6.lds b/bsp/imx6ul/imx6.lds
index d8d7480006..a889774f85 100644
--- a/bsp/imx6ul/imx6.lds
+++ b/bsp/imx6ul/imx6.lds
@@ -65,8 +65,8 @@ SECTIONS
. += 16K;
}
+ . = ALIGN(8);
__data_start = .;
- . = ALIGN(4);
.data :
{
*(.data)
@@ -74,8 +74,8 @@ SECTIONS
}
__data_end = .;
- . = ALIGN(4);
- __bss_start = __data_end;
+ . = ALIGN(8);
+ __bss_start = .;
.bss :
{
*(.bss)