USB EHCI should yield() whil waiting for controller to ack reset.
[seabios.git] / src / rombios16.lds.S
index 009eb8993bb97851fe8b882aa36687a290cfd0da..6d382f036e2b6c805607ea913b5da3b273470a58 100644 (file)
@@ -1,34 +1,21 @@
 // Linker definitions for 16bit code
 //
-// Copyright (C) 2008  Kevin O'Connor <kevin@koconnor.net>
+// Copyright (C) 2008,2009  Kevin O'Connor <kevin@koconnor.net>
 //
-// This file may be distributed under the terms of the GNU GPLv3 license.
-
-#include "config.h"
+// 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
 {
-        . = ( _code32_code32_end - BUILD_BIOS_ADDR ) ;
-        code16_start = . ;
-        .text16 : {
-                *(.text)
-                code16_rodata = . ;
-                *(.rodata*)
-                *(.data)
-                code16_bss = . ;
-                *(.bss)
-                *(COMMON)
+        .data16 data16_start : {
+                *(.data16)
                 }
-        freespace1_start = . ;
-        code16_end = . ;
-
-        . = BUILD_START_FIXED ;
-        code16_fixed_start = . ;
-        freespace1_end = . ;
-        .text16.fixed.addr : {
-                *(.text.fixed.addr)
+        .text16 text16_start : {
+                *(.text16)
                 }
-        code16_fixed_end = . ;
+        /DISCARD/ : { *(.discard*) }
 }