Sorting source tree a bit
[tpg/acess2.git] / KernelLand / Modules / link.ld
1 /*
2  * Acess2 Kernel Modules
3  * Linker Script
4  */
5
6 ENTRY(ModuleEntry)
7 OUTPUT_FORMAT(elf32-i386)
8
9 SECTIONS 
10 {
11         . = 0 + SIZEOF_HEADERS;
12         
13         .text : AT(ADDR(.text)) {
14                 textzero = .;
15                 *(.text)
16         }
17         
18         .rodata ALIGN(0x1000): AT(ADDR(.rodata)) {
19                 *(.rodata)
20                 *(.rdata)
21                 DriverInfo = .;
22                 *(KMODULES)
23         }
24         
25         .data ALIGN (0x1000) : AT(ADDR(.data)) {
26                 *(.data)
27         }
28
29         .bss : AT(ADDR(.bss)) {
30                 _sbss = .;
31                 *(COMMON)
32                 *(.bss)
33                 _ebss = .;
34         }
35 }

UCC git Repository :: git.ucc.asn.au