summaryrefslogtreecommitdiff
path: root/configs/example
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2006-10-05 03:37:43 -0700
committerNathan Binkert <binkertn@umich.edu>2006-10-05 03:37:43 -0700
commit4142f8f7c02ff18cb42a91bb8b9c2e0d847cf505 (patch)
tree8c72ec8eacf19fae34946932efb0b13a7a3c6db9 /configs/example
parent51c8eab7b336a6c83e545b741cb975883fe56440 (diff)
downloadgem5-4142f8f7c02ff18cb42a91bb8b9c2e0d847cf505.tar.xz
Static global object don't work well, if the variables are
accessed during the construction of another static global object because there are no guarantees on ordering of construction, so stick the static global into a function as a static local and return a reference to the variable. This fixes the exit callback stuff on my Mac. --HG-- extra : convert_revision : 63a3844d0b5ee18e2011f1bc7ca7bb703284da94
Diffstat (limited to 'configs/example')
0 files changed, 0 insertions, 0 deletions