summaryrefslogblamecommitdiff
path: root/Source/UnixUserland/App.ld
blob: 03ac84f134f254e4af39c768683578507ea7d2f6 (plain) (tree)
1
2

                   






























                                     
ENTRY (_start)
INPUT (MelonUnix.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 = .;
}