summaryrefslogtreecommitdiff
path: root/src/library/link.ld
blob: be5e028453689ef8214a616fb973b0251b9038db (plain) (blame)
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
ENTRY (start)
INPUT (grapes.o)
 
SECTIONS{
    . = 0x100000;
 
    .text : {
        *(.text)
    }
 
    .rodata ALIGN (0x1000)  :{
        *(.rodata)
    }
 
    .data ALIGN (0x1000) : {
        *(.data)
    }
 
    .bss : {
        sbss = .;
        *(COMMON)
        *(.bss)
        ebss = .;
    }
 
	end = .; _end = .; __end = .;
}