Date: Fri, 22 Jul 2016 14:57:26 +0000 (UTC) From: Ruslan Bukin <br@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r303187 - head/contrib/llvm/projects/libunwind/include Message-ID: <201607221457.u6MEvQro037018@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: br Date: Fri Jul 22 14:57:26 2016 New Revision: 303187 URL: https://svnweb.freebsd.org/changeset/base/303187 Log: Set real values for context/cursor sizes for RISC-V to prevent static assertions. Reviewed by: emaste Sponsored by: DARPA, AFRL Modified: head/contrib/llvm/projects/libunwind/include/__libunwind_config.h Modified: head/contrib/llvm/projects/libunwind/include/__libunwind_config.h ============================================================================== --- head/contrib/llvm/projects/libunwind/include/__libunwind_config.h Fri Jul 22 14:39:55 2016 (r303186) +++ head/contrib/llvm/projects/libunwind/include/__libunwind_config.h Fri Jul 22 14:57:26 2016 (r303187) @@ -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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607221457.u6MEvQro037018>