blob: f699816946d2f7151542b54478667bacb72e4287 [file] [log] [blame]
Kevin O'Connor74534532008-05-12 18:28:58 -04001// Linker definitions for 16bit code
2//
3// Copyright (C) 2008 Kevin O'Connor <kevin@koconnor.net>
4// Copyright (C) 2002 MandrakeSoft S.A.
5//
6// This file may be distributed under the terms of the GNU GPLv3 license.
7
8#include "config.h"
9
10OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
11OUTPUT_ARCH("i386")
12ENTRY(post16);
13SECTIONS
14{
15 . = 0;
16 .text : {
17 *(.text)
18 *(.rodata)
19 *(.rodata.*)
20 *(.data)
21 bios16c_end = .;
22 . = CONFIG_START_FIXED;
23 *(.text.fixed.addr)
24 }
25
26 /DISCARD/ : { *(.stab)
27 *(.stabstr)
28 *(.comment)
29 *(.note)
30 }
31}