bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/16693] "exclude-libs" drops symbols that are exported through


From: hjl.tools at gmail dot com
Subject: [Bug gold/16693] "exclude-libs" drops symbols that are exported through "dynamic-list" or "export-dynamic-symbol"
Date: Thu, 13 Mar 2014 15:10:51 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=16693

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #15 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Viatcheslav Ostapenko from comment #14)
> (In reply to Cary Coutant from comment #11)
> > > IMHO, --version-script option needs better doc. I could never guess from
> > > current "--version-script" description in man (which has just "Read 
> > > version
> > > script"), that it can manage any shared library exports.
> > 
> > See https://sourceware.org/binutils/docs-2.24/ld/VERSION.html#VERSION
> 
> Of course I've found all this. The problem, that there is no any hint in
> ld/gold man files that version script can manage any exports. And no
> googling brought me around version script. 

Google "gnu linker export symbol".

> Something like:
> 
> Read version script.
> Version script is used for managing symbol export versions for shared
> libraries when using ELF.
> 
> Similar 1-2 lines notes would be great for other files that ld loads.

ld manual says

---
The format of the version script commands is identical to that used by Sun's
linker in Solaris 2.5. The version script defines a tree of version nodes. You
specify the node names and interdependencies in the version script. You can
specify which symbols are bound to which version nodes, and you can reduce a
specified set of symbols to local scope so that they are not globally visible
outside of the shared library.
---

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

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