This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] More fixes for COFF/PE lanker garbage collection.
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 4 Apr 2016 12:45:34 -0000
- Subject: [binutils-gdb] More fixes for COFF/PE lanker garbage collection.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a061de07e441718d3658be332fd3172d87c7440b
commit a061de07e441718d3658be332fd3172d87c7440b
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Apr 4 13:44:57 2016 +0100
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:
---
ld/ChangeLog | 10 ++++++++++
1 file changed, 10 insertions(+)
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 <nickc@redhat.com>
+
+ 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 <amodra@gmail.com>
* ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.