comparison cos/linker.ld @ 20:b1fed2171e1a

Now working with 2 MB pages
author windel
date Mon, 28 Nov 2011 20:54:40 +0100
parents 92ace1ca50a8
children
comparison
equal deleted inserted replaced
19:f454e3c592dd 20:b1fed2171e1a
1 ENTRY(loader) 1 OUTPUT_FORMAT("binary")
2 2
3 SECTIONS { 3 SECTIONS {
4 . = 0x00100000; 4 .text 0x100000:
5 {
6 *(.text)
7 }
5 8
6 .text : { 9 .rodata ALIGN (4096) :
7 *(.text) 10 {
8 }
9
10 .rodata ALIGN (0x1000) : {
11
12 *(.rodata) 11 *(.rodata)
13 } 12 }
14 13
15 .data ALIGN (0x1000) : { 14 .data ALIGN (4096) :
15 {
16 *(.data) 16 *(.data)
17 } 17 }
18 18
19 .bss : { 19 .bss : {
20 sbss = .;
21 *(COMMON)
22 *(.bss) 20 *(.bss)
23 ebss = .;
24 } 21 }
25 22
26 } 23 }
27 24