#8039: RTS linker: unloadObj() does not actually unload the code
---------------------------------+------------------------------------------
Reporter: simonmar | Owner: simonmar
Type: task | Status: new
Priority: high | Milestone: 7.8.1
Component: Runtime System | Version: 7.6.3
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by simonmar):
@igloo: yes, I have `DYNAMIC_GHC_PROGRAMS=NO` in my `mk/build.mk`. I
don't know how to do this with the system linker yet, because there
doesn't seem to be an easy way to get hold of the start and end address of
the image in memory - there's a fairly complex API in `rtld-audit`, but
even that only seems to give you the start address.
Anyway, for the application I need this for, we're using the RTS linker
and not shared libraries. So please don't make the RTS linker go away :-)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/8039#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets