1 /* SPDX-License-Identifier: GPL-2.0-or-later * 2 /* 3 * Copyright (C) 2009 Thomas Chou <thomas@wytro 4 */ 5 6 #include <asm-generic/vmlinux.lds.h> 7 8 OUTPUT_FORMAT("elf32-littlenios2", "elf32-litt 9 10 OUTPUT_ARCH(nios) 11 ENTRY(_start) /* Defined in head.S */ 12 13 SECTIONS 14 { 15 . = (CONFIG_NIOS2_MEM_BASE + CONFIG_NI 16 CONFIG_NIOS2_KERNEL_REGION_BAS 17 18 _text = .; 19 .text : { *(.text) } = 0 20 .rodata : { *(.rodata) *(.rodata.*) } 21 _etext = .; 22 23 . = ALIGN(32 / 8); 24 .data : { *(.data) } 25 . = ALIGN(32 / 8); 26 _got = .; 27 .got : { 28 *(.got.plt) 29 *(.igot.plt) 30 *(.got) 31 *(.igot) 32 } 33 _egot = .; 34 _edata = .; 35 36 . = ALIGN(32 / 8); 37 __bss_start = .; 38 .bss : { *(.bss) *(.sbss) } 39 . = ALIGN(32 / 8); 40 _ebss = .; 41 end = . ; 42 _end = . ; 43 44 got_len = (_egot - _got); 45 }
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.