emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-dynamic-module in Emacs Git?


From: Eli Zaretskii
Subject: Re: emacs-dynamic-module in Emacs Git?
Date: Tue, 02 Dec 2014 20:09:43 +0200

> From: Steinar Bang <address@hidden>
> Date: Tue, 02 Dec 2014 18:58:56 +0100
> 
> >>>>> Eli Zaretskii <address@hidden>:
> 
> > Or ask yourself why the latest GCC and Binutils default to not export
> > anything, contrary to what they did in older versions.
> 
> Is this through for ELF as well?

I have a very limited knowledge and experience about ELF, but here's
what the ld manual says in a section that is not specific to
MS-Windows:

  `-E'
  `--export-dynamic'
       When creating a dynamically linked executable, add all symbols to
       the dynamic symbol table.  The dynamic symbol table is the set of
       symbols which are visible from dynamic objects at run time.

       If you do not use this option, the dynamic symbol table will
       normally contain only those symbols which are referenced by some
       dynamic object mentioned in the link.

       If you use `dlopen' to load a dynamic object which needs to refer
       back to the symbols defined by the program, rather than some other
       dynamic object, then you will probably need to use this option when
       linking the program itself.

This does sound a general feature.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]