aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-26 23:31:55 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-26 23:31:55 +0000
commita07c67dfccb1e234cd92cfb459caee802bc0e0dd (patch)
tree3e1b08d74e22706bee754247c05ef95db2be3fed
parent44de1b33694ae45431743000fdd8f719a0b6e1cf (diff)
downloadqemu-a07c67dfccb1e234cd92cfb459caee802bc0e0dd.zip
qemu-a07c67dfccb1e234cd92cfb459caee802bc0e0dd.tar.gz
qemu-a07c67dfccb1e234cd92cfb459caee802bc0e0dd.tar.bz2
Implement AT_CLKTCK.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4113 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--linux-user/elfload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index cde3c49..ca0023e 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -805,6 +805,7 @@ static abi_ulong create_elf_tables(abi_ulong p, int argc, int envc,
NEW_AUX_ENT(AT_GID, (abi_ulong) getgid());
NEW_AUX_ENT(AT_EGID, (abi_ulong) getegid());
NEW_AUX_ENT(AT_HWCAP, (abi_ulong) ELF_HWCAP);
+ NEW_AUX_ENT(AT_CLKTCK, (abi_ulong) sysconf(_SC_CLK_TCK));
if (k_platform)
NEW_AUX_ENT(AT_PLATFORM, u_platform);
#ifdef ARCH_DLINFO