summaryrefslogtreecommitdiff
path: root/bios/rombios32.ld
blob: c7f6066ba1297efb45d7460529255920d80d11b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
OUTPUT_ARCH(i386)
ENTRY(_start);
SECTIONS
{
        . = 0x00040000;
        .text     : { *(.text)    }
        .rodata    : { *(.rodata) }
        . = ALIGN(4096);
        .data     : { *(.data)    }
        __bss_start = . ;
        .bss      : { *(.bss) *(COMMON) }
        _end = . ;
        /DISCARD/ : { *(.stab)
                     *(.stabstr)
                     *(.comment)
                     *(.note)
                  }
}