From 3e5bf5fb0660704a2e3f0e4cf83fe411c88048e2 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 27 Apr 2005 11:38:43 +0000 Subject: console.c uses the generic table mechanism --- src/arch/i386/scripts/i386.lds | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/arch') diff --git a/src/arch/i386/scripts/i386.lds b/src/arch/i386/scripts/i386.lds index 51cfbd333..89d2f62ab 100644 --- a/src/arch/i386/scripts/i386.lds +++ b/src/arch/i386/scripts/i386.lds @@ -141,7 +141,10 @@ SECTIONS { *(.data) *(.data.*) - /* Various tables */ + /* Various tables. See include/tables.h for an explanation. */ + *(SORT(.tbl.*)) + + device_drivers = .; *(.drivers.device) device_drivers_end = .; @@ -154,15 +157,9 @@ SECTIONS { type_drivers = .; *(.drivers.type) type_drivers_end = .; - console_drivers = .; - *(.drivers.console) - console_drivers_end = .; post_reloc_fns = .; *(SORT(.post_reloc_fns.*)) post_reloc_fns_end = .; - init_fns = .; - *(SORT(.init_fns.*)) - init_fns_end = .; _progbits_end = .; } -- cgit v1.2.3-55-g7522