projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d495eb
)
CRIS: Fix alignment problem for older ld
author
Jesper Nilsson
<jesper.nilsson@axis.com>
Wed, 4 Aug 2010 16:30:01 +0000
(18:30 +0200)
committer
Jesper Nilsson
<jesper.nilsson@axis.com>
Wed, 4 Aug 2010 16:30:01 +0000
(18:30 +0200)
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>
arch/cris/kernel/vmlinux.lds.S
patch
|
blob
|
history
diff --git
a/arch/cris/kernel/vmlinux.lds.S
b/arch/cris/kernel/vmlinux.lds.S
index 789ad35f7e081aa218a263116efc5d563e7291c6..442218980db02e716b3be48e1071661598ab7c10 100644
(file)
--- a/
arch/cris/kernel/vmlinux.lds.S
+++ b/
arch/cris/kernel/vmlinux.lds.S
@@
-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 = .;