diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2010-08-04 12:30:01 -0400 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2010-08-04 12:30:01 -0400 |
commit | 85d9865721c62a551547984e6cc8bd3ba732e294 (patch) | |
tree | fc8e6615ce881114f2c5fab9c0c9391ee3ff3f44 /arch/cris | |
parent | 2d495ebc55f0d5a7ac488716230d817d43818549 (diff) |
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')
-rw-r--r-- | arch/cris/kernel/vmlinux.lds.S | 2 |
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 | |||
124 | __init_end = .; | 124 | __init_end = .; |
125 | 125 | ||
126 | __data_end = . ; /* Move to _edata ? */ | 126 | __data_end = . ; /* Move to _edata ? */ |
127 | BSS_SECTION(0, 0, 0) | 127 | BSS_SECTION(1, 1, 1) |
128 | 128 | ||
129 | . = ALIGN (0x20); | 129 | . = ALIGN (0x20); |
130 | _end = .; | 130 | _end = .; |