aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/boot/zImage.lds
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/ppc64/boot/zImage.lds
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'arch/ppc64/boot/zImage.lds')
-rw-r--r--arch/ppc64/boot/zImage.lds90
1 files changed, 90 insertions, 0 deletions
diff --git a/arch/ppc64/boot/zImage.lds b/arch/ppc64/boot/zImage.lds
new file mode 100644
index 000000000000..8fe5e7071f54
--- /dev/null
+++ b/arch/ppc64/boot/zImage.lds
@@ -0,0 +1,90 @@
1OUTPUT_ARCH(powerpc:common)
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 __vermagic : { *(__vermagic) }
46 .fini : { *(.fini) } =0
47 .ctors : { *(.ctors) }
48 .dtors : { *(.dtors) }
49 /* Read-write section, merged into data segment: */
50 . = ALIGN(4096);
51 .data :
52 {
53 *(.data)
54 *(.data1)
55 *(.sdata)
56 *(.sdata2)
57 *(.got.plt) *(.got)
58 *(.dynamic)
59 CONSTRUCTORS
60 }
61
62 . = ALIGN(4096);
63 _vmlinux_start = .;
64 .kernel:vmlinux.strip : { *(.kernel:vmlinux.strip) }
65 _vmlinux_end = .;
66
67 . = ALIGN(4096);
68 _initrd_start = .;
69 .kernel:initrd : { *(.kernel:initrd) }
70 _initrd_end = .;
71
72 . = ALIGN(4096);
73 _edata = .;
74 PROVIDE (edata = .);
75
76 .fixup : { *(.fixup) }
77
78 . = ALIGN(4096);
79 __bss_start = .;
80 .bss :
81 {
82 *(.sbss) *(.scommon)
83 *(.dynbss)
84 *(.bss)
85 *(COMMON)
86 }
87 . = ALIGN(4096);
88 _end = . ;
89 PROVIDE (end = .);
90}