zImage.lds.S revision 9b09c6d909dfd8de96b99b9b9c808b94b0a71614
1a09e64fbc0094e3073dbb09c3b4bfe4ab669244bRussell KingOUTPUT_ARCH(powerpc:common) 21da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsENTRY(_zimage_start) 31da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsEXTERN(_zimage_start) 41da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsSECTIONS 51da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds{ 61da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds _start = .; 71da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds .text : 81da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds { 91da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds *(.text) 101da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds *(.fixup) 111da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds } 121da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds _etext = .; 131da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds . = ALIGN(4096); 149729c0ca197a5030d65937be6a1fb41b8d6f9c86Jeremy Kerr .data : 159729c0ca197a5030d65937be6a1fb41b8d6f9c86Jeremy Kerr { 169729c0ca197a5030d65937be6a1fb41b8d6f9c86Jeremy Kerr *(.rodata*) 179729c0ca197a5030d65937be6a1fb41b8d6f9c86Jeremy Kerr *(.data*) 181da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds *(.sdata*) 19639da5ee374ba8f070690bbd355ca30139ce145aNicolas Pitre __got2_start = .; 200ea1293009826da45e1019f45dfde1e557bb30dfJeremy Kerr *(.got2) 210ea1293009826da45e1019f45dfde1e557bb30dfJeremy Kerr __got2_end = .; 220ea1293009826da45e1019f45dfde1e557bb30dfJeremy Kerr } 231da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 241da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds . = ALIGN(8); 251da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds _dtb_start = .; 261da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds .kernel:dtb : { *(.kernel:dtb) } 271da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds _dtb_end = .; 281da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 291da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds . = ALIGN(4096); 301da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds _vmlinux_start = .; 311da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds .kernel:vmlinux.strip : { *(.kernel:vmlinux.strip) } 321da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds _vmlinux_end = .; 331da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 341da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds . = ALIGN(4096); 351da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds _initrd_start = .; 361da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds .kernel:initrd : { *(.kernel:initrd) } 371da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds _initrd_end = .; 381da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 391da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds . = ALIGN(4096); 401da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds _edata = .; 41 42 . = ALIGN(4096); 43 __bss_start = .; 44 .bss : 45 { 46 *(.sbss) 47 *(.bss) 48 } 49 . = ALIGN(4096); 50 _end = . ; 51} 52