diff -r 235ff1c046df src/arch/arm/process.cc --- a/src/arch/arm/process.cc Fri Apr 03 11:42:11 2015 -0500 +++ b/src/arch/arm/process.cc Thu Apr 09 17:35:16 2015 +0100 @@ -181,6 +181,8 @@ //Auxilliary vectors are loaded only for elf formatted executables. ElfObject * elfObject = dynamic_cast(objFile); if (elfObject) { + +#if !defined(__FreeBSD__) IntType features = Arm_Swp | Arm_Half | @@ -202,10 +204,14 @@ //Bits which describe the system hardware capabilities //XXX Figure out what these should be auxv.push_back(auxv_t(M5_AT_HWCAP, features)); +#endif + //The system page size auxv.push_back(auxv_t(M5_AT_PAGESZ, ArmISA::PageBytes)); +#if !defined(__FreeBSD__) //Frequency at which times() increments auxv.push_back(auxv_t(M5_AT_CLKTCK, 0x64)); +#endif // For statically linked executables, this is the virtual address of the // program header tables if they appear in the executable image auxv.push_back(auxv_t(M5_AT_PHDR, elfObject->programHeaderTable())); @@ -227,6 +233,7 @@ auxv.push_back(auxv_t(M5_AT_EUID, euid())); auxv.push_back(auxv_t(M5_AT_GID, gid())); auxv.push_back(auxv_t(M5_AT_EGID, egid())); +#if !defined(__FreeBSD__) //Whether to enable "secure mode" in the executable auxv.push_back(auxv_t(M5_AT_SECURE, 0)); @@ -237,6 +244,7 @@ auxv.push_back(auxv_t(M5_AT_EXECFN, 0)); //The string "v71" -- ARM v7 architecture auxv.push_back(auxv_t(M5_AT_PLATFORM, 0)); +#endif } //Figure out how big the initial stack nedes to be