]> Git Repo - linux.git/blob - arch/nios2/kernel/vmlinux.lds.S
Linux 6.14-rc3
[linux.git] / arch / nios2 / kernel / vmlinux.lds.S
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (C) 2009 Thomas Chou <[email protected]>
4  */
5 #include <asm/page.h>
6 #include <asm-generic/vmlinux.lds.h>
7 #include <asm/cache.h>
8 #include <asm/thread_info.h>
9
10 OUTPUT_FORMAT("elf32-littlenios2", "elf32-littlenios2", "elf32-littlenios2")
11
12 OUTPUT_ARCH(nios)
13 ENTRY(_start)   /* Defined in head.S */
14
15 jiffies = jiffies_64;
16
17 SECTIONS
18 {
19         . = CONFIG_NIOS2_MEM_BASE | CONFIG_NIOS2_KERNEL_REGION_BASE;
20
21         _text = .;
22         _stext = .;
23         HEAD_TEXT_SECTION
24         .text : {
25                 TEXT_TEXT
26                 SCHED_TEXT
27                 LOCK_TEXT
28                 IRQENTRY_TEXT
29                 SOFTIRQENTRY_TEXT
30                 KPROBES_TEXT
31         } =0
32         _etext = .;
33
34         .got : {
35                 *(.got.plt)
36                 *(.igot.plt)
37                 *(.got)
38                 *(.igot)
39         }
40
41         EXCEPTION_TABLE(L1_CACHE_BYTES)
42
43         . = ALIGN(PAGE_SIZE);
44         __init_begin = .;
45         INIT_TEXT_SECTION(PAGE_SIZE)
46         INIT_DATA_SECTION(PAGE_SIZE)
47         PERCPU_SECTION(L1_CACHE_BYTES)
48         __init_end = .;
49
50         _sdata = .;
51         RO_DATA(PAGE_SIZE)
52         RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
53         _edata = .;
54
55         BSS_SECTION(0, 0, 0)
56         _end = .;
57
58         STABS_DEBUG
59         DWARF_DEBUG
60         ELF_DETAILS
61
62         DISCARDS
63 }
This page took 0.033122 seconds and 4 git commands to generate.