blob: fe87a90ce7f1a606bba00f50597ac9677757598c [file] [log] [blame]
Paul Mackerras66a45dd2006-01-14 15:04:06 +11001OUTPUT_ARCH(powerpc:common)
David Gibsoncd197ff2007-03-05 14:24:52 +11002ENTRY(_zimage_start_opd)
3EXTERN(_zimage_start_opd)
Paul Mackerras66a45dd2006-01-14 15:04:06 +11004SECTIONS
5{
6 . = (5*1024*1024);
7 _start = .;
8 .text :
9 {
10 *(.text)
11 *(.fixup)
12 }
13 _etext = .;
14 . = ALIGN(4096);
15 .data :
16 {
17 *(.rodata*)
18 *(.data*)
Benjamin Herrenschmidt54c99412006-10-03 14:27:16 +100019 *(__builtin_*)
Paul Mackerras66a45dd2006-01-14 15:04:06 +110020 *(.sdata*)
21 __got2_start = .;
22 *(.got2)
23 __got2_end = .;
24
Mark A. Greerc8885542006-10-16 13:49:27 -070025 _dtb_start = .;
26 *(.kernel:dtb)
27 _dtb_end = .;
28
Paul Mackerras66a45dd2006-01-14 15:04:06 +110029 _vmlinux_start = .;
30 *(.kernel:vmlinux.strip)
31 _vmlinux_end = .;
32
33 _initrd_start = .;
34 *(.kernel:initrd)
35 _initrd_end = .;
36 }
37
38 . = ALIGN(4096);
39 _edata = .;
40 __bss_start = .;
41 .bss :
42 {
43 *(.sbss)
44 *(.bss)
45 }
46 _end = . ;
47
48 /DISCARD/ :
49 {
50 *(.comment)
51 }
52}