blob: 4b6bb3ffe3dcb1ea5b06c2df1e2ade5fceb19310 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001OUTPUT_ARCH(powerpc:common)
Olaf Hering67a1b682005-10-28 17:46:49 -07002ENTRY(_zimage_start)
Linus Torvalds1da177e2005-04-16 15:20:36 -07003SECTIONS
4{
Olaf Hering67a1b682005-10-28 17:46:49 -07005 . = (4*1024*1024);
6 _start = .;
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 .text :
8 {
9 *(.text)
10 *(.fixup)
Linus Torvalds1da177e2005-04-16 15:20:36 -070011 }
Linus Torvalds1da177e2005-04-16 15:20:36 -070012 _etext = .;
Linus Torvalds1da177e2005-04-16 15:20:36 -070013 . = ALIGN(4096);
14 .data :
15 {
Olaf Hering06cf26b2005-10-28 17:46:44 -070016 *(.rodata*)
17 *(.data*)
18 *(.sdata*)
Olaf Heringa4497232005-10-28 17:46:48 -070019 __got2_start = .;
20 *(.got2)
21 __got2_end = .;
Linus Torvalds1da177e2005-04-16 15:20:36 -070022 }
23
24 . = ALIGN(4096);
25 _vmlinux_start = .;
26 .kernel:vmlinux.strip : { *(.kernel:vmlinux.strip) }
27 _vmlinux_end = .;
28
29 . = ALIGN(4096);
30 _initrd_start = .;
31 .kernel:initrd : { *(.kernel:initrd) }
32 _initrd_end = .;
33
34 . = ALIGN(4096);
35 _edata = .;
Linus Torvalds1da177e2005-04-16 15:20:36 -070036
37 . = ALIGN(4096);
38 __bss_start = .;
39 .bss :
40 {
Olaf Hering06cf26b2005-10-28 17:46:44 -070041 *(.sbss)
Linus Torvalds1da177e2005-04-16 15:20:36 -070042 *(.bss)
Linus Torvalds1da177e2005-04-16 15:20:36 -070043 }
44 . = ALIGN(4096);
45 _end = . ;
Linus Torvalds1da177e2005-04-16 15:20:36 -070046}