1
0
Fork 0
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:
Jose Flavio Aguilar Paulino 2007-08-27 09:11:37 -06:00 committed by David Mosberger-Tang
parent 3e24581adc
commit 32e2187fab
5 changed files with 20 additions and 3 deletions

5
README
View file

@ -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

View file

@ -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:

View file

@ -23,3 +23,4 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
.globl _UI_siglongjmp_cont
_UI_siglongjmp_cont:

View file

@ -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"

View file

@ -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