source: trunk/kernel/arch/ibmpc/kldscript.h2 @ 52

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

First import

File size: 797 bytes
Line 
1/*OUTPUT_FORMAT("binary")*/
2ENTRY(_start)
3phys = 0x00100000;
4SECTIONS
5{
6  .text phys : AT(phys) {
7    code = .;
8    *(.boot)
9    *(.text)
10    _ecode = .;
11    . = ALIGN(4096);
12  }
13
14  .eh_frame : AT(phys + (_eh_frame - code))
15  {
16    _eh_frame = .;
17    *(.rodata*)
18    *(.data)
19    . = ALIGN(4096);
20  }
21
22  .data : AT(phys + (data - code))
23  {
24    data = .;
25    *(.rodata*)
26    *(.data)
27    . = ALIGN(4096);
28  }
29
30  .bss : AT(phys + (bss - code))
31  {
32    bss = .;
33    *(.bss)
34    . = ALIGN(4096);
35  }
36  _edata = .;
37  _end = .;
38
39  .comment : AT(phys + (_comment - code))
40  {
41    _comment = .;
42    *(.comment*)
43  }
44
45  .stab : AT(phys + (_stab - code))
46  {
47    _stab = .;
48    *(.stab*)
49  }
50
51  .stabstr : AT(phys + (_stabstr - code))
52  {
53    _stabstr = .;
54    *(.stabstr*)
55  }
56}
57/*INPUT(__do_syscall.o)*/
Note: See TracBrowser for help on using the repository browser.