This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Add ld.gold option "--dynamic-list-only"
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Cary Coutant <ccoutant at google dot com>
- Cc: Vyacheslav Ostapenko <ostap73 at gmail dot com>, Binutils <binutils at sourceware dot org>
- Date: Tue, 11 Mar 2014 13:47:31 -0700
- Subject: Re: [PATCH] Add ld.gold option "--dynamic-list-only"
- Authentication-results: sourceware.org; auth=none
- References: <CAJgOwdkGnSh3ywit_NEQdW3NxVf_q=rTqFa0gUbeMFz6ZXvQiA at mail dot gmail dot com> <CAHACq4pwdv2AxX6B4XuGLku_xOjiKzxUC6Z5mLcdZ0kfSVHfkw at mail dot gmail dot com> <CAJgOwd=0nhubZxvV9bUKdxGsuSeoK3wsZ8n51w18zBYMHeA+AA at mail dot gmail dot com> <CAHACq4ogn0_DbVxr50T-ZezQLWH8JXEfZfhK=QckNOBVB+WFyQ at mail dot gmail dot com> <CAJgOwdmp5aq6hYm-Fyt2CKxSu=zoFMXXxLv+HoLfOosTxpiSEQ at mail dot gmail dot com> <CAHACq4r6GRhGGKW=L1t2hBT8-anQVwNQjWYqD0JYhGd0T0GYOQ at mail dot gmail dot com> <CAJgOwdm+wVy_TEDx5raCg7zF2Lw8029CyU7MjY4K4POJhC0cQQ at mail dot gmail dot com> <CAHACq4r-BgO6NyQ_7r87DZwrRrthO50yZpG_fsSstLEGMk4JUg at mail dot gmail dot com> <CAJgOwd=w+bFL+g3QBv_Aw27ALywyF2j4Zy5ps5g2SQ76EJh=ow at mail dot gmail dot com> <CAHACq4osiF5v5G2O1MRBug2q8Rxh_M6+J1ejTj6iR-CQ=NACmg at mail dot gmail dot com> <CAJgOwdkVg1mqhFN53OKR8EgD1kRf9fFbzwQ2NKUKFwLE6FgjBQ at mail dot gmail dot com> <CAHACq4pUXoeK+Lwps28x6ev0XEkrrQvxWRisRTMC=xxUjpMWLA at mail dot gmail dot com>
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.