root/Whitix/branches/smp/link.ld

Revision 238, 0.6 KB (checked in by mwhitworth, 4 years ago)

Add fourth initcall level.

Line 
1OUTPUT_FORMAT("elf32-i386")
2OUTPUT_ARCH("i386")
3ENTRY(start)
4
5SECTIONS
6{
7  .text 0x11000 : {
8    code = .; _code = .; __code = .;
9    *(.text)
10    *(.rdata)
11     . = ALIGN(4096);
12  }
13
14  _endCode = .;
15
16  .data  : {
17    data = .; _data = .; __data = .;
18    *(.data)
19     . = ALIGN(4096);
20  }
21
22  _endData = .;
23
24  initcall_start = .; _initcall_start = .;
25  .initcall.init : {
26        *(.initcall1.init)
27        *(.initcall2.init)
28        *(.initcall3.init)
29        *(.initcall4.init)
30  }
31
32  initcall_end = .; _initcall_end = .;
33
34  .bss  : {
35    bss = .; _bss = .; __bss = .;
36    *(.bss)
37     /* . = ALIGN(4096); */
38  }
39
40  endbss = .; _endbss = .;
41  end = .; _end = .; __end = .;
42}
Note: See TracBrowser for help on using the browser.