OSDN Git Service

linux-user: Move get_ppc64_abi
authorTom Musta <tommusta@gmail.com>
Wed, 13 Aug 2014 19:04:44 +0000 (14:04 -0500)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 22 Aug 2014 12:06:35 +0000 (15:06 +0300)
commit67d6d829cdc4e76f64162e6ba8861ee527987bd5
tree11a5492cafbf4497c21f012a5baf1253f9704e37
parentd4290c40a4bf297e9af132be81d51bf796882ff2
linux-user: Move get_ppc64_abi

The get_ppc64_abi is used to determine the ELF ABI (i.e. V1 or V2). This
routine is currently implemented in the linux-user/elfload.c file but
is useful in other scenarios.  Move the routine to a more generally
available location (linux-user/ppc/target_cpu.h).

Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/elfload.c
linux-user/ppc/target_cpu.h