aboutsummaryrefslogtreecommitdiffstats
path: root/src/rombios16.lds.S
blob: 6d382f036e2b6c805607ea913b5da3b273470a58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Linker definitions for 16bit code
//
// Copyright (C) 2008,2009  Kevin O'Connor <kevin@koconnor.net>
//
// This file may be distributed under the terms of the GNU LGPLv3 license.

OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
OUTPUT_ARCH("i386")
PHDRS
{
}
SECTIONS
{
        .data16 data16_start : {
                *(.data16)
                }
        .text16 text16_start : {
                *(.text16)
                }
        /DISCARD/ : { *(.discard*) }
}