This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git] / arch / um / kernel / uml.lds.S
1 #include <asm-generic/vmlinux.lds.h>
2
3 OUTPUT_FORMAT(ELF_FORMAT)
4 OUTPUT_ARCH(ELF_ARCH)
5 ENTRY(_start)
6 jiffies = jiffies_64;
7
8 SECTIONS
9 {
10   . = START + SIZEOF_HEADERS;
11
12   __binary_start = .;
13 #ifdef MODE_TT
14   .thread_private : {
15     __start_thread_private = .;
16     errno = .;
17     . += 4;
18     arch/um/kernel/tt/unmap_fin.o (.data)
19     __end_thread_private = .;
20   }
21   . = ALIGN(4096);
22   .remap : { arch/um/kernel/tt/unmap_fin.o (.text) }
23 #endif
24
25   . = ALIGN(4096);              /* Init code and data */
26   _stext = .;
27   __init_begin = .;
28   .init.text : {
29         _sinittext = .;
30         *(.init.text)
31         _einittext = .;
32   }
33   . = ALIGN(4096);
34   .text      :
35   {
36     *(.text)
37     SCHED_TEXT
38     /* .gnu.warning sections are handled specially by elf32.em.  */
39     *(.gnu.warning)
40     *(.gnu.linkonce.t*)
41   }
42
43   #include "asm/common.lds.S"
44
45   init.data : { *(init.data) }
46   .data    :
47   {
48     . = ALIGN(KERNEL_STACK_SIZE);               /* init_task */
49     *(.data.init_task)
50     *(.data)
51     *(.gnu.linkonce.d*)
52     CONSTRUCTORS
53   }
54   .data1   : { *(.data1) }
55   .ctors         :
56   {
57     *(.ctors)
58   }
59   .dtors         :
60   {
61     *(.dtors)
62   }
63
64   .got           : { *(.got.plt) *(.got) }
65   .dynamic       : { *(.dynamic) }
66   /* We want the small data sections together, so single-instruction offsets
67      can access them all, and initialized data all before uninitialized, so
68      we can shorten the on-disk segment size.  */
69   .sdata     : { *(.sdata) }
70   _edata  =  .;
71   PROVIDE (edata = .);
72   . = ALIGN(0x1000);
73   .sbss      :
74   {
75    __bss_start = .;
76    PROVIDE(_bss_start = .);
77    *(.sbss)
78    *(.scommon)
79   }
80   .bss       :
81   {
82    *(.dynbss)
83    *(.bss)
84    *(COMMON)
85   }
86   _end = . ;
87   PROVIDE (end = .);
88   /* Stabs debugging sections.  */
89   .stab 0 : { *(.stab) }
90   .stabstr 0 : { *(.stabstr) }
91   .stab.excl 0 : { *(.stab.excl) }
92   .stab.exclstr 0 : { *(.stab.exclstr) }
93   .stab.index 0 : { *(.stab.index) }
94   .stab.indexstr 0 : { *(.stab.indexstr) }
95   .comment 0 : { *(.comment) }
96 }