Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[sfrench/cifs-2.6.git] / arch / x86_64 / boot / compressed / vmlinux.lds
1 OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64")
2 OUTPUT_ARCH(i386:x86-64)
3 ENTRY(startup_64)
4 SECTIONS
5 {
6         /* Be careful parts of head.S assume startup_32 is at
7          * address 0.
8          */
9         . = 0;
10         .text : {
11                 _head = . ;
12                 *(.text.head)
13                 _ehead = . ;
14                 *(.text.compressed)
15                 _text = .;      /* Text */
16                 *(.text)
17                 *(.text.*)
18                 _etext = . ;
19         }
20         .rodata : {
21                 _rodata = . ;
22                 *(.rodata)       /* read-only data */
23                 *(.rodata.*)
24                 _erodata = . ;
25         }
26         .data : {
27                 _data = . ;
28                 *(.data)
29                 *(.data.*)
30                 _edata = . ;
31         }
32         .bss : {
33                 _bss = . ;
34                 *(.bss)
35                 *(.bss.*)
36                 *(COMMON)
37                 . = ALIGN(8);
38                 _end = . ;
39                 . = ALIGN(4096);
40                 pgtable = . ;
41                 . = . + 4096 * 6;
42                 _heap = .;
43         }
44 }