Add Aarch64 SVE compatibility macros
authorAlan Hayward <alan.hayward@arm.com>
Thu, 14 Jun 2018 09:10:03 +0000 (10:10 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Mon, 18 Jun 2018 09:02:56 +0000 (10:02 +0100)
commit17a1cc89b5706f0ad8142ab85d62bce33249e905
tree7ca8fe7fe92ccaa4b2175085801b03338b74ee54
parent0fe3a558306ba4792c96e7258bd7209a206e2867
Add Aarch64 SVE compatibility macros

This header provides compatibility support for SVE allow building
even when the underlying host system lacks support for SVE.
If the binary is then run on an SVE-enabled kernel then support
will automatically be available.

gdb/
* nat/aarch64-sve-linux-sigcontext.h: New file.
* nat/aarch64-sve-linux-ptrace.h (SVE_VQ_BYTES): Move to
new files.
(SVE_VQ_MIN): Likewise.
(SVE_VQ_MAX): Likewise.
(SVE_VL_MIN): Likewise.
(SVE_VL_MAX): Likewise.
(SVE_NUM_ZREGS): Likewise.
(SVE_NUM_PREGS): Likewise.
(sve_vl_valid): Likewise.
(struct user_sve_header): Likewise.
gdb/ChangeLog
gdb/nat/aarch64-sve-linux-ptrace.h
gdb/nat/aarch64-sve-linux-sigcontext.h [new file with mode: 0644]