]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user/elfload.c: Don't use _raw accessor functions
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 20 Jan 2015 15:19:33 +0000 (15:19 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 20 Jan 2015 15:19:33 +0000 (15:19 +0000)
commit2ccf97ec0f1b7a62a3220064f305454f3932c55a
tree2c2c226cc82b21d780179a6609bd7618b6950919
parenteb513f82f04fab442cdef9db698dafc852275f7f
linux-user/elfload.c: Don't use _raw accessor functions

The _raw accessor functions are an implementation detail that has
leaked out to some callsites. Use get_user_u64() instead of ldq_raw().

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1421334118-3287-5-git-send-email-peter.maydell@linaro.org
linux-user/elfload.c