summaryrefslogblamecommitdiff
path: root/Source/Library/Link.ld
blob: 68591fd6b14e39625e9a082f887145bffc6187dc (plain) (tree)
1
2
             
               






























                                     
ENTRY (start)
INPUT (Melon.o)

SECTIONS{
    . = 0x10000000;

    .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 = .;
}