revert r356513: libunwind: untested attempt to fix sparc64 build

The patch is untested and is almost certainly insufficient. Per the
author's request, revert until someone with access to sparc64 hardware
can test and report.
This commit is contained in:
Ed Maste 2020-01-09 14:10:11 +00:00
parent 693d381624
commit 8e4aef429a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356552
2 changed files with 2 additions and 3 deletions

View File

@ -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 28
#define _LIBUNWIND_CURSOR_SIZE 23
# else
# error "Unsupported architecture."
# endif

View File

@ -104,8 +104,7 @@
(!defined(__APPLE__) && defined(__arm__)) || \
(defined(__arm64__) || defined(__aarch64__)) || \
defined(__mips__) || \
defined(__riscv) || \
defined(__sparc__)
defined(__riscv)
#if !defined(_LIBUNWIND_BUILD_SJLJ_APIS)
#define _LIBUNWIND_BUILD_ZERO_COST_APIS
#endif