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

Vyacheslav Ostapenko ostap73@gmail.com
Tue Mar 11 23:22:00 GMT 2014


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.



More information about the Binutils mailing list