#3333: GHCi doesn't load weak symbols
--------------------------------------+-------------------------------------
Reporter: heatsink | Owner: akio
Type: bug | Status: patch
Priority: normal | Milestone: 7.6.2
Component: GHCi | Version: 6.10.4
Keywords: weak, dynamic loading | Os: Linux
Architecture: x86 | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
--------------------------------------+-------------------------------------
Changes (by hgolden):
* owner: hgolden => akio
Comment:
Replying to [comment:20 akio]:
> I implemented a support for ELF weak symbols on Linux. The
implementation follows hgolden's design above, except that it doesn't
support undefined weak symbols. The change is implemented in 3 patches:
the first one simplifies the code, the second one implements the support,
and the third one adds a special symbol !__dso_handle. This is not
directly related to weak symbols, but is required to load C++ object
files.
akio, it's great that you have done this, since I let it lie fallow. I
have reassigned the ownership to you. You should also generate a test for
your patch so it can be merged into the HEAD branch.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3333#comment:21>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs