bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/12488] plugins don't support linkonce


From: ccoutant at gmail dot com
Subject: [Bug gold/12488] plugins don't support linkonce
Date: Sun, 27 Mar 2016 17:32:04 +0000

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

Cary Coutant <ccoutant at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #8 from Cary Coutant <ccoutant at gmail dot com> ---
> I noticed that the real problem is that plugins don't support linkonce. We
> select the symbol from the IL file but the section from the elf file :-)
> 
> Shouldn't be too hard to add support, but I will try to get LLVM to use
> comdat instead.
> 
> Should I close as wontfix?

Yeah, I think comdat is the right way to go.

BTW, with plugin_test.so, it doesn't recognize comdat symbols from the .syms
file, but if you add the comdat key as a --plugin-opt, it will special-case a
symbol of the same name. Limited use, but sufficient for the test cases.

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