source:
trunk/sys/mk/ibmpc_uldscript
@
36
Last change on this file since 36 was 1, checked in by , 8 years ago | |
---|---|
File size: 455 bytes |
Line | |
---|---|
1 | /*OUTPUT_FORMAT("binary")*/ |
2 | ENTRY(_start) |
3 | phys = 0x00C00000; |
4 | SECTIONS |
5 | { |
6 | .text phys : AT(phys) { |
7 | code = .; |
8 | *(.init) |
9 | *(.text) |
10 | *(.rodata*) |
11 | _ecode = .; |
12 | . = ALIGN(4096); |
13 | } |
14 | .data : AT(phys + (data - code)) |
15 | { |
16 | data = .; |
17 | *(.data*) |
18 | . = ALIGN(4096); |
19 | } |
20 | .bss : AT(phys + (bss - code)) |
21 | { |
22 | __bss_start = .; |
23 | bss = .; |
24 | *(.bss) |
25 | . = ALIGN(4096); |
26 | } |
27 | __bss_end = .; |
28 | _edata = .; |
29 | _end = .; |
30 | } |
31 | |
32 | INPUT(crt0.o) |
Note: See TracBrowser
for help on using the repository browser.