summaryrefslogtreecommitdiffstats
path: root/arch/cris/kernel
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2010-08-04 18:30:01 +0200
committerJesper Nilsson <jesper.nilsson@axis.com>2010-08-04 18:30:01 +0200
commit85d9865721c62a551547984e6cc8bd3ba732e294 (patch)
treefc8e6615ce881114f2c5fab9c0c9391ee3ff3f44 /arch/cris/kernel
parent2d495ebc55f0d5a7ac488716230d817d43818549 (diff)
downloadlinux-85d9865721c62a551547984e6cc8bd3ba732e294.tar.bz2
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 <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris/kernel')
-rw-r--r--arch/cris/kernel/vmlinux.lds.S2
1 files changed, 1 insertions, 1 deletions
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 = .;