1OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") 2OUTPUT_ARCH(i386) 3ENTRY(_start) 4SECTIONS 5{ 6 . = 0x1101000; /* bootstub entry in DRAM */ 7 .text.head : { 8 _head = . ; 9 *(.text.head) 10 _ehead = . ; 11 } 12 .text : { 13 _text = .; /* Text */ 14 *(.text) 15 *(.text.*) 16 _etext = . ; 17 } 18 .rodata : { 19 _rodata = . ; 20 *(.rodata) /* read-only data */ 21 *(.rodata.*) 22 _erodata = . ; 23 } 24 .data : { 25 _data = . ; 26 *(.data) 27 *(.data.*) 28 _edata = . ; 29 } 30 .bss : { 31 _bss = . ; 32 *(.bss) 33 *(.bss.*) 34 *(COMMON) 35 _end = . ; 36 } 37} 38