mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Patch 2 in a series of cleanup patches from Will Schmidt
Adjust the badjump2 test for ppc64le/ABIV2. Under the ABIV2 there is no function descriptor, so the fn[] setup does not apply. This fixes the badjump2 test failure as seen on ppc64le. This patch fixes Vagrind bugzilla 347322. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15184
This commit is contained in:
parent
8933335653
commit
5b55e14b95
@ -35,7 +35,7 @@ int main(void)
|
||||
|
||||
if (setjmp(myjmpbuf) == 0) {
|
||||
// Jump to zero; will cause seg fault
|
||||
#if defined(__powerpc64__)
|
||||
#if defined(__powerpc64__) && (_CALL_ELF != 2)
|
||||
unsigned long int fn[3];
|
||||
fn[0] = 0;
|
||||
fn[1] = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user