design choices for a loadable module interface
Nicolas Williams
Nicolas.Williams at oracle.com
Tue Jun 29 18:29:23 EDT 2010
On Tue, Jun 29, 2010 at 05:12:26PM -0500, Nicolas Williams wrote:
> On Tue, Jun 29, 2010 at 02:55:08PM -0700, Russ Allbery wrote:
> > > Data symbols tend to have more issues than function symbols. [...]
> >
> > Given that both MIT and Heimdal are already successfully using exported
> > data symbols as part of their ABIs, I'd like to hear more concrete details
> > of what problems this is currently causing in practice before ruling this
> > out. I assume that you're proposing moving away from this to solve some
> > set of problems that are currently affecting both major Kerberos
> > implementations?
>
> I distinctly remember issues on Windows; I just don't remember the
> details.
I've asked one of the Solaris linker aliens, and the answer was: copy
relocations. These are a problem when dlopen/dlsym are not involved and
the caller is not built as PIC code. In the case we're talking about
data symbols are not a problem.
Nico
--
More information about the krbdev
mailing list