diff options
author | James Hogan <james.hogan@imgtec.com> | 2014-03-25 21:47:28 +0000 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2014-03-26 14:11:39 +0200 |
commit | ad1c7e0faac82eeb654cba7f99d4e6d88273e0f9 (patch) | |
tree | f2597fe4a65d7f663b61f016817ea231bee2bc69 /linux-user/elfload.c | |
parent | 7f6613cedc59fa849105668ae971dc31004bca1c (diff) | |
download | qemu-ad1c7e0faac82eeb654cba7f99d4e6d88273e0f9.zip qemu-ad1c7e0faac82eeb654cba7f99d4e6d88273e0f9.tar.gz qemu-ad1c7e0faac82eeb654cba7f99d4e6d88273e0f9.tar.bz2 |
linux-user: Correct DLINFO_ITEMS
Commit a07c67dfccb1 (Implement AT_CLKTCK.) back in March 2008 added a
new auxvec entry but didn't increment DLINFO_ITEMS, so it's been out of
sync ever since.
Bump it up to 14 so that it matches the number of NEW_AUX_ENT's that
need to be counted in create_elf_tables().
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Riku Voipio <riku.voipio@iki.fi>
Cc: Paul Brook <paul@codesourcery.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/elfload.c')
-rw-r--r-- | linux-user/elfload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 99a2c58..d2380b6 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -1076,7 +1076,7 @@ struct exec #define TARGET_ELF_PAGESTART(_v) ((_v) & ~(unsigned long)(TARGET_ELF_EXEC_PAGESIZE-1)) #define TARGET_ELF_PAGEOFFSET(_v) ((_v) & (TARGET_ELF_EXEC_PAGESIZE-1)) -#define DLINFO_ITEMS 13 +#define DLINFO_ITEMS 14 static inline void memcpy_fromfs(void * to, const void * from, unsigned long n) { |