ppc64-linux-user: Properly interpret the entry function descriptor.
authorRichard Henderson <rth@twiddle.net>
Wed, 26 Oct 2011 16:59:17 +0000 (09:59 -0700)
committerRiku Voipio <riku.voipio@linaro.org>
Thu, 27 Oct 2011 11:43:30 +0000 (14:43 +0300)
commit5ee003e09bcdbff787ab37ef53e40fa49d4a3f83
tree3ed292a712523326bff5f6ad3b459d4fc374e92c
parentb4b33457958e89b480c1db044aeede80cbe43a6d
ppc64-linux-user: Properly interpret the entry function descriptor.

Don't confuse the load address with the load bias.  They're equal
for ET_DYN objects (i.e. ld.so) but different for ET_EXEC objects
(i.e. statically linked).

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/elfload.c