gdbserver: Ensure AT_HWCAP2 is defined
authorAlan Hayward <alan.hayward@arm.com>
Thu, 28 Mar 2019 11:23:25 +0000 (11:23 +0000)
committerAlan Hayward <alan.hayward@arm.com>
Thu, 28 Mar 2019 11:45:06 +0000 (11:45 +0000)
commit69f4c9cc037f2226982a21fae63ffbc5e866fcca
tree049777e8958e700a515320bff8462410689ce841
parent242a115951fe55e62036bac555017eb817ca1aa6
gdbserver: Ensure AT_HWCAP2 is defined

When using older compilers, AT_HWCAP2 may not be be defined.
It is defined in elf/common.h, however including this in
gdbserver/linux-low.c causes conflicts.

Manually add the define if it does not exist.

gdb/gdbserver/ChangeLog:

* linux-low.c (AT_HWCAP2): Add define if not already included.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c