Commit 85d98657 authored by Jesper Nilsson's avatar Jesper Nilsson

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: default avatarJesper Nilsson <jesper.nilsson@axis.com>
parent 2d495ebc
...@@ -124,7 +124,7 @@ SECTIONS ...@@ -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 = .;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment