1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) 2009 Thomas Chou <thomas@wytron.com.tw>
6 #include <asm-generic/vmlinux.lds.h>
8 #include <asm/thread_info.h>
10 OUTPUT_FORMAT("elf32-littlenios2", "elf32-littlenios2", "elf32-littlenios2")
13 ENTRY(_start) /* Defined in head.S */
19 . = CONFIG_NIOS2_MEM_BASE | CONFIG_NIOS2_KERNEL_REGION_BASE;
42 EXCEPTION_TABLE(L1_CACHE_BYTES)
46 INIT_TEXT_SECTION(PAGE_SIZE)
47 INIT_DATA_SECTION(PAGE_SIZE)
48 PERCPU_SECTION(L1_CACHE_BYTES)
53 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)