libunwind: untested attempt to fix sparc64 build
sparc64 is the only architecture currently using the DWARF unwinder from GCC 4.2.1. Old GCC and related libraries are being removed soon; absent other changes sparc64 would be left with no unwinder when that happens. Instead, commit these changes which should at least allow the LLVM unwinder to build. Someone with access to the obolete sparc64 hardware supported by FreeBSD will need to test the result. PR: 233405 Submitted by: cem
This commit is contained in:
parent
f10405323a
commit
7cf3f9952d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356513
@ -124,7 +124,7 @@
|
||||
#define _LIBUNWIND_TARGET_SPARC 1
|
||||
#define _LIBUNWIND_HIGHEST_DWARF_REGISTER _LIBUNWIND_HIGHEST_DWARF_REGISTER_SPARC
|
||||
#define _LIBUNWIND_CONTEXT_SIZE 16
|
||||
#define _LIBUNWIND_CURSOR_SIZE 23
|
||||
#define _LIBUNWIND_CURSOR_SIZE 28
|
||||
# else
|
||||
# error "Unsupported architecture."
|
||||
# endif
|
||||
|
@ -104,7 +104,8 @@
|
||||
(!defined(__APPLE__) && defined(__arm__)) || \
|
||||
(defined(__arm64__) || defined(__aarch64__)) || \
|
||||
defined(__mips__) || \
|
||||
defined(__riscv)
|
||||
defined(__riscv) || \
|
||||
defined(__sparc__)
|
||||
#if !defined(_LIBUNWIND_BUILD_SJLJ_APIS)
|
||||
#define _LIBUNWIND_BUILD_ZERO_COST_APIS
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user