Commit 27524dc3600774e8c1a5cf54a4c41c6e78c8d535

Authored by bellard
1 parent 70499c98

sparc64_[get|set]_context are not meaningful in abi32 mode


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3606 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 0 deletions
linux-user/main.c
@@ -641,6 +641,7 @@ void cpu_loop (CPUSPARCState *env) @@ -641,6 +641,7 @@ void cpu_loop (CPUSPARCState *env)
641 queue_signal(info.si_signo, &info); 641 queue_signal(info.si_signo, &info);
642 } 642 }
643 break; 643 break;
  644 +#ifndef TARGET_ABI32
644 case 0x16e: 645 case 0x16e:
645 flush_windows(env); 646 flush_windows(env);
646 sparc64_get_context(env); 647 sparc64_get_context(env);
@@ -650,6 +651,7 @@ void cpu_loop (CPUSPARCState *env) @@ -650,6 +651,7 @@ void cpu_loop (CPUSPARCState *env)
650 sparc64_set_context(env); 651 sparc64_set_context(env);
651 break; 652 break;
652 #endif 653 #endif
  654 +#endif
653 case EXCP_INTERRUPT: 655 case EXCP_INTERRUPT:
654 /* just indicate that signals should be handled asap */ 656 /* just indicate that signals should be handled asap */
655 break; 657 break;