Commit a07c67dfccb1e234cd92cfb459caee802bc0e0dd
1 parent
44de1b33
Implement AT_CLKTCK.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4113 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
0 deletions
linux-user/elfload.c
... | ... | @@ -805,6 +805,7 @@ static abi_ulong create_elf_tables(abi_ulong p, int argc, int envc, |
805 | 805 | NEW_AUX_ENT(AT_GID, (abi_ulong) getgid()); |
806 | 806 | NEW_AUX_ENT(AT_EGID, (abi_ulong) getegid()); |
807 | 807 | NEW_AUX_ENT(AT_HWCAP, (abi_ulong) ELF_HWCAP); |
808 | + NEW_AUX_ENT(AT_CLKTCK, (abi_ulong) sysconf(_SC_CLK_TCK)); | |
808 | 809 | if (k_platform) |
809 | 810 | NEW_AUX_ENT(AT_PLATFORM, u_platform); |
810 | 811 | #ifdef ARCH_DLINFO | ... | ... |