* linux-ppc-low.c (ppc_arch_setup): Reset ppc_hwcap after the
initial call to init_register_ppc64.
This commit is contained in:
parent
131eb6b75e
commit
c9b2f845a5
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-04-21 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* linux-ppc-low.c (ppc_arch_setup): Reset ppc_hwcap after the
|
||||
initial call to init_register_ppc64.
|
||||
|
||||
2008-04-21 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* configure.srv (powerpc64-*-linux*, powerpc-*-linux*): Merge into single
|
||||
|
|
|
@ -223,8 +223,11 @@ ppc_arch_setup (void)
|
|||
#ifdef __powerpc64__
|
||||
long msr;
|
||||
|
||||
/* On a 64-bit host, assume 64-bit inferior process. */
|
||||
/* On a 64-bit host, assume 64-bit inferior process with no
|
||||
AltiVec registers. Reset ppc_hwcap to ensure that the
|
||||
collect_register call below does not fail. */
|
||||
init_registers_ppc64 ();
|
||||
ppc_hwcap = 0;
|
||||
|
||||
/* Only if the high bit of the MSR is set, we actually have
|
||||
a 64-bit inferior. */
|
||||
|
|
Loading…
Reference in a new issue