x86: HACK force alignment for _k_task_list section

We are seeing on some platforms that the VMA alignment
does not match the LMA alignment for this section, resulting
in problems when copying into RAM by __csSet(); any copied
sections afterwards end up misaligned in RAM.

While the true fix for this is under investigation, force
4-byte alignment for VMA and LMA.

Change-Id: I627d9e7a3446cbc09dc310a156d8b3268e61c91d
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2015-10-06 09:14:33 -07:00 committed by Anas Nashif
parent 45a0e81871
commit d82e9dd9e1
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ SECTIONS
KEXEC_PGALIGN_PAD(MMU_PAGE_SIZE)
} GROUP_LINK_IN(RAM)
SECTION_PROLOGUE (_k_task_list, (OPTIONAL),)
SECTION_PROLOGUE (_k_task_list, ALIGN(4), ALIGN(4))
{
_k_task_list_start = .;
*(._k_task_list.public.*)