summaryrefslogblamecommitdiff
path: root/src/user/link.ld
blob: aa3759cf7e438f1cb0d8ec916e4b130db40ad83e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


             
                 









                              





                                











                                     
ENTRY (start)
 
SECTIONS{
    . = 0x100000;
 
    .text : {
        *(.text)
    }
 
    .rodata ALIGN (0x1000)  :{
        *(.rodata)
    }
 
    .data ALIGN (0x1000) : {
		start_ctors = .;
		*(.ctor*)
		end_ctors = .;
		start_dtors = .;
		*(.dtor*)
		end_dtors = .;
        *(.data)
    }
 
    .bss : {
        sbss = .;
        *(COMMON)
        *(.bss)
        ebss = .;
    }
 
	end = .; _end = .; __end = .;
}