Skip to content

Commit

Permalink
CRIS: Fix alignment problem for older ld
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jniax committed Aug 4, 2010
1 parent 2d495eb commit 85d9865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/cris/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 = .;
Expand Down

0 comments on commit 85d9865

Please sign in to comment.