Skip to content

Commit 548f0b9

Browse files
committed
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>
1 parent 038029c commit 548f0b9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎arch/sparc/kernel/vmlinux.lds.S‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,14 @@ SECTIONS
172172
}
173173
PERCPU_SECTION(SMP_CACHE_BYTES)
174174

175-
#ifdef CONFIG_JUMP_LABEL
176175
. = ALIGN(PAGE_SIZE);
177176
.exit.text : {
178177
EXIT_TEXT
179178
}
180-
#endif
179+
180+
.exit.data : {
181+
EXIT_DATA
182+
}
181183

182184
. = ALIGN(PAGE_SIZE);
183185
__init_end = .;

0 commit comments

Comments
 (0)