aboutsummaryrefslogtreecommitdiffstats
path: root/src/rombios16.lds.S
blob: f699816946d2f7151542b54478667bacb72e4287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Linker definitions for 16bit code
//
// Copyright (C) 2008  Kevin O'Connor <kevin@koconnor.net>
// Copyright (C) 2002  MandrakeSoft S.A.
//
// This file may be distributed under the terms of the GNU GPLv3 license.

#include "config.h"

OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
OUTPUT_ARCH("i386")
ENTRY(post16);
SECTIONS
{
        . = 0;
        .text     : {
                *(.text)
                *(.rodata)
                *(.rodata.*)
                *(.data)
                bios16c_end = .;
                . = CONFIG_START_FIXED;
                *(.text.fixed.addr)
                }

        /DISCARD/ : { *(.stab)
                     *(.stabstr)
                     *(.comment)
                     *(.note)
                  }
}