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>
This commit is contained in:
Jesper Nilsson 2010-08-04 18:30:01 +02:00
parent 2d495ebc55
commit 85d9865721

View file

@ -124,7 +124,7 @@ SECTIONS
__init_end = .; __init_end = .;
__data_end = . ; /* Move to _edata ? */ __data_end = . ; /* Move to _edata ? */
BSS_SECTION(0, 0, 0) BSS_SECTION(1, 1, 1)
. = ALIGN (0x20); . = ALIGN (0x20);
_end = .; _end = .;