| gem5
    v19.0.0.0
    | 
#include "base/loader/elf_object.hh"#include <fcntl.h>#include <sys/mman.h>#include <sys/stat.h>#include <sys/types.h>#include <unistd.h>#include <cassert>#include <string>#include "base/bitfield.hh"#include "base/loader/symtab.hh"#include "base/logging.hh"#include "base/trace.hh"#include "debug/Loader.hh"#include "gelf.h"#include "sim/byteswap.hh"Go to the source code of this file.
| Functions | |
| void | setInterpDir (const std::string &dirname) | 
| This is the interface for setting up a base path for the elf interpreter.  More... | |
| void setInterpDir | ( | const std::string & | dirname | ) | 
This is the interface for setting up a base path for the elf interpreter.
This is needed when loading a cross-compiled (guest ISA != host ISA) dynamically linked application.
| dirname | base path for the interpreter | 
Definition at line 98 of file elf_object.cc.
References fatal_if.
Referenced by init_loader(), and ElfObject::programHeaderCount().