1 /* SPDX-License-Identifier: GPL-2.0-or-later * !! 1 #if defined(CONFIG_MMU) && !defined(CONFIG_COLDFIRE) 2 /* !! 2 PHDRS 3 * Copyright (C) 2009 Thomas Chou <thomas@wytro << 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-litt << 11 << 12 OUTPUT_ARCH(nios) << 13 ENTRY(_start) /* Defined in head.S */ << 14 << 15 jiffies = jiffies_64; << 16 << 17 SECTIONS << 18 { 3 { 19 . = CONFIG_NIOS2_MEM_BASE | CONFIG_NIO !! 4 text PT_LOAD FILEHDR PHDRS FLAGS (7); 20 !! 5 data PT_LOAD FLAGS (7); 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, THR << 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 } 6 } >> 7 #ifdef CONFIG_SUN3 >> 8 #include "vmlinux-sun3.lds" >> 9 #else >> 10 #include "vmlinux-std.lds" >> 11 #endif >> 12 #else >> 13 #include "vmlinux-nommu.lds" >> 14 #endif
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.