Wed Aug 5 03:21:59 PDT 2009 Simon Marlow <[email protected]>
* Declare RTS-private prototypes with __attribute__((visibility("hidden")))
Ignore-this: 7e298c7ecbc1216502463fa05a984d3b
This has no effect with static libraries, but when the RTS is in a
shared library it does two things:
- it prevents the function from being exposed by the shared library
- internal calls to the function can use the faster non-PLT calls,
because the function cannot be overriden at link time.
M ./includes/rts/Flags.h -3 +3
M ./rts/Apply.h -5 +5
M ./rts/Arena.h -4 +4
M ./rts/AwaitEvent.h -2 +2
M ./rts/Capability.h +4
M ./rts/Disassembler.h -2 +2
M ./rts/FrontPanel.h +4
M ./rts/GetTime.h +4
M ./rts/Globals.h -2 +2
M ./rts/Hash.h +4
M ./rts/Interpreter.h -1 +1
M ./rts/LdvProfile.h -2 +2
M ./rts/Papi.h +4
M ./rts/Printer.h +4
M ./rts/ProfHeap.h -5 +9
M ./rts/Profiling.h -4 +8
M ./rts/Proftimer.h -6 +10
M ./rts/RaiseAsync.h +4
M ./rts/RetainerProfile.h -4 +8
M ./rts/RetainerSet.h +4
M ./rts/RtsMain.h -1 +1
M ./rts/RtsSignals.h -8 +12
M ./rts/RtsUtils.h +4
M ./rts/STM.h -35 +28
M ./rts/Sanity.h -14 +15
M ./rts/Schedule.h +4
M ./rts/Sparks.h +4
M ./rts/Stable.h -1 +5
M ./rts/Stats.h +3
M ./rts/StgPrimFloat.h -7 +11
M ./rts/StgRun.h -1 +1
M ./rts/Task.h +4
M ./rts/ThreadLabels.h +4
M ./rts/ThreadPaused.h -1 +1
M ./rts/Threads.h +4
M ./rts/Ticker.h -4 +8
M ./rts/Ticky.h -1 +1
M ./rts/Timer.h -2 +2
M ./rts/Trace.h +4
M ./rts/Updates.h +5
M ./rts/Weak.h +4
M ./rts/eventlog/EventLog.h +4
M ./rts/posix/FileLock.h -2 +2
M ./rts/posix/Itimer.h -1 +1
M ./rts/posix/Signals.h -1 +5
M ./rts/posix/TTY.h -2 +1
M ./rts/sm/BlockAlloc.h -4 +8
M ./rts/sm/Compact.h -1 +5
M ./rts/sm/Evac.h +4
M ./rts/sm/GC.h +4
M ./rts/sm/GCThread.h +4
M ./rts/sm/GCUtils.h +4
M ./rts/sm/MarkWeak.h +4
M ./rts/sm/OSMem.h +4
M ./rts/sm/Scav.h +4
M ./rts/sm/Storage.h +4
M ./rts/sm/Sweep.h -1 +1
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090805102159-12142-9dfe9a4e23f69ac2680aaf9b116dfe954f16c452.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc