mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 10:04:12 +08:00
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:
parent
2d495ebc55
commit
85d9865721
@ -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 = .;
|
||||
|
Loading…
Reference in New Issue
Block a user