I am using uml-patch-2.6.3-rc2-1.bz2 downloaded from sf..
against 2.6.3 kernel. (ie: gentoo is using the correct patch). I
couldn't apply the
patch below I'm assuming because it is already in the patch I am using.
So.. I'm still in the same situation of not being able to link the linux
executable. (On one of my
machines).
Thanks for your help
-Dennis
BlaisorBlade wrote:
Try this patch or use 2.6.3-rc2 from the site against vanilla 2.6.3, since
that patch includes this fix. Also, if it works, report to us and ask to
Gentoo to use the same patch version. This fix (or better, the second hunk;
the first one is non-significant, it just was there, but it does not hurt) is
just a cleanup for some of us, but instead is required with some versions of
binutils (i.e. the latest one).
Bye
--- linux-2.6.0/include/asm-um/common.lds.S.~1~ 2003-12-31 18:10:51.000000000
+0100
+++ linux-2.6.0/include/asm-um/common.lds.S 2003-12-31 18:13:51.000000000
+0100
@@ -1,6 +1,9 @@
#include <asm-generic/vmlinux.lds.h>
- .fini : { *(.fini) } =0x9090
+ .fini : {
+ KEEP (*(.fini))
+ } =0x90909090
+
_etext = .;
PROVIDE (etext = .);
@@ -15,18 +18,6 @@
RODATA
- __start___ksymtab = .; /* Kernel symbol table */
- __ksymtab : { *(__ksymtab) }
- __stop___ksymtab = .;
-
- __start___gpl_ksymtab = .; /* Kernel symbol table: GPL-only symbols */
- __gpl_ksymtab : { *(__gpl_ksymtab) }
- __stop___gpl_ksymtab = .;
-
- __start___kallsyms = .; /* All kernel symbols */
- __kallsyms : { *(__kallsyms) }
- __stop___kallsyms = .;
-
.unprotected : { *(.unprotected) }
. = ALIGN(4096);
PROVIDE (_unprotected_end = .);
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
|