1From 0080d0a64da274207bc341491f87863952bb6e3b Mon Sep 17 00:00:00 2001 2From: Joel Stanley <joel@jms.id.au> 3Date: Tue, 3 Aug 2021 17:28:17 +0930 4Subject: [PATCH] template: Fix alignment 5 6The assembler complains about unaliged data: 7 8 ./template.S: Assembler messages: 9 ./template.S:21: Error: misaligned data 10 11If the included data is not an aligned size, the the symbols following 12will be unaligned. 13 14We lost the alignment directive in commit 5f3deee1289e ("template: new 15libfdt requires 8-byte aligned fdt"), so add it back as it was before 16that commit. 17 18Reported by the buildroot autobuilder. 19 20Signed-off-by: Joel Stanley <joel@jms.id.au> 21--- 22 template.S | 1 + 23 1 file changed, 1 insertion(+) 24 25diff --git a/template.S b/template.S 26index ecf9bba0656d..df8c064d6bc0 100644 27--- a/template.S 28+++ b/template.S 29@@ -17,6 +17,7 @@ 30 SYM_START(SYMBOL_PREFIX): 31 .incbin FILENAME 32 SYM_END(SYMBOL_PREFIX): 33+.align 4 34 SYM_SIZE(SYMBOL_PREFIX): 35 .long SYM_END(SYMBOL_PREFIX) - SYM_START(SYMBOL_PREFIX) 36 .globl SYM_START(SYMBOL_PREFIX) 37-- 382.32.0 39 40