projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
038029c
)
sparc: Add .exit.data section.
author
David S. Miller
<davem@davemloft.net>
Sun, 12 Jan 2020 08:07:42 +0000
(
00:07
-0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 12 Jan 2020 08:07:42 +0000
(
00:07
-0800)
This fixes build errors of all sorts.
Also, emit .exit.text unconditionally.
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/vmlinux.lds.S
patch
|
blob
|
history
diff --git
a/arch/sparc/kernel/vmlinux.lds.S
b/arch/sparc/kernel/vmlinux.lds.S
index 61afd787bd0c7a7f82fef18f69aa7da6c1898425..59b6df13ddeadf0f08bc693132617c439ac3f9da 100644
(file)
--- a/
arch/sparc/kernel/vmlinux.lds.S
+++ b/
arch/sparc/kernel/vmlinux.lds.S
@@
-172,12
+172,14
@@
SECTIONS
}
PERCPU_SECTION(SMP_CACHE_BYTES)
-#ifdef CONFIG_JUMP_LABEL
. = ALIGN(PAGE_SIZE);
.exit.text : {
EXIT_TEXT
}
-#endif
+
+ .exit.data : {
+ EXIT_DATA
+ }
. = ALIGN(PAGE_SIZE);
__init_end = .;