bootloader.lds (540B)
1/* SPDX-License-Identifier: GPL-2.0 */ 2OUTPUT_FORMAT("elf64-alpha") 3ENTRY(__start) 4printk = srm_printk; 5SECTIONS 6{ 7 . = 0x20000000; 8 .text : { *(.text) } 9 _etext = .; 10 PROVIDE (etext = .); 11 .rodata : { *(.rodata) *(.rodata.*) } 12 .data : { *(.data) CONSTRUCTORS } 13 .got : { *(.got) } 14 .sdata : { *(.sdata) } 15 _edata = .; 16 PROVIDE (edata = .); 17 .sbss : { *(.sbss) *(.scommon) } 18 .bss : { *(.bss) *(COMMON) } 19 _end = . ; 20 PROVIDE (end = .); 21 22 .mdebug 0 : { *(.mdebug) } 23 .note 0 : { *(.note) } 24 .comment 0 : { *(.comment) } 25}