x86: When cleaning MTRRs, do not fold WP into UC
[linux-2.6-block.git] / arch / x86 / boot / compressed / vmlinux.lds.S
CommitLineData
1dc818c1
TA
1#include <asm-generic/vmlinux.lds.h>
2
51b26ada
LT
3OUTPUT_FORMAT(CONFIG_OUTPUT_FORMAT, CONFIG_OUTPUT_FORMAT, CONFIG_OUTPUT_FORMAT)
4
83c48326
SR
5#undef i386
6
5b11f1ce
PA
7#include <asm/page_types.h>
8
51b26ada 9#ifdef CONFIG_X86_64
1ab60e0f
VG
10OUTPUT_ARCH(i386:x86-64)
11ENTRY(startup_64)
51b26ada
LT
12#else
13OUTPUT_ARCH(i386)
14ENTRY(startup_32)
15#endif
16
1ab60e0f
VG
17SECTIONS
18{
32ed937d 19 /* Be careful parts of head_64.S assume startup_32 is at
afe0bc63 20 * address 0.
1ab60e0f
VG
21 */
22 . = 0;
1dc818c1 23 .head.text : {
1ab60e0f 24 _head = . ;
1dc818c1 25 HEAD_TEXT
1ab60e0f 26 _ehead = . ;
20514e9f
IC
27 }
28 .rodata.compressed : {
29 *(.rodata.compressed)
30 }
31 .text : {
1ab60e0f
VG
32 _text = .; /* Text */
33 *(.text)
34 *(.text.*)
35 _etext = . ;
36 }
37 .rodata : {
38 _rodata = . ;
39 *(.rodata) /* read-only data */
40 *(.rodata.*)
41 _erodata = . ;
42 }
43 .data : {
44 _data = . ;
45 *(.data)
46 *(.data.*)
47 _edata = . ;
48 }
0b4eb462 49 . = ALIGN(CONFIG_X86_L1_CACHE_BYTES);
1ab60e0f
VG
50 .bss : {
51 _bss = . ;
52 *(.bss)
53 *(.bss.*)
54 *(COMMON)
5b11f1ce 55 . = ALIGN(8); /* For convenience during zeroing */
4a9f54cf 56 _ebss = .;
1ab60e0f 57 }
5b11f1ce
PA
58#ifdef CONFIG_X86_64
59 . = ALIGN(PAGE_SIZE);
60 .pgtable : {
61 _pgtable = . ;
62 *(.pgtable)
63 _epgtable = . ;
64 }
65#endif
66 _end = .;
1ab60e0f 67}