source: trunk/sys/mk/ibmpc_uldscript @ 20

Last change on this file since 20 was 1, checked in by alain, 8 years ago

First import

File size: 455 bytes
Line 
1/*OUTPUT_FORMAT("binary")*/
2ENTRY(_start)
3phys = 0x00C00000;
4SECTIONS
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
32INPUT(crt0.o)
Note: See TracBrowser for help on using the repository browser.