Commit d82e9dd9 authored by Andrew Boie's avatar Andrew Boie Committed by Anas Nashif
Browse files

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: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent 45a0e818
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.*)