| * linux/arch/unicore32/kernel/vmlinux.lds.S |
| * Code specific to PKUnity SoC and UniCore ISA |
| * Copyright (C) 2001-2010 GUAN Xue-tao |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| #include <asm-generic/vmlinux.lds.h> |
| #include <asm/thread_info.h> |
| . = PAGE_OFFSET + KERNEL_IMAGE_START; |
| INIT_TEXT_SECTION(PAGE_SIZE) |
| .text : { /* Real text segment */ |
| RO_DATA_SECTION(PAGE_SIZE) |
| RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE) |
| DISCARDS /* Exit code and data */ |