Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 1998 17:22:23 -0500 (CDT)
From:      Steve Price <sprice@hiwaay.net>
To:        "Donald J. Maddox" <dmaddox@scsn.net>
Cc:        current@FreeBSD.ORG
Subject:   Re: Loadable Modules in ELF XF86
Message-ID:  <Pine.OSF.4.02.9809221721180.6412-100000@fly.HiWAAY.net>
In-Reply-To: <19980922161455.A1815@scsn.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Sep 1998, Donald J. Maddox wrote:

# On Tue, Sep 22, 1998 at 12:27:10PM +1000, David Dawes wrote:
# > These are X server modles, not kernel modules.  If the X server is ELF,
# > then its modules should be too.
# > 
# > My first guess is that the something like the following needs to be
# > added to FreeBSD.cf so that X server symbols get exported for use by
# > the modules:
# > 
# > #if UseElfFormat
# > #define DlLibrary	-rdynamic
# > #else
# > #define DlLibrary	/**/
# > #endif
# > 
# > #if BuildDynamicLoading
# > #define ServerExtraSysLibs	DlLibrary
# > #else
# > #define ServerExtraSysLibs	/**/
# > #endif
# > 
# > 
# > Another thing that probably needs to be changed is the definition of
# > PREPEND_UNDERSCORE in xfree86/common/xf86Dl.c, which determines whether
# > symbols passed to dlsym(3) include a leading underscore.  I'd suggest:
# > 
# > #if defined(CSRG_BASED) && !defined(__ELF__)
# > #define PREPEND_UNDERSCORE
# > #endif
# 
# Yeah, Vladimir was kind enough to straighten me out on this stuff.  Now
# that you've posted this, maybe someone with commit privs will actually
# put it in the port...  I hope :-)

I'm fixing to start a build with this patch.  If all goes
well it will be submitted later on tonight.

Steve

# 
# To Unsubscribe: send mail to majordomo@FreeBSD.org
# with "unsubscribe freebsd-current" in the body of the message
# 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.02.9809221721180.6412-100000>