mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-22 19:43:42 +01:00
[PPC64] Get "make check" to work on PPC64 Linux. Add a README entry
describing the expected results.
This commit is contained in:
parent
3e24581adc
commit
32e2187fab
5 changed files with 20 additions and 3 deletions
5
README
5
README
|
@ -168,6 +168,11 @@ only test programs that are known to work at this time are:
|
|||
tests/Gtest-resume-sig
|
||||
tests/Ltest-resume-sig
|
||||
|
||||
** Expected results on PPC64 Linux
|
||||
|
||||
"make check" should run with no more than 10 out of 24 tests failed.
|
||||
|
||||
|
||||
* Performance Testing
|
||||
|
||||
This distribution includes a few simple performance tests which give
|
||||
|
|
|
@ -216,8 +216,10 @@ libunwind_la_SOURCES_ppc64 = $(libunwind_la_SOURCES_ppc64_common) \
|
|||
$(libunwind_la_SOURCES_local) \
|
||||
$(dwarf_SOURCES_local) \
|
||||
dwarf/Lfind_proc_info-lsb.c \
|
||||
ppc64/Lcreate_addr_space.c ppc64/Lget_save_loc.c \
|
||||
ppc64/Lglobal.c ppc64/Linit.c ppc64/Linit_local.c \
|
||||
ppc64/Lis_signal_frame.c ppc64/Lget_proc_info.c ppc64/Lregs.c \
|
||||
ppc64/Linit_remote.c ppc64/Lis_signal_frame.c \
|
||||
ppc64/Lget_proc_info.c ppc64/Lregs.c \
|
||||
ppc64/Lresume.c ppc64/Lstep.c
|
||||
|
||||
# The list of files that go into libunwind-ppc64:
|
||||
|
|
|
@ -23,3 +23,4 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|||
|
||||
.globl _UI_siglongjmp_cont
|
||||
|
||||
_UI_siglongjmp_cont:
|
||||
|
|
|
@ -145,7 +145,7 @@ _UPTi_find_unwind_table (struct UPT_info *ui, unw_addr_space_t as,
|
|||
return &ui->di_cache;
|
||||
}
|
||||
|
||||
#elif UNW_TARGET_X86 || UNW_TARGET_X86_64 || UNW_TARGET_HPPA
|
||||
#elif UNW_TARGET_X86 || UNW_TARGET_X86_64 || UNW_TARGET_HPPA || UNW_TARGET_PPC64
|
||||
|
||||
#include "dwarf-eh.h"
|
||||
#include "dwarf_i.h"
|
||||
|
|
|
@ -46,7 +46,16 @@ flush_cache:
|
|||
.callinfo
|
||||
bv %r0(%rp)
|
||||
.procend
|
||||
|
||||
#elif defined(__powerpc64__)
|
||||
# warning IMPLEMENT ME!!
|
||||
.globl flush_cache
|
||||
flush_cache:
|
||||
lwz 11, 0(1) ;
|
||||
lwz 0, 4(11) ;
|
||||
mtlr 0 ;
|
||||
lwz 31, -4(11) ;
|
||||
mr 1, 11 ;
|
||||
blr
|
||||
#else
|
||||
# error Need flush_cache code for this architecture.
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue