summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-01-12 09:07:42 +0100
committerDavid S. Miller <davem@davemloft.net>2020-01-12 09:07:42 +0100
commit548f0b9a5f4cffa0cecf62eb12aa8db682e4eee6 (patch)
treea3a53512397bdf4ce5ff85531b90563518af08a2 /arch
parentsparc: remove unneeded uapi/asm/statfs.h (diff)
downloadlinux-548f0b9a5f4cffa0cecf62eb12aa8db682e4eee6.tar.xz
linux-548f0b9a5f4cffa0cecf62eb12aa8db682e4eee6.zip
sparc: Add .exit.data section.
This fixes build errors of all sorts. Also, emit .exit.text unconditionally. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/kernel/vmlinux.lds.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/sparc/kernel/vmlinux.lds.S b/arch/sparc/kernel/vmlinux.lds.S
index 61afd787bd0c..59b6df13ddea 100644
--- 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 = .;