Add explicit Program Headers to linker scripts.
[seabios.git] / src / rombios32seg.lds.S
1 // Linker definitions for 32bit segmented code
2 //
3 // Copyright (C) 2009  Kevin O'Connor <kevin@koconnor.net>
4 //
5 // This file may be distributed under the terms of the GNU LGPLv3 license.
6
7 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
8 OUTPUT_ARCH("i386")
9 PHDRS
10 {
11 }
12 SECTIONS
13 {
14         .text32seg code32seg_start : {
15                 *(.text32seg)
16         }
17         /DISCARD/ : { *(.discard*) }
18 }