* ppc-linux-nat.c (ppc_linux_get_hwcap): Really get AT_HWCAP.

This commit is contained in:
Ulrich Weigand 2008-08-12 18:20:14 +00:00
parent a6f3e723d3
commit fcb09a755e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-08-12 Ulrich Weigand <uweigand@de.ibm.com>
* ppc-linux-nat.c (ppc_linux_get_hwcap): Really get AT_HWCAP.
2008-08-12 Pedro Alves <pedro@codesourcery.com>
Add no-ack mode to the remote protocol --- optionally stop ACKing

View File

@ -835,7 +835,7 @@ unsigned long ppc_linux_get_hwcap (void)
{
CORE_ADDR field;
if (target_auxv_search (&current_target, AT_PLATFORM, &field))
if (target_auxv_search (&current_target, AT_HWCAP, &field))
return (unsigned long) field;
return 0;