From: Nick Clifton Date: Mon, 4 Apr 2016 12:44:57 +0000 (+0100) Subject: More fixes for COFF/PE lanker garbage collection. X-Git-Tag: binutils-2_27~896 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a061de07e441718d3658be332fd3172d87c7440b;p=external%2Fbinutils.git More fixes for COFF/PE lanker garbage collection. PR 19803 * emultempl/pe.em (change_undef): New function. Encapsulates duplicated code in pe_fixup_stdcalls and adds the newly defined sym to the gc root list. (pe_fixup_stdcall): Use the new function. * pe-dll.c (process_def_file_and_drectve); Add alias of exported symbol to gc root list. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index f1f7b74..b4d3759 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,13 @@ +2016-04-04 Nick Clifton + + PR 19803 + * emultempl/pe.em (change_undef): New function. Encapsulates + duplicated code in pe_fixup_stdcalls and adds the newly defined + sym to the gc root list. + (pe_fixup_stdcall): Use the new function. + * pe-dll.c (process_def_file_and_drectve); Add alias of exported + symbol to gc root list. + 2016-03-31 Alan Modra * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.