blob: 856dc78b14ef8f3d2b8062ba5c0b5d6b22f49e4d [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{
Paul Mackerras66a45dd2006-01-14 15:04:06 +11006 _start = .;
7 .text :
8 {
9 *(.text)
10 *(.fixup)
11 }
12 _etext = .;
13 . = ALIGN(4096);
14 .data :
15 {
16 *(.rodata*)
17 *(.data*)
Benjamin Herrenschmidt54c99412006-10-03 14:27:16 +100018 *(__builtin_*)
Paul Mackerras66a45dd2006-01-14 15:04:06 +110019 *(.sdata*)
20 __got2_start = .;
21 *(.got2)
22 __got2_end = .;
23
Mark A. Greerc8885542006-10-16 13:49:27 -070024 _dtb_start = .;
25 *(.kernel:dtb)
26 _dtb_end = .;
27
Paul Mackerras66a45dd2006-01-14 15:04:06 +110028 _vmlinux_start = .;
29 *(.kernel:vmlinux.strip)
30 _vmlinux_end = .;
31
32 _initrd_start = .;
33 *(.kernel:initrd)
34 _initrd_end = .;
35 }
36
37 . = ALIGN(4096);
38 _edata = .;
39 __bss_start = .;
40 .bss :
41 {
42 *(.sbss)
43 *(.bss)
44 }
45 _end = . ;
46
47 /DISCARD/ :
48 {
49 *(.comment)
50 }
51}