Always zap the trailing @N from symbols when looking up in a DLL
authorSimon Marlow <marlowsd@gmail.com>
Wed, 12 Nov 2008 11:15:18 +0000 (11:15 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 12 Nov 2008 11:15:18 +0000 (11:15 +0000)
commitc1d326be1992fccf8efe465b78b5735eb37d2265
tree3f92ce00c936cfb1291094c0d8553af89e2b6205
parent376fad712985bb936489b97c52386d8c6c885e38
Always zap the trailing @N from symbols when looking up in a DLL

Fixes win32002(ghci)

Previously we only did this for references from object files, but we
should do it for all symbols, including those that GHCi looks up due
to FFI calls from bytecode.
rts/Linker.c