1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/unicore32/kernel/vmlinux.lds.S
5 * Code specific to PKUnity SoC and UniCore ISA
7 * Copyright (C) 2001-2010 GUAN Xue-tao
10 #include <asm-generic/vmlinux.lds.h>
11 #include <asm/thread_info.h>
12 #include <asm/memory.h>
14 #include <asm/cache.h>
16 OUTPUT_ARCH(unicore32)
23 . = PAGE_OFFSET + KERNEL_IMAGE_START;
28 INIT_TEXT_SECTION(PAGE_SIZE)
30 PERCPU_SECTION(L1_CACHE_BYTES)
34 .text : { /* Real text segment */
47 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
50 EXCEPTION_TABLE(L1_CACHE_BYTES)
58 DISCARDS /* Exit code and data */