Documentation/memory-barriers.txt: fix important typo re memory barriers
[linux-2.6/btrfs-unstable.git] / arch / x86 / realmode / rm / realmode.lds.S
blob86b2e8d6b1f1bdf99883c8174dd5a63841add207
1 /*
2  * realmode.lds.S
3  *
4  * Linker script for the real-mode code
5  */
7 #include <asm/page_types.h>
9 #undef i386
11 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
12 OUTPUT_ARCH(i386)
14 SECTIONS
16         real_mode_seg = 0;
18         . = 0;
19         .header : {
20                 pa_real_mode_base = .;
21                 *(.header)
22         }
24         . = ALIGN(4);
25         .rodata : {
26                 *(.rodata)
27                 *(.rodata.*)
28                 . = ALIGN(16);
29                 video_cards = .;
30                 *(.videocards)
31                 video_cards_end = .;
32         }
34         . = ALIGN(PAGE_SIZE);
35         pa_text_start = .;
36         .text : {
37                 *(.text)
38                 *(.text.*)
39         }
41         .text32 : {
42                 *(.text32)
43                 *(.text32.*)
44         }
46         .text64 : {
47                 *(.text64)
48                 *(.text64.*)
49         }
50         pa_ro_end = .;
52         . = ALIGN(PAGE_SIZE);
53         .data : {
54                 *(.data)
55                 *(.data.*)
56         }
58         . = ALIGN(128);
59         .bss : {
60                 *(.bss*)
61         }
63         /* End signature for integrity checking */
64         . = ALIGN(4);
65         .signature : {
66                 *(.signature)
67         }
69         /DISCARD/ : {
70                 *(.note*)
71                 *(.debug*)
72                 *(.eh_frame*)
73         }
75 #include "pasyms.h"