Fix uninitialized variable in cbfs menu code.
[seabios.git] / src / layout16.lds.S
1 // Placement of the 16bit code.
2 //
3 // Copyright (C) 2008,2009  Kevin O'Connor <kevin@koconnor.net>
4 //
5 // This file may be distributed under the terms of the GNU LGPLv3 license.
6
7 #include "config.h" // BUILD_BIOS_ADDR
8
9 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
10 OUTPUT_ARCH("i386")
11 SECTIONS
12 {
13
14 // The actual placement of the 16bit sections is determined by the
15 // script tools/layoutrom.py
16 #include "../out/romlayout16.lds"
17
18         // Discard regular data sections to force a link error if
19         // 16bit code attempts to access data not marked with VAR16.
20         /DISCARD/ : { *(.text*) *(.rodata*) *(.data*) *(.bss*) *(COMMON) }
21 }