1OUTPUT_ARCH(powerpc) 2SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib); 3/* Do we need any of these for elf? 4 __DYNAMIC = 0; */ 5SECTIONS 6{ 7 /* Read-only sections, merged into text segment: */ 8 . = + SIZEOF_HEADERS; 9 .interp : { *(.interp) } 10 .hash : { *(.hash) } 11 .dynsym : { *(.dynsym) } 12 .dynstr : { *(.dynstr) } 13 .rel.text : { *(.rel.text) } 14 .rela.text : { *(.rela.text) } 15 .rel.data : { *(.rel.data) } 16 .rela.data : { *(.rela.data) } 17 .rel.rodata : { *(.rel.rodata) } 18 .rela.rodata : { *(.rela.rodata) } 19 .rel.got : { *(.rel.got) } 20 .rela.got : { *(.rela.got) } 21 .rel.ctors : { *(.rel.ctors) } 22 .rela.ctors : { *(.rela.ctors) } 23 .rel.dtors : { *(.rel.dtors) } 24 .rela.dtors : { *(.rela.dtors) } 25 .rel.bss : { *(.rel.bss) } 26 .rela.bss : { *(.rela.bss) } 27 .rel.plt : { *(.rel.plt) } 28 .rela.plt : { *(.rela.plt) } 29 .plt : { *(.plt) } 30 .text : 31 { 32 *(.text) 33 *(.fixup) 34 *(.got1) 35 } 36 . = ALIGN(4096); 37 _etext = .; 38 PROVIDE (etext = .); 39 .rodata : 40 { 41 *(.rodata) 42 *(.rodata1) 43 } 44 .kstrtab : { *(.kstrtab) } 45 .fini : { *(.fini) } =0 46 .ctors : { *(.ctors) } 47 .dtors : { *(.dtors) } 48 /* Read-write section, merged into data segment: */ 49 . = ALIGN(4096); 50 .data : 51 { 52 *(.data) 53 *(.data1) 54 *(.sdata) 55 *(.sdata2) 56 *(.got.plt) *(.got) 57 *(.dynamic) 58 CONSTRUCTORS 59 } 60 61 .kernel:uts_string : { *(.kernel:uts_string) } 62 63 . = ALIGN(4096); 64 _vmlinux_start = .; 65 .kernel:vmlinux : { *(.kernel:vmlinux) } 66 _vmlinux_end = .; 67 68 . = ALIGN(4096); 69 _dotconfig_start = .; 70 .kernel:.config : { *(.kernel:.config) } 71 _dotconfig_end = .; 72 73 . = ALIGN(4096); 74 _sysmap_start = .; 75 .kernel:System.map : { *(.kernel:System.map) } 76 _sysmap_end = .; 77 78 . = ALIGN(4096); 79 _initrd_start = .; 80 .kernel:initrd : { *(.kernel:initrd) } 81 _initrd_end = .; 82 83 . = ALIGN(4096); 84 _edata = .; 85 PROVIDE (edata = .); 86 87 .fixup : { *(.fixup) } 88 89 . = ALIGN(4096); 90 __bss_start = .; 91 .bss : 92 { 93 *(.sbss) *(.scommon) 94 *(.dynbss) 95 *(.bss) 96 *(COMMON) 97 } 98 . = ALIGN(4096); 99 _end = . ; 100 PROVIDE (end = .); 101} 102