--- ./arch/um/kernel/vmlinux.lds.S.script 2003-12-25 19:24:00.000000000 +0100 +++ ./arch/um/kernel/vmlinux.lds.S 2003-12-28 20:06:54.000000000 +0100 @@ -7,5 +7,24 @@ SECTIONS { + __binary_start = .; + . = ALIGN(4096); /* Init code and data */ + _stext = .; + __init_begin = .; + .init.text : { + _sinittext = .; + *(.init.text) + _einittext = .; + } + . = ALIGN(4096); + .text : + { + *(.text) + *(.fixup) + /* .gnu.warning sections are handled specially by elf32.em. */ + *(.gnu.warning) + *(.gnu.linkonce.t*) + } =0x90909090 + #include "asm/common.lds.S" } --- ./arch/um/dyn.lds.S.script 2003-12-28 12:51:48.000000000 +0100 +++ ./arch/um/dyn.lds.S 2003-12-28 20:06:46.000000000 +0100 @@ -58,15 +58,12 @@ } =0x90909090 .plt : { *(.plt) } .text : { - *(.text .stub .text.* .gnu.linkonce.t.*) + *(.text .text.* ) + *(.fixup) + *(.stub .gnu.linkonce.t.*) /* .gnu.warning sections are handled specially by elf32.em. */ *(.gnu.warning) } =0x90909090 - .fini : { - KEEP (*(.fini)) - } =0x90909090 - - .kstrtab : { *(.kstrtab) } #include "asm/common.lds.S" --- ./arch/um/uml.lds.S.script 2003-12-28 12:51:48.000000000 +0100 +++ ./arch/um/uml.lds.S 2003-12-28 20:07:18.000000000 +0100 @@ -37,7 +37,7 @@ /* .gnu.warning sections are handled specially by elf32.em. */ *(.gnu.warning) *(.gnu.linkonce.t*) - } + } =0x90909090 #include "asm/common.lds.S" --- ./include/asm-um/common.lds.S.script 2003-12-28 12:51:48.000000000 +0100 +++ ./include/asm-um/common.lds.S 2003-12-28 20:07:55.000000000 +0100 @@ -1,6 +1,9 @@ #include - .fini : { *(.fini) } =0x9090 + .fini : { + KEEP (*(.fini)) + } =0x90909090 + _etext = .; PROVIDE (etext = .);