diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-06-12 23:52:21 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-06-12 23:52:21 -0700 |
commit | 91622602c29f847d9844ec66a1db4ca3740901d3 (patch) | |
tree | 8bbd9337b2f0f9ffae8d497de9dd87db9be471e3 /src/dev | |
parent | 7bc68151b701931307a7d333f55e44baff665302 (diff) | |
download | gem5-91622602c29f847d9844ec66a1db4ca3740901d3.tar.xz |
Loader: Handle bad section names when loading an ELF file.
If there's a problem when reading the section names from a supposed ELF file,
this change makes gem5 print an error message as returned by libelf and die.
Previously these sorts of errors would make gem5 segfault when it tried to
access the section name through a NULL pointer.
Diffstat (limited to 'src/dev')
0 files changed, 0 insertions, 0 deletions