Skip to content

Commit 8cf06fc

Browse files
hdellerKyle McMartin
authored andcommitted
parisc: Fix linker script breakage.
Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
1 parent 9609bfe commit 8cf06fc

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include <asm/cache.h>
2929
#include <asm/page.h>
3030
#include <asm/asm-offsets.h>
31+
#include <asm/thread_info.h>
3132

3233
/* ld script to make hppa Linux kernel */
3334
#ifndef CONFIG_64BIT
@@ -134,6 +135,15 @@ SECTIONS
134135
__init_begin = .;
135136
INIT_TEXT_SECTION(16384)
136137
INIT_DATA_SECTION(16)
138+
/* we have to discard exit text and such at runtime, not link time */
139+
.exit.text :
140+
{
141+
EXIT_TEXT
142+
}
143+
.exit.data :
144+
{
145+
EXIT_DATA
146+
}
137147

138148
PERCPU(PAGE_SIZE)
139149
. = ALIGN(PAGE_SIZE);

0 commit comments

Comments
 (0)