summaryrefslogtreecommitdiff
path: root/pid_os/memmap.ld
blob: f24fd56abf60a52b0a69f120e93241b85376c746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SECTIONS
{
    .text 0x8000 :  { 
        __code_start__ = .;
        KEEP(*(.boot))  
        *(.text*) 
        __code_end__ = .;
        . = ALIGN(8);
    }
    .rodata : {
        __rodata_start__ = .;
        *(.rodata*)
        __rodata_end__ = .;
    }
    .data : { 
        __data_start__ = .;
        *(.data*) 
        . = ALIGN(4);
        __data_end__ = .;
    } 
    .bss : {
        . = ALIGN(4);
        __bss_start__ = .;
        *(.bss*)
        *(COMMON)
        . = ALIGN(8);
        __bss_end__ = .;
        . = ALIGN(8);
        __prog_end__ = .;
        __heap_start__ = .;
    }
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback