Date: Mon, 21 Jul 2003 09:10:59 -0700 (PDT) From: Matthew Dillon <dillon@apollo.backplane.com> To: Peter Wemm <peter@wemm.org> Cc: hackers@freebsd.org Subject: Re: Possible issue with in-kernel ELF loader. Message-ID: <200307211610.h6LGAxpk026805@apollo.backplane.com> References: <20030721055404.6EEB72A7EA@canning.wemm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
:> It turns out that the kernel's internal ELF loader is misinterpreting :> an ABS symbol (i.e. set with .SET in assembly) whos value is 0 as being :> 'not found', and once that is fixed it was also confusing the absolute :> symbol with a COMMON symbol. : :Thanks for the pointer. FWIW, We use -fno-common on 5.x to avoid common :symbols even existing in the first place. There were a few missing :externs that this turned up. : :Cheers, :-Peter :-- :Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com Hmm. Though you seem to override it for the linux and svr4 modules. It's a little too hackish for my tastes but I'll keep it in mind. There's something to be said for being able to clean up those kinds of declarations. -Matt Matthew Dillon <dillon@backplane.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307211610.h6LGAxpk026805>