| /* SPDX-License-Identifier: GPL-2.0-only */ |
| * linux/arch/unicore32/kernel/vmlinux.lds.S |
| * Code specific to PKUnity SoC and UniCore ISA |
| * Copyright (C) 2001-2010 GUAN Xue-tao |
| #include <asm-generic/vmlinux.lds.h> |
| #include <asm/thread_info.h> |
| . = PAGE_OFFSET + KERNEL_IMAGE_START; |
| INIT_TEXT_SECTION(PAGE_SIZE) |
| PERCPU_SECTION(L1_CACHE_BYTES) |
| .text : { /* Real text segment */ |
| RO_DATA_SECTION(PAGE_SIZE) |
| RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE) |
| EXCEPTION_TABLE(L1_CACHE_BYTES) |
| DISCARDS /* Exit code and data */ |