remove most uml vendor branch changes, stock fedora uml works
[linux-2.6.git] / arch / um / kernel / vmlinux.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     LOCK_TEXT
39     *(.fixup)
40     /* .gnu.warning sections are handled specially by elf32.em.  */
41     *(.gnu.warning)
42     *(.gnu.linkonce.t*)
43   }
44
45   #include "asm/common.lds.S"
46
47   init.data : { *(init.data) }
48   .data    :
49   {
50     . = ALIGN(KERNEL_STACK_SIZE);               /* init_task */
51     *(.data.init_task)
52     *(.data)
53     *(.gnu.linkonce.d*)
54     CONSTRUCTORS
55   }
56   .data1   : { *(.data1) }
57   .ctors         :
58   {
59     *(.ctors)
60   }
61   .dtors         :
62   {
63     *(.dtors)
64   }
65
66   .got           : { *(.got.plt) *(.got) }
67   .dynamic       : { *(.dynamic) }
68   /* We want the small data sections together, so single-instruction offsets
69      can access them all, and initialized data all before uninitialized, so
70      we can shorten the on-disk segment size.  */
71   .sdata     : { *(.sdata) }
72   _edata  =  .;
73   PROVIDE (edata = .);
74   . = ALIGN(0x1000);
75   .sbss      :
76   {
77    __bss_start = .;
78    PROVIDE(_bss_start = .);
79    *(.sbss)
80    *(.scommon)
81   }
82   .bss       :
83   {
84    *(.dynbss)
85    *(.bss)
86    *(COMMON)
87   }
88   _end = . ;
89   PROVIDE (end = .);
90   /* Stabs debugging sections.  */
91   .stab 0 : { *(.stab) }
92   .stabstr 0 : { *(.stabstr) }
93   .stab.excl 0 : { *(.stab.excl) }
94   .stab.exclstr 0 : { *(.stab.exclstr) }
95   .stab.index 0 : { *(.stab.index) }
96   .stab.indexstr 0 : { *(.stab.indexstr) }
97   .comment 0 : { *(.comment) }
98 }