Rev 843 | Rev 957 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 843 | Rev 951 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | #define __ASM__ |
9 | #define __ASM__ |
10 | 10 | ||
11 | ENTRY(kernel_image_start) |
11 | ENTRY(kernel_image_start) |
12 | 12 | ||
13 | SECTIONS { |
13 | SECTIONS { |
14 | .image 0x800000: AT (0x800000) { |
14 | .image 0x400000: AT (0x400000) { |
15 | ktext_start = .; |
15 | ktext_start = .; |
16 | *(K_TEXT_START) |
16 | *(K_TEXT_START) |
17 | *(.text); |
17 | *(.text); |
18 | ktext_end = .; |
18 | ktext_end = .; |
19 | 19 | ||
Line 28... | Line 28... | ||
28 | hardcoded_ktext_size = .; |
28 | hardcoded_ktext_size = .; |
29 | LONG(ktext_end - ktext_start); |
29 | LONG(ktext_end - ktext_start); |
30 | hardcoded_kdata_size = .; |
30 | hardcoded_kdata_size = .; |
31 | LONG(kdata_end - kdata_start); |
31 | LONG(kdata_end - kdata_start); |
32 | hardcoded_load_address = .; |
32 | hardcoded_load_address = .; |
33 | LONG(0x800000); |
33 | LONG(0x400000); |
34 | *(.bss); /* uninitialized static variables */ |
34 | *(.bss); /* uninitialized static variables */ |
35 | *(COMMON); /* global variables */ |
35 | *(COMMON); /* global variables */ |
36 | 36 | ||
37 | symbol_table = .; |
37 | symbol_table = .; |
38 | *(symtab.*); /* Symbol table, must be LAST symbol!*/ |
38 | *(symtab.*); /* Symbol table, must be LAST symbol!*/ |