Set real values for context/cursor sizes for RISC-V to prevent static

assertions.

Reviewed by:	emaste
Sponsored by:	DARPA, AFRL
This commit is contained in:
br 2016-07-22 14:57:26 +00:00
parent bebfa265c8
commit bdf316b52f

View File

@ -50,8 +50,8 @@
# define _LIBUNWIND_MAX_REGISTER 32
# elif defined(__riscv__)
# define _LIBUNWIND_TARGET_RISCV 1
# define _LIBUNWIND_CONTEXT_SIZE 128 /* XXX */
# define _LIBUNWIND_CURSOR_SIZE 140 /* XXX */
# define _LIBUNWIND_CONTEXT_SIZE 64
# define _LIBUNWIND_CURSOR_SIZE 76
# define _LIBUNWIND_MAX_REGISTER 96
# else
# error "Unsupported architecture."