diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-04 19:27:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-04 19:27:50 -0500 |
commit | 602d4a7e2f4b843d1a67375d4d7104073495b758 (patch) | |
tree | 0b9f184e54fa693c27bd5986c114bdcf6949f788 /arch/powerpc/kernel/vmlinux.lds.S | |
parent | 0bbacc402e67abca8794a8401c1621dc0c0202e9 (diff) | |
parent | c51e3a417bb0f295e13a5bad86302b5212eafdf3 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/paulus/powerpc-merge
Diffstat (limited to 'arch/powerpc/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/powerpc/kernel/vmlinux.lds.S | 29 |
1 files changed, 4 insertions, 25 deletions
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index d4dfcfbce272..7fa7b15fd8e6 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S | |||
@@ -3,9 +3,12 @@ | |||
3 | #include <asm/page.h> | 3 | #include <asm/page.h> |
4 | #else | 4 | #else |
5 | #define PAGE_SIZE 4096 | 5 | #define PAGE_SIZE 4096 |
6 | #define KERNELBASE CONFIG_KERNEL_START | ||
6 | #endif | 7 | #endif |
7 | #include <asm-generic/vmlinux.lds.h> | 8 | #include <asm-generic/vmlinux.lds.h> |
8 | 9 | ||
10 | ENTRY(_stext) | ||
11 | |||
9 | #ifdef CONFIG_PPC64 | 12 | #ifdef CONFIG_PPC64 |
10 | OUTPUT_ARCH(powerpc:common64) | 13 | OUTPUT_ARCH(powerpc:common64) |
11 | jiffies = jiffies_64; | 14 | jiffies = jiffies_64; |
@@ -21,33 +24,9 @@ SECTIONS | |||
21 | *(.exit.data) | 24 | *(.exit.data) |
22 | } | 25 | } |
23 | 26 | ||
27 | . = KERNELBASE; | ||
24 | 28 | ||
25 | /* Read-only sections, merged into text segment: */ | 29 | /* Read-only sections, merged into text segment: */ |
26 | #ifdef CONFIG_PPC32 | ||
27 | . = + SIZEOF_HEADERS; | ||
28 | .interp : { *(.interp) } | ||
29 | .hash : { *(.hash) } | ||
30 | .dynsym : { *(.dynsym) } | ||
31 | .dynstr : { *(.dynstr) } | ||
32 | .rel.text : { *(.rel.text) } | ||
33 | .rela.text : { *(.rela.text) } | ||
34 | .rel.data : { *(.rel.data) } | ||
35 | .rela.data : { *(.rela.data) } | ||
36 | .rel.rodata : { *(.rel.rodata) } | ||
37 | .rela.rodata : { *(.rela.rodata) } | ||
38 | .rel.got : { *(.rel.got) } | ||
39 | .rela.got : { *(.rela.got) } | ||
40 | .rel.ctors : { *(.rel.ctors) } | ||
41 | .rela.ctors : { *(.rela.ctors) } | ||
42 | .rel.dtors : { *(.rel.dtors) } | ||
43 | .rela.dtors : { *(.rela.dtors) } | ||
44 | .rel.bss : { *(.rel.bss) } | ||
45 | .rela.bss : { *(.rela.bss) } | ||
46 | .rel.plt : { *(.rel.plt) } | ||
47 | .rela.plt : { *(.rela.plt) } | ||
48 | /* .init : { *(.init) } =0*/ | ||
49 | .plt : { *(.plt) } | ||
50 | #endif | ||
51 | .text : { | 30 | .text : { |
52 | *(.text .text.*) | 31 | *(.text .text.*) |
53 | SCHED_TEXT | 32 | SCHED_TEXT |