Message ID | 1518434373-27907-4-git-send-email-vladimir.murzin@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S index 84a1ae3..edcf07b 100644 --- a/arch/arm/kernel/vmlinux.lds.S +++ b/arch/arm/kernel/vmlinux.lds.S @@ -8,6 +8,8 @@ #include "vmlinux-xip.lds.S" #else +#include <linux/sizes.h> + #include <asm-generic/vmlinux.lds.h> #include <asm/cache.h> #include <asm/thread_info.h> @@ -102,6 +104,9 @@ SECTIONS . = ALIGN(1<<SECTION_SHIFT); #endif +#ifdef CONFIG_ARM_MPU + . = ALIGN(SZ_64); +#endif .text : { /* Real text segment */ _stext = .; /* Text and read-only data */ IDMAP_TEXT @@ -295,6 +300,9 @@ SECTIONS #endif BSS_SECTION(0, 0, 0) +#ifdef CONFIG_ARM_MPU + . = ALIGN(SZ_64); +#endif _end = .; STABS_DEBUG