[project @ 2002-01-26 17:58:47 by rje] This is a simple fix for a rather obscure bug.
[project @ 2002-01-26 17:58:47 by rje]
This is a simple fix for a rather obscure bug.

In the heap/stack checking code, we were creating info tables with names of the form stg_gc_X_ret_info, and giving them entry points with names of the form stg_gc_X_ret.

Unfortunately, the mangler expects that if an info table is called Y_info, the entry point should be called Y_ret or Y_entry.

In this case, the mangler thus looks for stg_gc_X_ret_ret and stg_gc_X_ret_entry, neither of which exists.

As a result, the entry points aren't placed directly after the info tables.

Fortunately, the code for the entry points was defined emmediately after the info table definition, and so was *usually* in the right place already.


However, in certain circumstances (that can result from some tweaks on my private tree, and might possibly occur by other means), this was not happening, and thus any attempts to enter the entry point for this info table will cause problems.


The fix is quite simple: rename the info tables so that the mangler finds the entry points and puts them in the right places.


I don't think this commit is likely to have a notable effect on anything else.

nathyong/microghc-ghc,sdiehl/ghc,lukexi/ghc-7.8-arm64,ml9951/ghc,sdiehl/ghc,GaloisInc/halvm-ghc,sgillespie/ghc,gcampax/ghc,forked-upstream-packages-for-ghcjs/ghc,ezyang/ghc,spacekitteh/smcghc,elieux/ghc,gcampax/ghc,mcmaniac/ghc,nomeata/ghc,nushio3/ghc,forked-upstream-packages-for-ghcjs/ghc,frantisekfarka/ghc-dsi,nushio3/ghc,lukexi/ghc,lukexi/ghc,lukexi/ghc-7.8-arm64,vTurbine/ghc,acowley/ghc,nushio3/ghc,tibbe/ghc,mfine/ghc,shlevy/ghc,nushio3/ghc,mfine/ghc,shlevy/ghc,hferreiro/replay,vTurbine/ghc,fmthoma/ghc,christiaanb/ghc,nathyong/microghc-ghc,frantisekfarka/ghc-dsi,lukexi/ghc,fmthoma/ghc,ml9951/ghc,wxwxwwxxx/ghc,oldmanmike/ghc,snoyberg/ghc,lukexi/ghc,fmthoma/ghc,ml9951/ghc,bitemyapp/ghc,mcschroeder/ghc,hferreiro/replay,GaloisInc/halvm-ghc,nkaretnikov/ghc,urbanslug/ghc,nathyong/microghc-ghc,siddhanathan/ghc,ghc-android/ghc,mettekou/ghc,nushio3/ghc,GaloisInc/halvm-ghc,spacekitteh/smcghc,tjakway/ghcjvm,christiaanb/ghc,mettekou/ghc,siddhanathan/ghc,tibbe/ghc,AlexanderPankiv/ghc,anton-dessiatov/ghc,sdiehl/ghc,wxwxwwxxx/ghc,ml9951/ghc,sgillespie/ghc,ml9951/ghc,ezyang/ghc,acowley/ghc,elieux/ghc,nushio3/ghc,AlexanderPankiv/ghc,oldmanmike/ghc,gcampax/ghc,ekmett/ghc,anton-dessiatov/ghc,mcmaniac/ghc,spacekitteh/smcghc,anton-dessiatov/ghc,forked-upstream-packages-for-ghcjs/ghc,mcschroeder/ghc,GaloisInc/halvm-ghc,AlexanderPankiv/ghc,jstolarek/ghc,TomMD/ghc,gridaphobe/ghc,gcampax/ghc,elieux/ghc,mettekou/ghc,tjakway/ghcjvm,forked-upstream-packages-for-ghcjs/ghc,vTurbine/ghc,nkaretnikov/ghc,spacekitteh/smcghc,siddhanathan/ghc,urbanslug/ghc,oldmanmike/ghc,ryantm/ghc,nathyong/microghc-ghc,ezyang/ghc,snoyberg/ghc,forked-upstream-packages-for-ghcjs/ghc,ilyasergey/GHC-XAppFix,bitemyapp/ghc,sgillespie/ghc,tibbe/ghc,lukexi/ghc-7.8-arm64,sdiehl/ghc,gridaphobe/ghc,nomeata/ghc,oldmanmike/ghc,frantisekfarka/ghc-dsi,ghc-android/ghc,anton-dessiatov/ghc,bitemyapp/ghc,da-x/ghc,TomMD/ghc,mcschroeder/ghc,fmthoma/ghc,anton-dessiatov/ghc,siddhanathan/ghc,fmthoma/ghc,tjakway/ghcjvm,ryantm/ghc,GaloisInc/halvm-ghc,mcmaniac/ghc,TomMD/ghc,vikraman/ghc,vikraman/ghc,sgillespie/ghc,nkaretnikov/ghc,sdiehl/ghc,urbanslug/ghc,hferreiro/replay,ghc-android/ghc,snoyberg/ghc,TomMD/ghc,shlevy/ghc,holzensp/ghc,jstolarek/ghc,acowley/ghc,sdiehl/ghc,elieux/ghc,green-haskell/ghc,ezyang/ghc,nushio3/ghc,holzensp/ghc,snoyberg/ghc,olsner/ghc,lukexi/ghc-7.8-arm64,christiaanb/ghc,tjakway/ghcjvm,mfine/ghc,TomMD/ghc,hferreiro/replay,AlexanderPankiv/ghc,green-haskell/ghc,mettekou/ghc,elieux/ghc,ryantm/ghc,mcschroeder/ghc,mcmaniac/ghc,TomMD/ghc,holzensp/ghc,siddhanathan/ghc,shlevy/ghc,gcampax/ghc,ezyang/ghc,ekmett/ghc,wxwxwwxxx/ghc,ilyasergey/GHC-XAppFix,green-haskell/ghc,wxwxwwxxx/ghc,nkaretnikov/ghc,tjakway/ghcjvm,da-x/ghc,da-x/ghc,gridaphobe/ghc,ryantm/ghc,nkaretnikov/ghc,bitemyapp/ghc,siddhanathan/ghc,ilyasergey/GHC-XAppFix,olsner/ghc,christiaanb/ghc,green-haskell/ghc,AlexanderPankiv/ghc,tibbe/ghc,wxwxwwxxx/ghc,mfine/ghc,vikraman/ghc,anton-dessiatov/ghc,ghc-android/ghc,gridaphobe/ghc,nkaretnikov/ghc,lukexi/ghc,vikraman/ghc,nathyong/microghc-ghc,mettekou/ghc,bitemyapp/ghc,GaloisInc/halvm-ghc,acowley/ghc,ryantm/ghc,olsner/ghc,mcschroeder/ghc,mcschroeder/ghc,jstolarek/ghc,sgillespie/ghc,olsner/ghc,ekmett/ghc,anton-dessiatov/ghc,sdiehl/ghc,olsner/ghc,mfine/ghc,hferreiro/replay,acowley/ghc,ezyang/ghc,da-x/ghc,nkaretnikov/ghc,fmthoma/ghc,elieux/ghc,vTurbine/ghc,nomeata/ghc,urbanslug/ghc,hferreiro/replay,mfine/ghc,gridaphobe/ghc,vTurbine/ghc,gcampax/ghc,hferreiro/replay,nathyong/microghc-ghc,oldmanmike/ghc,christiaanb/ghc,urbanslug/ghc,ekmett/ghc,green-haskell/ghc,mettekou/ghc,frantisekfarka/ghc-dsi,oldmanmike/ghc,da-x/ghc,tjakway/ghcjvm,urbanslug/ghc,GaloisInc/halvm-ghc,ilyasergey/GHC-XAppFix,mfine/ghc,jstolarek/ghc,christiaanb/ghc,olsner/ghc,siddhanathan/ghc,AlexanderPankiv/ghc,AlexanderPankiv/ghc,ekmett/ghc,TomMD/ghc,vTurbine/ghc,ml9951/ghc,nathyong/microghc-ghc,ghc-android/ghc,ml9951/ghc,christiaanb/ghc,tjakway/ghcjvm,gridaphobe/ghc,vTurbine/ghc,mcmaniac/ghc,gridaphobe/ghc,ghc-android/ghc,nomeata/ghc,da-x/ghc,frantisekfarka/ghc-dsi,fmthoma/ghc,sgillespie/ghc,sgillespie/ghc,vikraman/ghc,shlevy/ghc,oldmanmike/ghc,spacekitteh/smcghc,da-x/ghc,tibbe/ghc,snoyberg/ghc,gcampax/ghc,forked-upstream-packages-for-ghcjs/ghc,forked-upstream-packages-for-ghcjs/ghc,lukexi/ghc-7.8-arm64,shlevy/ghc,shlevy/ghc,vikraman/ghc,vikraman/ghc,nomeata/ghc,elieux/ghc,ghc-android/ghc,mettekou/ghc,snoyberg/ghc,mcschroeder/ghc,olsner/ghc,jstolarek/ghc,holzensp/ghc,ezyang/ghc,wxwxwwxxx/ghc,ml9951/ghc,snoyberg/ghc,wxwxwwxxx/ghc,holzensp/ghc,acowley/ghc,urbanslug/ghc,acowley/ghc