1OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc", "elf32-powerpc") 2OUTPUT_ARCH(powerpc) 3 4ENTRY(_start) 5SECTIONS 6{ 7 . = 0x102000 + SIZEOF_HEADERS; 8 9 /* text/read-only data */ 10 .text : { *(.text .gnu.linkonce.t.*) } 11 12 __ctor_list = .; 13 .ctors : { *(.ctors) } 14 __ctor_end = .; 15 16 .rodata : { *(.rodata) } 17 18 /* writable data */ 19 . = ALIGN(0x1000); 20 __data_start = .; 21 .data : { *(.data .gnu.linkonce.d.*) } 22 23 /* uninitialized data (in same segment as writable data) */ 24 __bss_start = .; 25 .bss : { *(.bss) } 26 27 . = ALIGN(0x1000); 28 _end = . ; 29 30 /* Strip unnecessary stuff */ 31 /DISCARD/ : { *(.comment .note .eh_frame .dtors) } 32} 33