From: Jesper Nilsson Date: Wed, 4 Aug 2010 16:30:01 +0000 (+0200) Subject: CRIS: Fix alignment problem for older ld X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=85d9865721c62a551547984e6cc8bd3ba732e294;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git CRIS: Fix alignment problem for older ld CRISv10 uses a pretty old ld, which does not allow ALIGN(0), (It becomes . = 0;) so instead we align to 1 byte. Signed-off-by: Jesper Nilsson --- diff --git a/arch/cris/kernel/vmlinux.lds.S b/arch/cris/kernel/vmlinux.lds.S index 789ad35f7e08..442218980db0 100644 --- a/arch/cris/kernel/vmlinux.lds.S +++ b/arch/cris/kernel/vmlinux.lds.S @@ -124,7 +124,7 @@ SECTIONS __init_end = .; __data_end = . ; /* Move to _edata ? */ - BSS_SECTION(0, 0, 0) + BSS_SECTION(1, 1, 1) . = ALIGN (0x20); _end = .;