From a061de07e441718d3658be332fd3172d87c7440b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 4 Apr 2016 13:44:57 +0100 Subject: [PATCH] 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. --- ld/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index f1f7b74fdc7..b4d3759aa55 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. -- 2.30.2