bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/11539] ld --gc-sections should work for PE-COFF on MinGW


From: damian at veritymedical dot com
Subject: [Bug ld/11539] ld --gc-sections should work for PE-COFF on MinGW
Date: Mon, 19 Aug 2013 18:43:07 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=11539

Damian Kaczmarek <damian at veritymedical dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damian at veritymedical dot com

--- Comment #9 from Damian Kaczmarek <damian at veritymedical dot com> ---
I was dissatisfied with my DLL size being an order of magnitude bigger than it
should be and the search lead me to this bug report. I have just tried the
provided patch with binutils-2.23.2 and the initial builds of my statically
linked DLL failed with a section named "COMMON" missing. I have changed the
cofflink.c to exclude this section from removal and it finally built. However,
the functions from my DLL crash so probably something got badly removed. After
debugging the removal process by -Wl,--print-gc-sections I also prevented
.eh_frame from removal but my application still crashed. At this point I feel
only despair as COFF is basically black magic to me. Does anybody work on this
feature or have more up to date patches? I would happily do some testing and/or
help in other ways.

-- 
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]