From 6ee86bf497ea87a585fe8e4651760e71244fa2fb Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 1 Oct 2019 21:15:06 -0700 Subject: arch,base: Separate the idea of a memory image and object file. A memory image can be described by an object file, but an object file is more than a memory image. Also, it makes sense to manipulate a memory image to, for instance, change how it's loaded into memory. That takes on larger implications (relocations, the entry point, symbols, etc.) when talking about the whole object file, and also modifies aspects which may not need to change. For instance if an image needs to be loaded into memory at addresses different from what's in the object file, but other things like symbols need to stay unmodified. Change-Id: Ia360405ffb2c1c48e0cc201ac0a0764357996a54 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21466 Tested-by: kokoro Reviewed-by: Brandon Potter Maintainer: Gabe Black --- src/base/SConscript | 1 + 1 file changed, 1 insertion(+) (limited to 'src/base/SConscript') diff --git a/src/base/SConscript b/src/base/SConscript index 0c7558d09..efa7df700 100644 --- a/src/base/SConscript +++ b/src/base/SConscript @@ -76,6 +76,7 @@ Source('loader/aout_object.cc') Source('loader/dtb_object.cc') Source('loader/ecoff_object.cc') Source('loader/elf_object.cc') +Source('loader/memory_image.cc') Source('loader/object_file.cc') Source('loader/raw_object.cc') Source('loader/symtab.cc') -- cgit v1.2.3