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: Vyacheslav Ostapenko <ostap73 at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Cary Coutant <ccoutant at google dot com>, Binutils <binutils at sourceware dot org>
- Date: Tue, 11 Mar 2014 19:22:28 -0400
- 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> <CAMe9rOo--2LQg7NE2xN8V_tbF84g9V0SJ7iSBt9MNafzzDAbeA at mail dot gmail dot com> <CAJgOwdnOFWhYjqjNLrsDEn6MCztCewUexq4PfpKqLpss=wVkcQ at mail dot gmail dot com> <CAMe9rOrxqozR6fYxMkJXnaT13_vNDguq5bmBwrLvgwwZL48GVQ at mail dot gmail dot com>
Done: https://sourceware.org/bugzilla/show_bug.cgi?id=16693
On Tue, Mar 11, 2014 at 5:06 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Tue, Mar 11, 2014 at 2:02 PM, Vyacheslav Ostapenko <ostap73@gmail.com> wrote:
>>> Why do we need a new option?
>>
>> The problem that --dynamic-list doesn't modify automatic exports (what
>> is already exported by __attribute__((visibility( default ))) ) and
>> there is no way to override automatic exports.
>>
>> But this is not necessary if bug with --exclude-libs is fixed. The bug
>> is that --exclude-libs overrides exports specified by --dynamic-list
>> or --export-symbol (non-automatic exports).
>
> Please open a bug report with a testcase to show why
> the new option is needed or issues with the existing
> options.
>
>
> --
> H.J.