let tests compile again

This commit is contained in:
Daniel Wagner 2018-03-01 11:45:59 -05:00
parent 3542977fc7
commit 851168f9ad

View File

@ -48,10 +48,10 @@ withMemory _ e k =
Left err -> C.throwM (MemoryLoadError err)
Right (_sim, mem) -> k mem
where
loadCfg = MM.LoadOptions { MM.loadStyleOverride = Just MM.LoadBySegment
, MM.includeBSS = False
, MM.loadRegionIndex = Just 0
}
loadCfg = MM.defaultLoadOptions
{ MM.loadStyleOverride = Just MM.LoadBySegment
, MM.loadRegionIndex = Just 0
}
data ElfException = MemoryLoadError String
deriving (Typeable, Show)