Change-Id: I86c83e8622ae5a88ff802ccb1cb919194c1251ef
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21820
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
MemoryImage::Segment{ "bss", N_BSSADDR(*execHdr), execHdr->bsize}
});
- for (auto &seg: image.segments())
+ for (auto M5_VAR_USED &seg: image.segments())
DPRINTFR(Loader, "%s\n", seg);
return image;
{ "bss", aoutHdr->bss_start, aoutHdr->bsize }
});
- for (auto &seg: image.segments())
+ for (auto M5_VAR_USED &seg: image.segments())
DPRINTFR(Loader, "%s\n", seg);
return image;
"No loadable segments in '%s'. ELF file corrupted?\n",
imageData->filename());
- for (auto &seg: image.segments())
+ for (auto M5_VAR_USED &seg: image.segments())
DPRINTFR(Loader, "%s\n", seg);
// We will actually read the sections when we need to load them