Commit 8cf06fc9 authored by Helge Deller's avatar Helge Deller Committed by Kyle McMartin

parisc: Fix linker script breakage.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Signed-off-by: default avatarKyle McMartin <kyle@mcmartin.ca>
parent 9609bfec
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/asm-offsets.h> #include <asm/asm-offsets.h>
#include <asm/thread_info.h>
/* ld script to make hppa Linux kernel */ /* ld script to make hppa Linux kernel */
#ifndef CONFIG_64BIT #ifndef CONFIG_64BIT
...@@ -134,6 +135,15 @@ SECTIONS ...@@ -134,6 +135,15 @@ SECTIONS
__init_begin = .; __init_begin = .;
INIT_TEXT_SECTION(16384) INIT_TEXT_SECTION(16384)
INIT_DATA_SECTION(16) INIT_DATA_SECTION(16)
/* we have to discard exit text and such at runtime, not link time */
.exit.text :
{
EXIT_TEXT
}
.exit.data :
{
EXIT_DATA
}
PERCPU(PAGE_SIZE) PERCPU(PAGE_SIZE)
. = ALIGN(PAGE_SIZE); . = ALIGN(PAGE_SIZE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment