205a206,208
> // Patch the ld_bias for dynamic executables.
> updateBias();
>
248,251c251,254
< // This is the address of the elf "interpreter", It should be set
< // to 0 for regular executables. It should be something else
< // (not sure what) for dynamic libraries.
< auxv.push_back(auxv_t(M5_AT_BASE, 0));
---
> // This is the base address of the ELF interpreter; it should be
> // zero for static executables or contain the base address for
> // dynamic executables.
> auxv.push_back(auxv_t(M5_AT_BASE, getBias()));
405c408
< tc->pcState(objFile->entryPoint());
---
> tc->pcState(getStartPC());