1/* SPDX-License-Identifier: GPL-2.0 */ 2OUTPUT_FORMAT("elf64-ia64-little") 3OUTPUT_ARCH(ia64) 4ENTRY(_start) 5SECTIONS 6{ 7 /* Read-only sections, merged into text segment: */ 8 . = 0x100000; 9 10 _text = .; 11 .text : { *(__ivt_section) *(.text) } 12 _etext = .; 13 14 /* Global data */ 15 _data = .; 16 .rodata : { *(.rodata) *(.rodata.*) } 17 .data : { *(.data) *(.gnu.linkonce.d*) CONSTRUCTORS } 18 __gp = ALIGN (8) + 0x200000; 19 .got : { *(.got.plt) *(.got) } 20 /* We want the small data sections together, so single-instruction offsets 21 can access them all, and initialized data all before uninitialized, so 22 we can shorten the on-disk segment size. */ 23 .sdata : { *(.sdata) } 24 _edata = .; 25 26 __bss_start = .; 27 .sbss : { *(.sbss) *(.scommon) } 28 .bss : { *(.bss) *(COMMON) } 29 . = ALIGN(64 / 8); 30 __bss_stop = .; 31 _end = . ; 32 33 /* Stabs debugging sections. */ 34 .stab 0 : { *(.stab) } 35 .stabstr 0 : { *(.stabstr) } 36 .stab.excl 0 : { *(.stab.excl) } 37 .stab.exclstr 0 : { *(.stab.exclstr) } 38 .stab.index 0 : { *(.stab.index) } 39 .stab.indexstr 0 : { *(.stab.indexstr) } 40 .comment 0 : { *(.comment) } 41 /* DWARF debug sections. 42 Symbols in the DWARF debugging sections are relative to the beginning 43 of the section so we begin them at 0. */ 44 /* DWARF 1 */ 45 .debug 0 : { *(.debug) } 46 .line 0 : { *(.line) } 47 /* GNU DWARF 1 extensions */ 48 .debug_srcinfo 0 : { *(.debug_srcinfo) } 49 .debug_sfnames 0 : { *(.debug_sfnames) } 50 /* DWARF 1.1 and DWARF 2 */ 51 .debug_aranges 0 : { *(.debug_aranges) } 52 .debug_pubnames 0 : { *(.debug_pubnames) } 53 /* DWARF 2 */ 54 .debug_info 0 : { *(.debug_info) } 55 .debug_abbrev 0 : { *(.debug_abbrev) } 56 .debug_line 0 : { *(.debug_line) } 57 .debug_frame 0 : { *(.debug_frame) } 58 .debug_str 0 : { *(.debug_str) } 59 .debug_loc 0 : { *(.debug_loc) } 60 .debug_macinfo 0 : { *(.debug_macinfo) } 61 /* SGI/MIPS DWARF 2 extensions */ 62 .debug_weaknames 0 : { *(.debug_weaknames) } 63 .debug_funcnames 0 : { *(.debug_funcnames) } 64 .debug_typenames 0 : { *(.debug_typenames) } 65 .debug_varnames 0 : { *(.debug_varnames) } 66 /* These must appear regardless of . */ 67} 68