bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/19803] gc-sections breaks PE DLL variable export


From: martin.koegler at chello dot at
Subject: [Bug ld/19803] gc-sections breaks PE DLL variable export
Date: Wed, 23 Mar 2016 08:14:28 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19803

--- Comment #18 from martin.koegler at chello dot at ---
First, 41f46ed9fea1a066de95b6a85c56393beef0b8b8 (Fix possible failure in the
AVR linker tests) introduced (propably accidentically) did a change to
pe_dll_generate_implib not documented in the changelog. In my option, this
change is not necessary, as it just would hides broken symbols in the export
library.
A hidden symbol would be an official part of the DLL export table with nothing
behind it (= not working symbol).

The prefix name patch would need a xstrdup, as name is freed some lines below.

There is second case missing (symbol matching implemented by
pe_fixup_stdcalls).
Look at the entry symbol (address@hidden linked to DllMainCRTStartup).
According to the code, the other way around should be possible too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]