summaryrefslogblamecommitdiffstats
path: root/tests/multiboot/link.ld
blob: 2eafcffc4f123255befccf11db5b4828be7ee322 (plain) (tree)
1
2
3
4
5
6
7
8
9




                 
                             


                    
                                         

                
                                             





                        
ENTRY(_start)

SECTIONS
{
    . = 0x100000;
    .text : AT(ADDR(.text)) {
        *(multiboot)
        *(.text)
    }
    .data ALIGN(4096) : AT(ADDR(.data)) {
        *(.data)
    }
    .rodata ALIGN(4096) : AT(ADDR(.rodata)) {
        *(.rodata)
    }
    .bss ALIGN(4096) : {
        *(.bss)
    }
}