[PATCH] D14382: [ELF2] - Basic implementation of -r/--relocatable
Joerg Sonnenberger via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 18 07:40:22 PST 2015
On Wed, Nov 18, 2015 at 01:57:01AM +0000, Ed Maste via llvm-commits wrote:
> On 5 November 2015 at 18:13, Davide Italiano via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
> >
> > Just FYI even in FreeBSD this is not very high priority. -r is used
> > only for OpenPAM and another few modules that we can (easily)
> > disabled.
>
> We can disable the openpam_static build, but then we won't have the
> static openpam library. Although it's a little odd, we do rely on -r's
> functionality.
Right, simulating dlopen for static archives is one area where
relocatable objects are very helpful. They don't export any symbols
beside linker sets, so normal archive handling wouldn't work.
Joerg
More information about the llvm-commits
mailing list