mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
linux-user: Remove the deprecated ppc64abi32 target
It's likely broken, and nobody cared for picking it up again during the deprecation phase, so let's remove this now. Since this is the last entry in deprecated_targets_list, remove the related code in the configure script, too. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Acked-by: Cédric Le Goater <clg@kaod.org> Acked-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20211215084958.185214-1-thuth@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20220112112722.3641051-32-alex.bennee@linaro.org>
This commit is contained in:
parent
6f15c076da
commit
74154d7e4a
12 changed files with 21 additions and 88 deletions
|
@ -477,9 +477,7 @@ void setup_rt_frame(int sig, struct target_sigaction *ka,
|
|||
int i, err = 0;
|
||||
#if defined(TARGET_PPC64)
|
||||
struct target_sigcontext *sc = 0;
|
||||
#if !defined(TARGET_ABI32)
|
||||
struct image_info *image = ((TaskState *)thread_cpu->opaque)->info;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
rt_sf_addr = get_sigframe(ka, env, sizeof(*rt_sf));
|
||||
|
@ -530,7 +528,7 @@ void setup_rt_frame(int sig, struct target_sigaction *ka,
|
|||
env->gpr[5] = (target_ulong) h2g(&rt_sf->uc);
|
||||
env->gpr[6] = (target_ulong) h2g(rt_sf);
|
||||
|
||||
#if defined(TARGET_PPC64) && !defined(TARGET_ABI32)
|
||||
#if defined(TARGET_PPC64)
|
||||
if (get_ppc64_abi(image) < 2) {
|
||||
/* ELFv1 PPC64 function pointers are pointers to OPD entries. */
|
||||
struct target_func_ptr *handler =
|
||||
|
@ -562,7 +560,7 @@ sigsegv:
|
|||
|
||||
}
|
||||
|
||||
#if !defined(TARGET_PPC64) || defined(TARGET_ABI32)
|
||||
#if !defined(TARGET_PPC64)
|
||||
long do_sigreturn(CPUPPCState *env)
|
||||
{
|
||||
struct target_sigcontext *sc = NULL;
|
||||
|
@ -575,12 +573,9 @@ long do_sigreturn(CPUPPCState *env)
|
|||
if (!lock_user_struct(VERIFY_READ, sc, sc_addr, 1))
|
||||
goto sigsegv;
|
||||
|
||||
#if defined(TARGET_PPC64)
|
||||
set.sig[0] = sc->oldmask + ((uint64_t)(sc->_unused[3]) << 32);
|
||||
#else
|
||||
__get_user(set.sig[0], &sc->oldmask);
|
||||
__get_user(set.sig[1], &sc->_unused[3]);
|
||||
#endif
|
||||
|
||||
target_to_host_sigset_internal(&blocked, &set);
|
||||
set_sigmask(&blocked);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue