This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ld: Set non_ir_ref_regular for --undefined SYMBOL


On Wed, Jul 4, 2018 at 5:19 AM, Alan Modra <amodra@gmail.com> wrote:
> On Mon, Jul 02, 2018 at 03:43:14PM -0700, H.J. Lu wrote:
>> Set non_ir_ref_regular to TRUE for symbols forced into the output file
>> so that they won't be removed by garbage collection with LTO.
>>
>>       PR ld/23309
>>       * ldlang.c (insert_undefined): Set non_ir_ref_regular to TRUE.
>>       * plugin.c (is_visible_from_outside): Don't scan entry_symbol.
>>       * testsuite/ld-plugin/pr23309.c: New file.
>>       * testsuite/ld-plugin/pr23309.d: Likewise.
>
> Looks good to me.
>

Checked in master.  OK for 2.31 branch?


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]