diff options
author | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-04-04 05:36:01 -0500 |
---|---|---|
committer | AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> | 2016-04-06 07:45:10 -0400 |
commit | b771932dc75e689aeea7236a08ac9b92e3ab6734 (patch) | |
tree | dbffcc0a0f08f025a3d2624b53096664b235ac57 /sbe/image | |
parent | 56d9eba113bffba1635a74665c54fe2946f0ad94 (diff) | |
download | talos-sbe-b771932dc75e689aeea7236a08ac9b92e3ab6734.tar.gz talos-sbe-b771932dc75e689aeea7236a08ac9b92e3ab6734.zip |
Fix section allignment
If linker script defines some variables which are used by mainline
code, keep them on 8 byte allign boundary so that read/write does
not fail for those variables.
Change-Id: Ie53332ae78f242793e8b7e3a6ec67d079440efc2
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22830
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
Diffstat (limited to 'sbe/image')
-rw-r--r-- | sbe/image/linksbe.cmd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbe/image/linksbe.cmd b/sbe/image/linksbe.cmd index a0f76dca..6e287d28 100644 --- a/sbe/image/linksbe.cmd +++ b/sbe/image/linksbe.cmd @@ -39,6 +39,7 @@ SECTIONS // Other read-only data. + . = ALIGN(8); .rodata . : { ctor_start_address = .; *(.ctors) *(.ctors.*) ctor_end_address = .; @@ -67,6 +68,7 @@ SECTIONS .rela . : { *(.rela*) } > sram .rwdata . : { *(.data*) *(.bss*) } > sram + . = ALIGN(8); _PK_INITIAL_STACK_LIMIT = .; . = . + INITIAL_STACK_SIZE; _PK_INITIAL_STACK = . - 1; |