[PATCH] Add ld.gold option "--dynamic-list-only"

H.J. Lu hjl.tools@gmail.com
Tue Mar 11 20:47:00 GMT 2014


On Tue, Mar 11, 2014 at 1:26 PM, Cary Coutant <ccoutant@google.com> wrote:
> The binutils list got dropped accidentally from our conversation.
> Here's the missing part of the conversation...
>
> Does anyone have any comment on whether a symbol that is both in
> --dynamic-list script and in an --exclude-libs library should be
> exported? I think it's a bug that --exclude-libs overrides
> --dynamic-list -- the other way around is the only way that makes
> sense to me.
>

Doesn't version script

   Node name can be omitted, provided it is the only version node in the
version script.  Such version script doesn't assign any versions to
symbols, only selects which symbols will be globally visible out and
which won't.

     { global: foo; bar; local: *; };

do the same thing?  Why do we need a new option?


-- 
H.J.



More information about the Binutils mailing list