Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2001 15:38:41 -0800
From:      Marcel Moolenaar <marcel@cup.hp.com>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        "Kenneth D. Merry" <ken@kdm.org>, arch@FreeBSD.ORG
Subject:   Re: sbufs in userland, proposed solution
Message-ID:  <3AB00101.DD771066@cup.hp.com>
References:  <200103140547.WAA04393@usr05.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote:
> 
> There is supposed to be an ELF "depends on" section added to
> the dependent library, which the linker then uses to load the
> depended upon library.
> 
> For dynamic libraries, this is handled by the ld.so doing the
> dirty work.  In the static case, this is supposed to be done
> by ld, instead.

Static libraries aren't ELF objects themselves and thus won't ever
contain a "depends on" section. The (possible) ELF objects in the
archive can't have "depends on" sections, because those don't exist for
relocatable objects if the objects are ELF in the first place.

-- 
Marcel Moolenaar
  mail: marcel@cup.hp.com / marcel@FreeBSD.org
  tel:  (408) 447-4222

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AB00101.DD771066>