2 * linux/arch/unicore32/kernel/vmlinux.lds.S
4 * Code specific to PKUnity SoC and UniCore ISA
6 * Copyright (C) 2001-2010 GUAN Xue-tao
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #include <asm-generic/vmlinux.lds.h>
14 #include <asm/thread_info.h>
15 #include <asm/memory.h>
17 #include <asm/cache.h>
19 OUTPUT_ARCH(unicore32)
26 . = PAGE_OFFSET + KERNEL_IMAGE_START;
31 INIT_TEXT_SECTION(PAGE_SIZE)
33 PERCPU_SECTION(L1_CACHE_BYTES)
37 .text : { /* Real text segment */
48 RO_DATA_SECTION(PAGE_SIZE)
49 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
52 EXCEPTION_TABLE(L1_CACHE_BYTES)
61 DISCARDS /* Exit code and data */